Lines Matching refs:MachineOperand
52 void MachineOperand::AddRegOperandToRegInfo(MachineRegisterInfo *RegInfo) { in AddRegOperandToRegInfo()
64 MachineOperand **Head = &RegInfo->getRegUseDefListHead(getReg()); in AddRegOperandToRegInfo()
85 void MachineOperand::RemoveRegOperandFromRegInfo() { in RemoveRegOperandFromRegInfo()
88 MachineOperand *NextOp = Contents.Reg.Next; in RemoveRegOperandFromRegInfo()
98 void MachineOperand::setReg(unsigned Reg) { in setReg()
117 void MachineOperand::substVirtReg(unsigned Reg, unsigned SubIdx, in substVirtReg()
127 void MachineOperand::substPhysReg(unsigned Reg, const TargetRegisterInfo &TRI) { in substPhysReg()
141 void MachineOperand::ChangeToImmediate(int64_t ImmVal) { in ChangeToImmediate()
155 void MachineOperand::ChangeToRegister(unsigned Reg, bool isDef, bool isImp, in ChangeToRegister()
188 bool MachineOperand::isIdenticalTo(const MachineOperand &Other) const { in isIdenticalTo()
195 case MachineOperand::MO_Register: in isIdenticalTo()
198 case MachineOperand::MO_Immediate: in isIdenticalTo()
200 case MachineOperand::MO_CImmediate: in isIdenticalTo()
202 case MachineOperand::MO_FPImmediate: in isIdenticalTo()
204 case MachineOperand::MO_MachineBasicBlock: in isIdenticalTo()
206 case MachineOperand::MO_FrameIndex: in isIdenticalTo()
208 case MachineOperand::MO_ConstantPoolIndex: in isIdenticalTo()
210 case MachineOperand::MO_JumpTableIndex: in isIdenticalTo()
212 case MachineOperand::MO_GlobalAddress: in isIdenticalTo()
214 case MachineOperand::MO_ExternalSymbol: in isIdenticalTo()
217 case MachineOperand::MO_BlockAddress: in isIdenticalTo()
219 case MachineOperand::MO_MCSymbol: in isIdenticalTo()
221 case MachineOperand::MO_Metadata: in isIdenticalTo()
228 void MachineOperand::print(raw_ostream &OS, const TargetMachine *TM) const { in print()
239 case MachineOperand::MO_Register: in print()
272 case MachineOperand::MO_Immediate: in print()
275 case MachineOperand::MO_CImmediate: in print()
278 case MachineOperand::MO_FPImmediate: in print()
284 case MachineOperand::MO_MachineBasicBlock: in print()
287 case MachineOperand::MO_FrameIndex: in print()
290 case MachineOperand::MO_ConstantPoolIndex: in print()
295 case MachineOperand::MO_JumpTableIndex: in print()
298 case MachineOperand::MO_GlobalAddress: in print()
304 case MachineOperand::MO_ExternalSymbol: in print()
309 case MachineOperand::MO_BlockAddress: in print()
314 case MachineOperand::MO_Metadata: in print()
319 case MachineOperand::MO_MCSymbol: in print()
477 addOperand(MachineOperand::CreateReg(*ImpDefs, true, true)); in addImplicitDefUseOperands()
480 addOperand(MachineOperand::CreateReg(*ImpUses, false, true)); in addImplicitDefUseOperands()
612 void MachineInstr::addOperand(const MachineOperand &Op) { in addOperand()
748 const MachineOperand &MO = getOperand(i); in isIdenticalTo()
749 const MachineOperand &OMO = Other->getOperand(i); in isIdenticalTo()
813 const MachineOperand &MO = getOperand(i); in getNumExplicitOperands()
842 const MachineOperand &FlagMO = getOperand(i); in findInlineAsmFlagIdx()
896 const MachineOperand &MO = getOperand(i); in findRegisterUseOperandIdx()
924 const MachineOperand &MO = getOperand(i); in readsWritesVirtualRegister()
950 const MachineOperand &MO = getOperand(i); in findRegisterDefOperandIdx()
994 const MachineOperand &MO = getOperand(DefOpIdx); in isRegTiedToUseOperand()
1008 const MachineOperand &FMO = getOperand(i); in isRegTiedToUseOperand()
1027 const MachineOperand &MO = getOperand(i); in isRegTiedToUseOperand()
1044 const MachineOperand &MO = getOperand(UseOpIdx); in isRegTiedToDefOperand()
1053 const MachineOperand &UFMO = getOperand(FlagIdx); in isRegTiedToDefOperand()
1063 const MachineOperand &FMO = getOperand(DefIdx); in isRegTiedToDefOperand()
1078 const MachineOperand &MO = getOperand(UseOpIdx); in isRegTiedToDefOperand()
1093 MachineOperand &MO = getOperand(i); in clearKillInfo()
1103 const MachineOperand &MO = MI->getOperand(i); in copyKillDeadInfo()
1107 MachineOperand &MOp = getOperand(j); in copyKillDeadInfo()
1140 MachineOperand &MO = getOperand(i); in substituteRegister()
1147 MachineOperand &MO = getOperand(i); in substituteRegister()
1194 const MachineOperand &MO = getOperand(i); in isSafeToReMat()
1309 const MachineOperand &MO = getOperand(i); in allDefsAreDead()
1323 const MachineOperand &MO = MI->getOperand(i); in copyImplicitOps()
1413 const MachineOperand &MO = getOperand(i); in print()
1570 MachineOperand &MO = getOperand(i); in addRegisterKilled()
1611 addOperand(MachineOperand::CreateReg(IncomingReg, in addRegisterKilled()
1628 MachineOperand &MO = getOperand(i); in addRegisterDead()
1665 addOperand(MachineOperand::CreateReg(IncomingReg, in addRegisterDead()
1676 MachineOperand *MO = findRegisterDefOperand(IncomingReg, false, RegInfo); in addRegisterDefined()
1681 const MachineOperand &MO = getOperand(i); in addRegisterDefined()
1687 addOperand(MachineOperand::CreateReg(IncomingReg, in addRegisterDefined()
1695 MachineOperand &MO = getOperand(i); in setPhysRegsDeadExcept()
1715 const MachineOperand &MO = MI->getOperand(i); in getHashValue()
1719 case MachineOperand::MO_Register: in getHashValue()
1724 case MachineOperand::MO_Immediate: in getHashValue()
1727 case MachineOperand::MO_FrameIndex: in getHashValue()
1728 case MachineOperand::MO_ConstantPoolIndex: in getHashValue()
1729 case MachineOperand::MO_JumpTableIndex: in getHashValue()
1732 case MachineOperand::MO_MachineBasicBlock: in getHashValue()
1735 case MachineOperand::MO_GlobalAddress: in getHashValue()
1738 case MachineOperand::MO_BlockAddress: in getHashValue()
1741 case MachineOperand::MO_MCSymbol: in getHashValue()