Lines Matching refs:MO1
55 static inline bool isIdenticalOp(const MachineOperand &MO1,
60 static bool isSimilarDispOp(const MachineOperand &MO1,
181 static inline bool isIdenticalOp(const MachineOperand &MO1, in isIdenticalOp() argument
183 return MO1.isIdenticalTo(MO2) && in isIdenticalOp()
184 (!MO1.isReg() || in isIdenticalOp()
185 !TargetRegisterInfo::isPhysicalRegister(MO1.getReg())); in isIdenticalOp()
195 static bool isSimilarDispOp(const MachineOperand &MO1, in isSimilarDispOp() argument
197 assert(isValidDispOp(MO1) && isValidDispOp(MO2) && in isSimilarDispOp()
199 return (MO1.isImm() && MO2.isImm()) || in isSimilarDispOp()
200 (MO1.isCPI() && MO2.isCPI() && MO1.getIndex() == MO2.getIndex()) || in isSimilarDispOp()
201 (MO1.isJTI() && MO2.isJTI() && MO1.getIndex() == MO2.getIndex()) || in isSimilarDispOp()
202 (MO1.isSymbol() && MO2.isSymbol() && in isSimilarDispOp()
203 MO1.getSymbolName() == MO2.getSymbolName()) || in isSimilarDispOp()
204 (MO1.isGlobal() && MO2.isGlobal() && in isSimilarDispOp()
205 MO1.getGlobal() == MO2.getGlobal()) || in isSimilarDispOp()
206 (MO1.isBlockAddress() && MO2.isBlockAddress() && in isSimilarDispOp()
207 MO1.getBlockAddress() == MO2.getBlockAddress()) || in isSimilarDispOp()
208 (MO1.isMCSymbol() && MO2.isMCSymbol() && in isSimilarDispOp()
209 MO1.getMCSymbol() == MO2.getMCSymbol()) || in isSimilarDispOp()
210 (MO1.isMBB() && MO2.isMBB() && MO1.getMBB() == MO2.getMBB()); in isSimilarDispOp()