
We have namespaces `DXIL` and `dxil`, which is just confusing. This renames `DXIL` -> `dxil` making everything consistent. While the LLVM coding standards don't have a clear direction here, I chose lower case because by my current unscientific count there are more places where we had the lowercase namespace than the uppercase.
19 lines
456 B
TableGen
19 lines
456 B
TableGen
// DXIL doesn't actually use registers, but this gets the boilerplate code
|
|
// generated through tablegen.
|
|
let Namespace = "dxil" in {
|
|
def DXIL : Register<"dxil">;
|
|
def DXILClass : RegisterClass<"dxil", [i32], 32, (add DXIL)>;
|
|
}
|
|
|
|
class DXILInst : Instruction {
|
|
let Namespace = "dxil";
|
|
let DecoderNamespace = "dxil";
|
|
|
|
dag OutOperandList = (outs);
|
|
dag InOperandList = (ins);
|
|
let AsmString = "dummy";
|
|
let Pattern = [];
|
|
}
|
|
|
|
def DummyInst : DXILInst;
|