xref: /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILStubs.td (revision 5f4c09dd85bff675e0ca63c55ea3c517e0fddfcc)
1// DXIL doesn't actually use registers, but this gets the boilerplate code
2// generated through tablegen.
3let Namespace = "dxil" in {
4def DXIL : Register<"dxil">;
5def DXILClass : RegisterClass<"dxil", [i32], 32, (add DXIL)>;
6}
7
8class DXILInst : Instruction {
9  let Namespace = "dxil";
10  let DecoderNamespace = "dxil";
11
12  dag OutOperandList = (outs);
13  dag InOperandList =  (ins);
14  let AsmString = "dummy";
15  let Pattern = [];
16}
17
18def DummyInst : DXILInst;
19