Displaying 1 result from an estimated 1 matches for "printmanyoperand".
Did you mean:
printmanyoperands
2005 Aug 11
1
[LLVMdev] Define an instruction with many operands
...diate (i32) encodes how to add many MachineOperands
to the MachineInstr object (With the help of functions in
X86InstrBuilder.h).
// similar to X86MemOperand in X86InstrInfo.td !!
class ManyOperands : Operand<i32> {
let NumMIOperands = 100; // a very large number
let PrintMethod = "printManyOperands";
}
def MO : ManyOperands;
def FOOBAR: Instruction<(ops MO:$operands), "foobar {$operands}">;
(2) 'Collapse' all operands in .td file. Contrary to method (1), each
operand is explicitly specified.
def FOOBAR: Instruction<(ops R32:$src0, R16:$src1, ... ), "fo...