181ad6265SDimitry Andric// DXIL doesn't actually use registers, but this gets the boilerplate code 281ad6265SDimitry Andric// generated through tablegen. 3*bdd1243dSDimitry Andriclet Namespace = "dxil" in { 4*bdd1243dSDimitry Andricdef DXIL : Register<"dxil">; 5*bdd1243dSDimitry Andricdef DXILClass : RegisterClass<"dxil", [i32], 32, (add DXIL)>; 681ad6265SDimitry Andric} 781ad6265SDimitry Andric 881ad6265SDimitry Andricclass DXILInst : Instruction { 9*bdd1243dSDimitry Andric let Namespace = "dxil"; 10*bdd1243dSDimitry Andric let DecoderNamespace = "dxil"; 1181ad6265SDimitry Andric 1281ad6265SDimitry Andric dag OutOperandList = (outs); 1381ad6265SDimitry Andric dag InOperandList = (ins); 1481ad6265SDimitry Andric let AsmString = "dummy"; 1581ad6265SDimitry Andric let Pattern = []; 1681ad6265SDimitry Andric} 1781ad6265SDimitry Andric 1881ad6265SDimitry Andricdef DummyInst : DXILInst; 19