Searched refs:getIConstantVRegVal (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Utils.cpp | 286 Optional<APInt> llvm::getIConstantVRegVal(Register VReg, in getIConstantVRegVal() function in llvm 299 Optional<APInt> Val = getIConstantVRegVal(VReg, MRI); in getIConstantVRegSExtVal() 748 auto MaybeOp1Cst = getIConstantVRegVal(Op1, MRI); in ConstantFoldExtOp() 766 if (auto MaybeSrcVal = getIConstantVRegVal(Src, MRI)) { in ConstantFoldIntToFloat() 780 auto MaybeCst = getIConstantVRegVal(R, MRI); in ConstantFoldCTLZ() 827 if (auto ConstLHS = getIConstantVRegVal(MI.getOperand(1).getReg(), MRI)) { in isKnownToBeAPowerOfTwo() 835 if (auto ConstLHS = getIConstantVRegVal(MI.getOperand(1).getReg(), MRI)) { in isKnownToBeAPowerOfTwo() 856 auto Const = getIConstantVRegVal(MO.getReg(), MRI); in isKnownToBeAPowerOfTwo()
|
| H A D | CombinerHelper.cpp | 2087 if (auto RHSCst = getIConstantVRegVal(RHS, MRI)) { in matchCombineConstPtrAddToI2P() 3073 auto ConstVal = getIConstantVRegVal(PtrAdd.getBaseReg(), MRI); in matchPtrAddZero() 3996 auto Cst = getIConstantVRegVal(II.getOperand(2).getReg(), MRI); in matchExtractAllEltsFromBuildVector() 4460 auto C1 = getIConstantVRegVal(Src1Def->getOperand(2).getReg(), MRI); in reassociationCanBreakAddressingModePattern() 4463 auto C2 = getIConstantVRegVal(Src2Reg, MRI); in reassociationCanBreakAddressingModePattern() 4521 auto C2 = getIConstantVRegVal(RHS->getOperand(2).getReg(), MRI); in matchReassocConstantInnerRHS() 4579 auto C1 = getIConstantVRegVal(LHSSrc2, MRI); in matchReassocFoldConstantsInSubTree() 4582 auto C2 = getIConstantVRegVal(Src2Reg, MRI); in matchReassocFoldConstantsInSubTree()
|
| H A D | GISelKnownBits.cpp | 253 auto CstVal = getIConstantVRegVal(R, MRI); in computeKnownBitsImpl()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | Utils.h | 169 Optional<APInt> getIConstantVRegVal(Register VReg,
|
| H A D | MIPatternMatch.h | 69 return getIConstantVRegVal(Reg, MRI); in matchConstant()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86InstructionSelector.cpp | 1070 } else if (auto val = getIConstantVRegVal(CarryInReg, MRI)) { in selectUadde()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64InstructionSelector.cpp | 2084 auto VRegAndVal = getIConstantVRegVal(MO.getReg(), MRI); in earlySelectSHL() 5796 auto DiscVal = getIConstantVRegVal(DiscReg, MRI); in selectIntrinsic()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstructionSelector.cpp | 4362 Optional<APInt> RHS = getIConstantVRegVal(MI.getOperand(2).getReg(), *MRI); in isUnneededShiftMask()
|