Lines Matching refs:MI

62   if (MachineInstr *MI = getParent())
63 if (MachineBasicBlock *MBB = MI->getParent())
104 if (MachineInstr *MI = getParent())
105 if (MachineBasicBlock *MBB = MI->getParent())
122 if (MachineInstr *MI = getParent()) {
123 if (MachineBasicBlock *MBB = MI->getParent()) {
180 if (MachineInstr *MI = getParent())
181 if (MachineBasicBlock *MBB = MI->getParent())
666 MachineInstr::MachineInstr(MachineFunction &MF, const MachineInstr &MI)
667 : MCID(&MI.getDesc()), Parent(nullptr), Operands(nullptr), NumOperands(0),
669 NumMemRefs(MI.NumMemRefs), MemRefs(MI.MemRefs),
670 debugLoc(MI.getDebugLoc()) {
673 CapOperands = OperandCapacity::get(MI.getNumOperands());
677 for (const MachineOperand &MO : MI.operands())
681 setFlags(MI.Flags);
739 // This is unusual: MI->addOperand(MI->getOperand(i)).
1020 MachineInstr *MI = (MachineInstr *)this;
1023 for (const MachineOperand &MO : MI->operands()) {
1031 MI->eraseFromParent();
1055 assert(!isBundledWithPred() && "MI is already bundled with its predecessor");
1064 assert(!isBundledWithSucc() && "MI is already bundled with its successor");
1073 assert(isBundledWithPred() && "MI isn't bundled with its predecessor");
1082 assert(isBundledWithSucc() && "MI isn't bundled with its successor");
1191 // Check if Reg is constrained by some of its use/def from MI.
1217 /// Return the number of instructions inside the MI bundle, not counting the
1601 const MachineInstr *MI) {
1602 for (unsigned i = MI->getDesc().getNumOperands(), e = MI->getNumOperands();
1604 const MachineOperand &MO = MI->getOperand(i);
2052 MachineInstrExpressionTrait::getHashValue(const MachineInstr* const &MI) {
2055 HashComponents.reserve(MI->getNumOperands() + 1);
2056 HashComponents.push_back(MI->getOpcode());
2057 for (const MachineOperand &MO : MI->operands()) {