Lines Matching refs:OpMI
1367 MachineInstr *OpMI = MRI.getVRegDef(Reg);
1368 assert(OpMI && "Expected to find a vreg def for vector shift operand");
1369 if (OpMI->getOpcode() != TargetOpcode::G_BUILD_VECTOR)
1374 for (unsigned Idx = 1; Idx < OpMI->getNumOperands(); ++Idx) {
1375 auto VRegAndVal = getConstantVRegValWithLookThrough(OpMI->getOperand(Idx).getReg(), MRI);
4504 auto *OpMI =
4506 if (OpMI)
4508 const_cast<ConstantInt *>(OpMI->getOperand(1).getCImm()));
4509 else if ((OpMI = getOpcodeDef(TargetOpcode::G_FCONSTANT,
4512 const_cast<ConstantFP *>(OpMI->getOperand(1).getFPImm()));