Lines Matching refs:MachineOperand

35 #include "llvm/CodeGen/MachineOperand.h"
67 static inline bool isIdenticalOp(const MachineOperand &MO1,
68 const MachineOperand &MO2);
72 static bool isSimilarDispOp(const MachineOperand &MO1,
73 const MachineOperand &MO2);
83 MemOpKey(const MachineOperand *Base, const MachineOperand *Scale,
84 const MachineOperand *Index, const MachineOperand *Segment,
85 const MachineOperand *Disp)
107 const MachineOperand *Operands[4];
110 const MachineOperand *Disp;
119 using PtrInfo = DenseMapInfo<const MachineOperand *>;
148 case MachineOperand::MO_Immediate:
150 case MachineOperand::MO_ConstantPoolIndex:
151 case MachineOperand::MO_JumpTableIndex:
154 case MachineOperand::MO_ExternalSymbol:
157 case MachineOperand::MO_GlobalAddress:
160 case MachineOperand::MO_BlockAddress:
163 case MachineOperand::MO_MCSymbol:
166 case MachineOperand::MO_MachineBasicBlock:
201 static inline bool isIdenticalOp(const MachineOperand &MO1,
202 const MachineOperand &MO2) {
207 static bool isValidDispOp(const MachineOperand &MO) {
213 static bool isSimilarDispOp(const MachineOperand &MO1,
214 const MachineOperand &MO2) {
401 const MachineOperand &Op1 = MI1.getOperand(N1 + X86::AddrDisp);
402 const MachineOperand &Op2 = MI2.getOperand(N2 + X86::AddrDisp);
588 for (MachineOperand &Op : MI.getDebugOperandsForReg(OldReg)) {
605 SmallVector<MachineOperand, 4> NewOps;
608 auto replaceOldReg = [OldReg, NewReg](const MachineOperand &Op) {
610 return MachineOperand::CreateReg(NewReg, false, false, false, false,
615 for (const MachineOperand &Op : MI.debug_operands())
659 MachineOperand &MO = *MRI->use_begin(LastVReg);
680 MachineOperand &Op = MI.getOperand(MemOpNo + X86::AddrDisp);