Home
last modified time | relevance | path

Searched refs:getIConstantVRegVal (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64GlobalISelUtils.cpp105 if (auto ConstDiscVal = getIConstantVRegVal(Disc, MRI)) { in extractPtrauthBlendDiscriminators()
119 getIConstantVRegVal(DiscMI->getOperand(3).getReg(), MRI)) { in extractPtrauthBlendDiscriminators()
H A DAArch64InstructionSelector.cpp2198 auto VRegAndVal = getIConstantVRegVal(MO.getReg(), MRI); in earlySelectSHL()
5467 auto Cst = getIConstantVRegVal(Offset, MRI); in selectIndexedExtLoad()
5532 auto Cst = getIConstantVRegVal(Offset, MRI); in selectIndexedLoad()
5579 auto Cst = getIConstantVRegVal(Offset, MRI); in selectIndexedStore()
5907 auto LaneNo = getIConstantVRegVal((FirstSrcRegIt + NumVecs)->getReg(), MRI); in selectVectorLoadLaneIntrinsic()
5973 auto LaneNo = getIConstantVRegVal(I.getOperand(1 + NumVecs).getReg(), MRI); in selectVectorStoreLaneIntrinsic()
6806 std::optional<APInt> AddrDiscVal = getIConstantVRegVal(AddrDisc, MRI); in selectPtrAuthGlobalValue()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp295 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()
[all …]
H A DCombinerHelperVectorOps.cpp429 std::optional<APInt> MaybeRHS = getIConstantVRegVal(Mul->getRHSReg(), MRI); in matchMulOfVScale()
470 std::optional<APInt> MaybeRHS = getIConstantVRegVal(Shl->getShiftReg(), MRI); in matchShlOfVScale()
H A DCombinerHelper.cpp1116 if (auto CstOff = getIConstantVRegVal(Addr->getOffsetReg(), MRI)) in canFoldInAddressingMode()
1370 if (auto CVal = getIConstantVRegVal(Vector, MRI)) { in matchCombineExtractedVectorLoad()
2482 if (auto RHSCst = getIConstantVRegVal(RHS, MRI)) { in matchCombineConstPtrAddToI2P()
2761 auto Idx = getIConstantVRegVal(MI.getOperand(IdxIdx).getReg(), MRI); in matchInsertExtractVecEltOutOfBounds()
3557 auto ConstVal = getIConstantVRegVal(PtrAdd.getBaseReg(), MRI); in matchPtrAddZero()
4199 auto Cst = getIConstantVRegVal(II.getOperand(2).getReg(), MRI); in matchExtractAllEltsFromBuildVector()
4684 auto C1 = getIConstantVRegVal(Src1Def->getOffsetReg(), MRI); in reassociationCanBreakAddressingModePattern()
4687 auto C2 = getIConstantVRegVal(Src2Reg, MRI); in reassociationCanBreakAddressingModePattern()
4742 auto C2 = getIConstantVRegVal(RHS->getOperand(2).getReg(), MRI); in matchReassocConstantInnerRHS()
4802 auto C1 = getIConstantVRegVal(LHSSrc2, MRI); in matchReassocFoldConstantsInSubTree()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h174 std::optional<APInt> getIConstantVRegVal(Register VReg,
H A DMIPatternMatch.h72 return getIConstantVRegVal(Reg, MRI); in matchConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstructionSelector.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86InstructionSelector.cpp1197 } else if (auto val = getIConstantVRegVal(CarryInReg, MRI)) { in selectUAddSub()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.cpp4810 getIConstantVRegVal(MI.getOperand(2).getReg(), *MRI); in isUnneededShiftMask()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp25648 auto CstOffset = getIConstantVRegVal(Offset, MRI); in isIndexingLegal()