Lines Matching defs:MI1
429 const MachineInstr &MI1,
431 return MI0.isIdenticalTo(MI1, MachineInstr::IgnoreVRegDefs);
841 MachineInstr *MI1 = nullptr;
844 MI1 = MRI.getUniqueVRegDef(Op1.getReg());
849 return MI1 && MI2 && (MI1->getParent() == MBB || MI2->getParent() == MBB);
861 MachineInstr *MI1 = MRI.getUniqueVRegDef(Inst.getOperand(1).getReg());
867 Commuted = !areOpcodesEqualOrInverse(Opcode, MI1->getOpcode()) &&
870 std::swap(MI1, MI2);
880 return areOpcodesEqualOrInverse(Opcode, MI1->getOpcode()) &&
881 (isAssociativeAndCommutative(*MI1) ||
882 isAssociativeAndCommutative(*MI1, /* Invert */ true)) &&
883 hasReassociableOperands(*MI1, MBB) &&
884 MRI.hasOneNonDBGUse(MI1->getOperand(0).getReg());