Lines Matching refs:MachineOperand

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, in MemOpKey()
84 const MachineOperand *Index, const MachineOperand *Segment, in MemOpKey()
85 const MachineOperand *Disp) in MemOpKey()
107 const MachineOperand *Operands[4];
110 const MachineOperand *Disp;
119 using PtrInfo = DenseMapInfo<const MachineOperand *>;
148 case MachineOperand::MO_Immediate: in getHashValue()
150 case MachineOperand::MO_ConstantPoolIndex: in getHashValue()
151 case MachineOperand::MO_JumpTableIndex: in getHashValue()
154 case MachineOperand::MO_ExternalSymbol: in getHashValue()
157 case MachineOperand::MO_GlobalAddress: in getHashValue()
160 case MachineOperand::MO_BlockAddress: in getHashValue()
163 case MachineOperand::MO_MCSymbol: in getHashValue()
166 case MachineOperand::MO_MachineBasicBlock: in getHashValue()
201 static inline bool isIdenticalOp(const MachineOperand &MO1, in isIdenticalOp()
202 const MachineOperand &MO2) { in isIdenticalOp()
208 static bool isValidDispOp(const MachineOperand &MO) { in isValidDispOp()
214 static bool isSimilarDispOp(const MachineOperand &MO1, in isSimilarDispOp()
215 const MachineOperand &MO2) { in isSimilarDispOp()
403 const MachineOperand &Op1 = MI1.getOperand(N1 + X86::AddrDisp); in getAddrDispShift()
404 const MachineOperand &Op2 = MI2.getOperand(N2 + X86::AddrDisp); in getAddrDispShift()
590 for (MachineOperand &Op : MI.getDebugOperandsForReg(OldReg)) { in replaceDebugValue()
607 SmallVector<MachineOperand, 4> NewOps; in replaceDebugValue()
610 auto replaceOldReg = [OldReg, NewReg](const MachineOperand &Op) { in replaceDebugValue()
612 return MachineOperand::CreateReg(NewReg, false, false, false, false, in replaceDebugValue()
617 for (const MachineOperand &Op : MI.debug_operands()) in replaceDebugValue()
656 for (MachineOperand &MO : in removeRedundantLEAs()
678 MachineOperand &Op = MI.getOperand(MemOpNo + X86::AddrDisp); in removeRedundantLEAs()