Lines Matching defs:MI1
1822 MachineInstr *MI1 = MRI.getUniqueVRegDef(Inst.getOperand(2).getReg());
1827 Commuted = !areRVVInstsReassociable(Inst, *MI1) &&
1830 std::swap(MI1, MI2);
1832 return areRVVInstsReassociable(Inst, *MI1) &&
1833 (isVectorAssociativeAndCommutative(*MI1) ||
1834 isVectorAssociativeAndCommutative(*MI1, /* Invert */ true)) &&
1835 hasReassociableOperands(*MI1, MBB) &&
1836 MRI.hasOneNonDBGUse(MI1->getOperand(0).getReg());
1851 MachineInstr *MI1 = nullptr;
1854 MI1 = MRI.getUniqueVRegDef(Op1.getReg());
1859 return MI1 && MI2 && (MI1->getParent() == MBB || MI2->getParent() == MBB);
2657 static bool memOpsHaveSameBasePtr(const MachineInstr &MI1,
2667 if (!MI1.hasOneMemOperand() || !MI2.hasOneMemOperand())
2670 auto MO1 = *MI1.memoperands_begin();
3873 bool RISCV::hasEqualFRM(const MachineInstr &MI1, const MachineInstr &MI2) {
3875 RISCV::getNamedOperandIdx(MI1.getOpcode(), RISCV::OpName::frm);
3880 MachineOperand FrmOp1 = MI1.getOperand(MI1FrmOpIdx);