Lines Matching refs:MachineOperand
9 #include "llvm/CodeGen/MachineOperand.h"
37 // Creating a MachineOperand to change it to TargetIndex
38 MachineOperand MO = MachineOperand::CreateImm(50);
41 // MachineOperand.
64 MachineOperand MO = MachineOperand::CreateRegMask(Dummy);
67 // MachineOperand.
71 // Print a MachineOperand containing a RegMask. Here we check that without a
80 // Create a MachineOperand with RegNum=1 and SubReg=5.
81 MachineOperand MO = MachineOperand::CreateReg(
87 // MachineOperand.
92 // Print a MachineOperand containing a SubReg. Here we check that without a
105 // Create a MachineOperand with an Imm=(UINT64_MAX + 1)
106 MachineOperand MO = MachineOperand::CreateCImm(CImm);
109 // MachineOperand.
114 // Print a MachineOperand containing a SubReg. Here we check that without a
123 // Create a MachineOperand with an immediate and print it as a subreg index.
124 MachineOperand MO = MachineOperand::CreateImm(3);
127 // MachineOperand.
131 // Print a MachineOperand containing a SubRegIdx. Here we check that without a
135 MachineOperand::printSubRegIdx(OS, MO.getImm(), nullptr);
140 // Create a MachineOperand with a constant pool index and print it.
141 MachineOperand MO = MachineOperand::CreateCPI(0, 8);
144 // MachineOperand.
149 // Print a MachineOperand containing a constant pool index and a positive
162 // Print a MachineOperand containing a constant pool index and a negative
172 // Create a MachineOperand with a target index and print it.
173 MachineOperand MO = MachineOperand::CreateTargetIndex(0, 8);
176 // MachineOperand.
181 // Print a MachineOperand containing a target index and a positive offset.
193 // Print a MachineOperand containing a target index and a negative offset.
202 // Create a MachineOperand with a jump-table index and print it.
203 MachineOperand MO = MachineOperand::CreateJTI(3);
206 // MachineOperand.
210 // Print a MachineOperand containing a jump-table index.
218 // Create a MachineOperand with an external symbol and print it.
219 MachineOperand MO = MachineOperand::CreateES("foo");
222 // MachineOperand.
226 // Print a MachineOperand containing an external symbol and no offset.
237 // Print a MachineOperand containing an external symbol and a positive offset.
247 // Print a MachineOperand containing an external symbol and a negative offset.
262 // Create a MachineOperand with a global address and a positive offset and
264 MachineOperand MO = MachineOperand::CreateGA(GV, 12);
267 // MachineOperand.
273 // Print a MachineOperand containing a global address and a positive offset.
283 // Print a MachineOperand containing a global address and a negative offset.
292 // Create a MachineOperand with a register live out list and print it.
294 MachineOperand MO = MachineOperand::CreateRegLiveOut(&Mask);
297 // MachineOperand.
302 // Print a MachineOperand containing a register live out list without a TRI.
317 // Create a MachineOperand with a metadata and print it.
318 MachineOperand MO = MachineOperand::CreateMetadata(Node);
321 // MachineOperand.
326 // Print a MachineOperand containing a metadata node.
340 // Create a MachineOperand with a metadata and print it.
341 MachineOperand MO = MachineOperand::CreateMCSymbol(Sym);
344 // MachineOperand.
349 // Print a MachineOperand containing a metadata node.
356 // Create a MachineOperand with a CFI index but no function and print it.
357 MachineOperand MO = MachineOperand::CreateCFIIndex(8);
360 // MachineOperand.
365 // Print a MachineOperand containing a CFI Index node but no machine function
373 // Create a MachineOperand with a generic intrinsic ID.
374 MachineOperand MO = MachineOperand::CreateIntrinsicID(Intrinsic::bswap);
377 // MachineOperand.
383 // Print a MachineOperand containing a generic intrinsic ID.
391 MO = MachineOperand::CreateIntrinsicID((Intrinsic::ID)-1);
393 // Print a MachineOperand containing a target-specific intrinsic ID but not
402 // Create a MachineOperand with a generic intrinsic ID.
403 MachineOperand MO = MachineOperand::CreatePredicate(CmpInst::ICMP_EQ);
406 // MachineOperand.
411 // Print a MachineOperand containing a int predicate ICMP_EQ.
420 MachineOperand MO1 = MachineOperand::CreateES(SymName1);
421 MachineOperand MO2 = MachineOperand::CreateES(SymName2);