mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-06-17 03:29:52 +00:00
29 lines
1.1 KiB
TableGen
29 lines
1.1 KiB
TableGen
|
//WebAssemblyRegisterInfo.td-Describe the WebAssembly Registers -*- tablegen -*-
|
||
|
//
|
||
|
// The LLVM Compiler Infrastructure
|
||
|
//
|
||
|
// This file is distributed under the University of Illinois Open Source
|
||
|
// License. See LICENSE.TXT for details.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
//
|
||
|
// This file describes the WebAssembly register classes and some nominal
|
||
|
// physical registers.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
|
||
|
class WebAssemblyReg<string n> : Register<n> {
|
||
|
let Namespace = "WebAssembly";
|
||
|
}
|
||
|
|
||
|
class WebAssemblyRegClass<list<ValueType> regTypes, int alignment, dag regList>
|
||
|
: RegisterClass<"WebAssembly", regTypes, alignment, regList>;
|
||
|
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
// Registers
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
// Register classes
|
||
|
//===----------------------------------------------------------------------===//
|