Searched refs:DefMI2 (Results 1 – 1 of 1) sorted by relevance
344 MachineInstr *DefMI2 = MRI->getUniqueVRegDef(DefMI->getOperand(2).getReg()); in getConstFromIntrinsic() local345 assert(DefMI2->getOpcode() == TargetOpcode::G_CONSTANT && in getConstFromIntrinsic()346 DefMI2->getOperand(1).isCImm()); in getConstFromIntrinsic()347 return DefMI2->getOperand(1).getCImm()->getValue().getZExtValue(); in getConstFromIntrinsic()