Lines Matching refs:Const
307 MachineInstr *Const = MRI.getVRegDef(Reg); in getIConstantFromReg() local
308 assert((Const && Const->getOpcode() == TargetOpcode::G_CONSTANT) && in getIConstantFromReg()
310 return Const->getOperand(1).getCImm()->getValue(); in getIConstantFromReg()
1157 auto Const = getIConstantVRegVal(MO.getReg(), MRI); in isKnownToBeAPowerOfTwo() local
1158 if (!Const || !Const->zextOrTrunc(BitWidth).isPowerOf2()) in isKnownToBeAPowerOfTwo()
2024 llvm::GIConstant::getConstant(Register Const, const MachineRegisterInfo &MRI) { in getConstant() argument
2025 MachineInstr *Constant = getDefIgnoringCopies(Const, MRI); in getConstant()
2050 getIConstantVRegValWithLookThrough(Const, MRI); in getConstant()
2064 llvm::GFConstant::getConstant(Register Const, const MachineRegisterInfo &MRI) { in getConstant() argument
2065 MachineInstr *Constant = getDefIgnoringCopies(Const, MRI); in getConstant()
2090 getFConstantVRegValWithLookThrough(Const, MRI); in getConstant()