Lines Matching refs:getIConstantVRegVal
295 std::optional<APInt> llvm::getIConstantVRegVal(Register VReg, in getIConstantVRegVal() function in llvm
308 std::optional<APInt> Val = getIConstantVRegVal(VReg, MRI); in getIConstantVRegSExtVal()
939 auto MaybeOp1Cst = getIConstantVRegVal(Op1, MRI); in ConstantFoldExtOp()
956 std::optional<APInt> Val = getIConstantVRegVal(Op0, MRI); in ConstantFoldCastOp()
980 if (auto MaybeSrcVal = getIConstantVRegVal(Src, MRI)) { in ConstantFoldIntToFloat()
995 auto MaybeCst = getIConstantVRegVal(R, MRI); in ConstantFoldCountZeros()
1030 auto LHSCst = getIConstantVRegVal(LHS, MRI); in ConstantFoldICmp()
1031 auto RHSCst = getIConstantVRegVal(RHS, MRI); in ConstantFoldICmp()
1110 if (auto ConstLHS = getIConstantVRegVal(MI.getOperand(1).getReg(), MRI)) { in isKnownToBeAPowerOfTwo()
1118 if (auto ConstLHS = getIConstantVRegVal(MI.getOperand(1).getReg(), MRI)) { in isKnownToBeAPowerOfTwo()
1139 auto Const = getIConstantVRegVal(MO.getReg(), MRI); in isKnownToBeAPowerOfTwo()