brintos

brintos / llvm-project-archived public Read only

0
0
Text · 456 B · ea936b2 Raw
19 lines · plain
1// DXIL doesn't actually use registers, but this gets the boilerplate code2// 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