Lines Matching refs:Other
170 bool MachineOperand::isIdenticalTo(const MachineOperand &Other) const {
171 if (getType() != Other.getType() ||
172 getTargetFlags() != Other.getTargetFlags())
177 return getReg() == Other.getReg() && isDef() == Other.isDef() &&
178 getSubReg() == Other.getSubReg();
180 return getImm() == Other.getImm();
182 return getCImm() == Other.getCImm();
184 return getFPImm() == Other.getFPImm();
186 return getMBB() == Other.getMBB();
188 return getIndex() == Other.getIndex();
191 return getIndex() == Other.getIndex() && getOffset() == Other.getOffset();
193 return getIndex() == Other.getIndex();
195 return getGlobal() == Other.getGlobal() && getOffset() == Other.getOffset();
197 return !strcmp(getSymbolName(), Other.getSymbolName()) &&
198 getOffset() == Other.getOffset();
200 return getBlockAddress() == Other.getBlockAddress() &&
201 getOffset() == Other.getOffset();
203 return getRegMask() == Other.getRegMask();
205 return getMCSymbol() == Other.getMCSymbol();
207 return getMetadata() == Other.getMetadata();
770 bool MachineInstr::isIdenticalTo(const MachineInstr *Other,
774 if (Other->getOpcode() != getOpcode() ||
775 Other->getNumOperands() != getNumOperands())
782 MachineBasicBlock::const_instr_iterator I2 = *Other;
783 MachineBasicBlock::const_instr_iterator E2= Other->getParent()->instr_end();
794 const MachineOperand &OMO = Other->getOperand(i);
827 if (!getDebugLoc().isUnknown() && !Other->getDebugLoc().isUnknown()
828 && getDebugLoc() != Other->getDebugLoc())
1097 /// tieOperands - Mark operands at DefIdx and UseIdx as tied to each other.