Lines Matching refs:MachineOperand
57 void MachineOperand::setReg(unsigned Reg) { in setReg()
77 void MachineOperand::substVirtReg(unsigned Reg, unsigned SubIdx, in substVirtReg()
87 void MachineOperand::substPhysReg(unsigned Reg, const TargetRegisterInfo &TRI) { in substPhysReg()
99 void MachineOperand::setIsDef(bool Val) { in setIsDef()
119 void MachineOperand::removeRegFromUses() { in removeRegFromUses()
134 void MachineOperand::ChangeToImmediate(int64_t ImmVal) { in ChangeToImmediate()
143 void MachineOperand::ChangeToFPImmediate(const ConstantFP *FPImm) { in ChangeToFPImmediate()
152 void MachineOperand::ChangeToES(const char *SymName, unsigned char TargetFlags) { in ChangeToES()
164 void MachineOperand::ChangeToMCSymbol(MCSymbol *Sym) { in ChangeToMCSymbol()
177 void MachineOperand::ChangeToRegister(unsigned Reg, bool isDef, bool isImp, in ChangeToRegister()
218 bool MachineOperand::isIdenticalTo(const MachineOperand &Other) const { in isIdenticalTo()
224 case MachineOperand::MO_Register: in isIdenticalTo()
227 case MachineOperand::MO_Immediate: in isIdenticalTo()
229 case MachineOperand::MO_CImmediate: in isIdenticalTo()
231 case MachineOperand::MO_FPImmediate: in isIdenticalTo()
233 case MachineOperand::MO_MachineBasicBlock: in isIdenticalTo()
235 case MachineOperand::MO_FrameIndex: in isIdenticalTo()
237 case MachineOperand::MO_ConstantPoolIndex: in isIdenticalTo()
238 case MachineOperand::MO_TargetIndex: in isIdenticalTo()
240 case MachineOperand::MO_JumpTableIndex: in isIdenticalTo()
242 case MachineOperand::MO_GlobalAddress: in isIdenticalTo()
244 case MachineOperand::MO_ExternalSymbol: in isIdenticalTo()
247 case MachineOperand::MO_BlockAddress: in isIdenticalTo()
250 case MachineOperand::MO_RegisterMask: in isIdenticalTo()
251 case MachineOperand::MO_RegisterLiveOut: in isIdenticalTo()
253 case MachineOperand::MO_MCSymbol: in isIdenticalTo()
255 case MachineOperand::MO_CFIIndex: in isIdenticalTo()
257 case MachineOperand::MO_Metadata: in isIdenticalTo()
264 hash_code llvm::hash_value(const MachineOperand &MO) { in hash_value()
266 case MachineOperand::MO_Register: in hash_value()
269 case MachineOperand::MO_Immediate: in hash_value()
271 case MachineOperand::MO_CImmediate: in hash_value()
273 case MachineOperand::MO_FPImmediate: in hash_value()
275 case MachineOperand::MO_MachineBasicBlock: in hash_value()
277 case MachineOperand::MO_FrameIndex: in hash_value()
279 case MachineOperand::MO_ConstantPoolIndex: in hash_value()
280 case MachineOperand::MO_TargetIndex: in hash_value()
283 case MachineOperand::MO_JumpTableIndex: in hash_value()
285 case MachineOperand::MO_ExternalSymbol: in hash_value()
288 case MachineOperand::MO_GlobalAddress: in hash_value()
291 case MachineOperand::MO_BlockAddress: in hash_value()
294 case MachineOperand::MO_RegisterMask: in hash_value()
295 case MachineOperand::MO_RegisterLiveOut: in hash_value()
297 case MachineOperand::MO_Metadata: in hash_value()
299 case MachineOperand::MO_MCSymbol: in hash_value()
301 case MachineOperand::MO_CFIIndex: in hash_value()
307 void MachineOperand::print(raw_ostream &OS, in print()
313 void MachineOperand::print(raw_ostream &OS, ModuleSlotTracker &MST, in print()
316 case MachineOperand::MO_Register: in print()
369 case MachineOperand::MO_Immediate: in print()
372 case MachineOperand::MO_CImmediate: in print()
375 case MachineOperand::MO_FPImmediate: in print()
387 case MachineOperand::MO_MachineBasicBlock: in print()
390 case MachineOperand::MO_FrameIndex: in print()
393 case MachineOperand::MO_ConstantPoolIndex: in print()
398 case MachineOperand::MO_TargetIndex: in print()
403 case MachineOperand::MO_JumpTableIndex: in print()
406 case MachineOperand::MO_GlobalAddress: in print()
412 case MachineOperand::MO_ExternalSymbol: in print()
417 case MachineOperand::MO_BlockAddress: in print()
423 case MachineOperand::MO_RegisterMask: { in print()
443 case MachineOperand::MO_RegisterLiveOut: in print()
446 case MachineOperand::MO_Metadata: in print()
451 case MachineOperand::MO_MCSymbol: in print()
454 case MachineOperand::MO_CFIIndex: in print()
642 addOperand(MF, MachineOperand::CreateReg(*ImpDefs, true, true)); in addImplicitDefUseOperands()
646 addOperand(MF, MachineOperand::CreateReg(*ImpUses, false, true)); in addImplicitDefUseOperands()
692 for (const MachineOperand &MO : MI.operands()) in MachineInstr()
731 for (MachineOperand &MO : operands()) in RemoveRegOperandsFromUseLists()
740 for (MachineOperand &MO : operands()) in AddRegOperandsToUseLists()
745 void MachineInstr::addOperand(const MachineOperand &Op) { in addOperand()
755 static void moveOperands(MachineOperand *Dst, MachineOperand *Src, in moveOperands()
761 std::memmove(Dst, Src, NumOps * sizeof(MachineOperand)); in moveOperands()
768 void MachineInstr::addOperand(MachineFunction &MF, const MachineOperand &Op) { in addOperand()
776 MachineOperand CopyOp(Op); in addOperand()
797 bool isMetaDataOp = Op.getType() == MachineOperand::MO_Metadata; in addOperand()
811 MachineOperand *OldOperands = Operands; in addOperand()
831 MachineOperand *NewMO = new (Operands + OpNo) MachineOperand(Op); in addOperand()
993 const MachineOperand &MO = getOperand(i); in isIdenticalTo()
994 const MachineOperand &OMO = Other.getOperand(i); in isIdenticalTo()
1057 for (const MachineOperand &MO : MI->operands()) { in eraseFromParentAndMarkDBGValuesForRemoval()
1081 const MachineOperand &MO = getOperand(i); in getNumExplicitOperands()
1152 const MachineOperand &FlagMO = getOperand(i); in findInlineAsmFlagIdx()
1236 const MachineOperand &MO = getOperand(OpIdx); in getRegClassConstraintEffectForVRegImpl()
1247 const MachineOperand &MO = getOperand(OpIdx); in getRegClassConstraintEffect()
1277 const MachineOperand &MO = getOperand(i); in hasRegisterImplicitUseOperand()
1290 const MachineOperand &MO = getOperand(i); in findRegisterUseOperandIdx()
1318 const MachineOperand &MO = getOperand(i); in readsWritesVirtualRegister()
1344 const MachineOperand &MO = getOperand(i); in findRegisterDefOperandIdx()
1400 MachineOperand &DefMO = getOperand(DefIdx); in tieOperands()
1401 MachineOperand &UseMO = getOperand(UseIdx); in tieOperands()
1425 const MachineOperand &MO = getOperand(OpIdx); in findTiedOperandIdx()
1439 const MachineOperand &UseMO = getOperand(i); in findTiedOperandIdx()
1453 const MachineOperand &FlagMO = getOperand(i); in findTiedOperandIdx()
1482 for (MachineOperand &MO : operands()) { in clearKillInfo()
1495 for (MachineOperand &MO : operands()) { in substituteRegister()
1501 for (MachineOperand &MO : operands()) { in substituteRegister()
1642 for (const MachineOperand &MO : operands()) { in allDefsAreDead()
1657 const MachineOperand &MO = MI.getOperand(i); in copyImplicitOps()
1766 const MachineOperand &MO = getOperand(i); in print()
1949 MachineOperand &MO = getOperand(i); in addRegisterKilled()
1997 addOperand(MachineOperand::CreateReg(IncomingReg, in addRegisterKilled()
2010 for (MachineOperand &MO : operands()) { in clearRegisterKills()
2028 MachineOperand &MO = getOperand(i); in addRegisterDead()
2063 addOperand(MachineOperand::CreateReg(Reg, in addRegisterDead()
2072 for (MachineOperand &MO : operands()) { in clearRegisterDeads()
2080 for (MachineOperand &MO : operands()) { in setRegisterDefReadUndef()
2090 MachineOperand *MO = findRegisterDefOperand(Reg, false, RegInfo); in addRegisterDefined()
2094 for (const MachineOperand &MO : operands()) { in addRegisterDefined()
2100 addOperand(MachineOperand::CreateReg(Reg, in addRegisterDefined()
2108 for (MachineOperand &MO : operands()) { in setPhysRegsDeadExcept()
2136 for (const MachineOperand &MO : MI->operands()) { in getHashValue()