Lines Matching refs:MachineOperand
48 void MachineOperand::setReg(unsigned Reg) { in setReg()
68 void MachineOperand::substVirtReg(unsigned Reg, unsigned SubIdx, in substVirtReg()
78 void MachineOperand::substPhysReg(unsigned Reg, const TargetRegisterInfo &TRI) { in substPhysReg()
90 void MachineOperand::setIsDef(bool Val) { in setIsDef()
111 void MachineOperand::ChangeToImmediate(int64_t ImmVal) { in ChangeToImmediate()
128 void MachineOperand::ChangeToRegister(unsigned Reg, bool isDef, bool isImp, in ChangeToRegister()
169 bool MachineOperand::isIdenticalTo(const MachineOperand &Other) const { in isIdenticalTo()
175 case MachineOperand::MO_Register: in isIdenticalTo()
178 case MachineOperand::MO_Immediate: in isIdenticalTo()
180 case MachineOperand::MO_CImmediate: in isIdenticalTo()
182 case MachineOperand::MO_FPImmediate: in isIdenticalTo()
184 case MachineOperand::MO_MachineBasicBlock: in isIdenticalTo()
186 case MachineOperand::MO_FrameIndex: in isIdenticalTo()
188 case MachineOperand::MO_ConstantPoolIndex: in isIdenticalTo()
189 case MachineOperand::MO_TargetIndex: in isIdenticalTo()
191 case MachineOperand::MO_JumpTableIndex: in isIdenticalTo()
193 case MachineOperand::MO_GlobalAddress: in isIdenticalTo()
195 case MachineOperand::MO_ExternalSymbol: in isIdenticalTo()
198 case MachineOperand::MO_BlockAddress: in isIdenticalTo()
201 case MachineOperand::MO_RegisterMask: in isIdenticalTo()
202 case MachineOperand::MO_RegisterLiveOut: in isIdenticalTo()
204 case MachineOperand::MO_MCSymbol: in isIdenticalTo()
206 case MachineOperand::MO_CFIIndex: in isIdenticalTo()
208 case MachineOperand::MO_Metadata: in isIdenticalTo()
215 hash_code llvm::hash_value(const MachineOperand &MO) { in hash_value()
217 case MachineOperand::MO_Register: in hash_value()
220 case MachineOperand::MO_Immediate: in hash_value()
222 case MachineOperand::MO_CImmediate: in hash_value()
224 case MachineOperand::MO_FPImmediate: in hash_value()
226 case MachineOperand::MO_MachineBasicBlock: in hash_value()
228 case MachineOperand::MO_FrameIndex: in hash_value()
230 case MachineOperand::MO_ConstantPoolIndex: in hash_value()
231 case MachineOperand::MO_TargetIndex: in hash_value()
234 case MachineOperand::MO_JumpTableIndex: in hash_value()
236 case MachineOperand::MO_ExternalSymbol: in hash_value()
239 case MachineOperand::MO_GlobalAddress: in hash_value()
242 case MachineOperand::MO_BlockAddress: in hash_value()
245 case MachineOperand::MO_RegisterMask: in hash_value()
246 case MachineOperand::MO_RegisterLiveOut: in hash_value()
248 case MachineOperand::MO_Metadata: in hash_value()
250 case MachineOperand::MO_MCSymbol: in hash_value()
252 case MachineOperand::MO_CFIIndex: in hash_value()
260 void MachineOperand::print(raw_ostream &OS, const TargetMachine *TM) const { in print()
271 case MachineOperand::MO_Register: in print()
324 case MachineOperand::MO_Immediate: in print()
327 case MachineOperand::MO_CImmediate: in print()
330 case MachineOperand::MO_FPImmediate: in print()
336 case MachineOperand::MO_MachineBasicBlock: in print()
339 case MachineOperand::MO_FrameIndex: in print()
342 case MachineOperand::MO_ConstantPoolIndex: in print()
347 case MachineOperand::MO_TargetIndex: in print()
352 case MachineOperand::MO_JumpTableIndex: in print()
355 case MachineOperand::MO_GlobalAddress: in print()
361 case MachineOperand::MO_ExternalSymbol: in print()
366 case MachineOperand::MO_BlockAddress: in print()
372 case MachineOperand::MO_RegisterMask: in print()
375 case MachineOperand::MO_RegisterLiveOut: in print()
378 case MachineOperand::MO_Metadata: in print()
383 case MachineOperand::MO_MCSymbol: in print()
386 case MachineOperand::MO_CFIIndex: in print()
540 addOperand(MF, MachineOperand::CreateReg(*ImpDefs, true, true)); in addImplicitDefUseOperands()
543 addOperand(MF, MachineOperand::CreateReg(*ImpUses, false, true)); in addImplicitDefUseOperands()
610 void MachineInstr::addOperand(const MachineOperand &Op) { in addOperand()
620 static void moveOperands(MachineOperand *Dst, MachineOperand *Src, in moveOperands()
629 new (Dst + i) MachineOperand(Src[i]); in moveOperands()
632 new (Dst + i - 1) MachineOperand(Src[i - 1]); in moveOperands()
639 void MachineInstr::addOperand(MachineFunction &MF, const MachineOperand &Op) { in addOperand()
647 MachineOperand CopyOp(Op); in addOperand()
668 bool isMetaDataOp = Op.getType() == MachineOperand::MO_Metadata; in addOperand()
682 MachineOperand *OldOperands = Operands; in addOperand()
702 MachineOperand *NewMO = new (Operands + OpNo) MachineOperand(Op); in addOperand()
813 const MachineOperand &MO = getOperand(i); in isIdenticalTo()
814 const MachineOperand &OMO = Other->getOperand(i); in isIdenticalTo()
881 const MachineOperand &MO = getOperand(i); in getNumExplicitOperands()
952 const MachineOperand &FlagMO = getOperand(i); in findInlineAsmFlagIdx()
1027 const MachineOperand &MO = getOperand(OpIdx); in getRegClassConstraintEffectForVRegImpl()
1038 const MachineOperand &MO = getOperand(OpIdx); in getRegClassConstraintEffect()
1068 const MachineOperand &MO = getOperand(i); in findRegisterUseOperandIdx()
1096 const MachineOperand &MO = getOperand(i); in readsWritesVirtualRegister()
1122 const MachineOperand &MO = getOperand(i); in findRegisterDefOperandIdx()
1178 MachineOperand &DefMO = getOperand(DefIdx); in tieOperands()
1179 MachineOperand &UseMO = getOperand(UseIdx); in tieOperands()
1203 const MachineOperand &MO = getOperand(OpIdx); in findTiedOperandIdx()
1217 const MachineOperand &UseMO = getOperand(i); in findTiedOperandIdx()
1231 const MachineOperand &FlagMO = getOperand(i); in findTiedOperandIdx()
1261 MachineOperand &MO = getOperand(i); in clearKillInfo()
1275 MachineOperand &MO = getOperand(i); in substituteRegister()
1282 MachineOperand &MO = getOperand(i); in substituteRegister()
1426 const MachineOperand &MO = getOperand(i); in allDefsAreDead()
1441 const MachineOperand &MO = MI->getOperand(i); in copyImplicitOps()
1532 const MachineOperand &MO = getOperand(i); in print()
1693 MachineOperand &MO = getOperand(i); in addRegisterKilled()
1734 addOperand(MachineOperand::CreateReg(IncomingReg, in addRegisterKilled()
1748 MachineOperand &MO = getOperand(i); in clearRegisterKills()
1766 MachineOperand &MO = getOperand(i); in addRegisterDead()
1801 addOperand(MachineOperand::CreateReg(Reg, in addRegisterDead()
1812 MachineOperand *MO = findRegisterDefOperand(Reg, false, RegInfo); in addRegisterDefined()
1817 const MachineOperand &MO = getOperand(i); in addRegisterDefined()
1823 addOperand(MachineOperand::CreateReg(Reg, in addRegisterDefined()
1832 MachineOperand &MO = getOperand(i); in setPhysRegsDeadExcept()
1866 const MachineOperand &MO = MI->getOperand(i); in getHashValue()