Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64GlobalISelUtils.cpp103 if (auto ConstDiscVal = getIConstantVRegVal(Disc, MRI)) { in extractPtrauthBlendDiscriminators()
117 getIConstantVRegVal(DiscMI->getOperand(3).getReg(), MRI)) { in extractPtrauthBlendDiscriminators()
H A DAArch64InstructionSelector.cpp2326 auto VRegAndVal = getIConstantVRegVal(MO.getReg(), MRI); in earlySelectSHL()
5619 auto Cst = getIConstantVRegVal(Offset, MRI); in selectIndexedExtLoad()
5687 auto Cst = getIConstantVRegVal(Offset, MRI); in selectIndexedLoad()
5734 auto Cst = getIConstantVRegVal(Offset, MRI); in selectIndexedStore()
6067 auto LaneNo = getIConstantVRegVal((FirstSrcRegIt + NumVecs)->getReg(), MRI); in selectVectorLoadLaneIntrinsic()
6133 auto LaneNo = getIConstantVRegVal(I.getOperand(1 + NumVecs).getReg(), MRI); in selectVectorStoreLaneIntrinsic()
6979 std::optional<APInt> AddrDiscVal = getIConstantVRegVal(AddrDisc, MRI); in selectPtrAuthGlobalValue()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp294 std::optional<APInt> llvm::getIConstantVRegVal(Register VReg, in getIConstantVRegVal() function in llvm
315 std::optional<APInt> Val = getIConstantVRegVal(VReg, MRI); in getIConstantVRegSExtVal()
946 auto MaybeOp1Cst = getIConstantVRegVal(Op1, MRI); in ConstantFoldExtOp()
963 std::optional<APInt> Val = getIConstantVRegVal(Op0, MRI); in ConstantFoldCastOp()
987 if (auto MaybeSrcVal = getIConstantVRegVal(Src, MRI)) { in ConstantFoldIntToFloat()
1002 auto MaybeCst = getIConstantVRegVal(R, MRI); in ConstantFoldCountZeros()
1046 auto RHSCst = getIConstantVRegVal(RHS, MRI); in ConstantFoldICmp()
1049 auto LHSCst = getIConstantVRegVal(LHS, MRI); in ConstantFoldICmp()
1128 if (auto ConstLHS = getIConstantVRegVal(MI.getOperand(1).getReg(), MRI)) { in isKnownToBeAPowerOfTwo()
1136 if (auto ConstLHS = getIConstantVRegVal(MI.getOperand(1).getReg(), MRI)) { in isKnownToBeAPowerOfTwo()
[all …]
H A DCombinerHelperVectorOps.cpp389 std::optional<APInt> MaybeRHS = getIConstantVRegVal(Mul->getRHSReg(), MRI); in matchMulOfVScale()
430 std::optional<APInt> MaybeRHS = getIConstantVRegVal(Shl->getShiftReg(), MRI); in matchShlOfVScale()
H A DCombinerHelper.cpp1184 if (auto CstOff = getIConstantVRegVal(Addr->getOffsetReg(), MRI)) in canFoldInAddressingMode()
1439 if (auto CVal = getIConstantVRegVal(Vector, MRI)) { in matchCombineExtractedVectorLoad()
2586 if (auto RHSCst = getIConstantVRegVal(RHS, MRI)) { in matchCombineConstPtrAddToI2P()
2785 auto Idx = getIConstantVRegVal(MI.getOperand(IdxIdx).getReg(), MRI); in matchInsertExtractVecEltOutOfBounds()
3707 auto ConstVal = getIConstantVRegVal(PtrAdd.getBaseReg(), MRI); in matchPtrAddZero()
4353 auto Cst = getIConstantVRegVal(II.getOperand(2).getReg(), MRI); in matchExtractAllEltsFromBuildVector()
4812 auto C1 = getIConstantVRegVal(Src1Def->getOffsetReg(), MRI); in reassociationCanBreakAddressingModePattern()
4815 auto C2 = getIConstantVRegVal(Src2Reg, MRI); in reassociationCanBreakAddressingModePattern()
4870 auto C2 = getIConstantVRegVal(RHS->getOperand(2).getReg(), MRI); in matchReassocConstantInnerRHS()
4929 auto C1 = getIConstantVRegVal(LHSSrc2, MRI); in matchReassocFoldConstantsInSubTree()
[all …]
H A DGISelValueTracking.cpp1597 auto CIdx = getIConstantVRegVal(Idx, MRI); in computeKnownFPClass()
1623 auto CIdx = getIConstantVRegVal(Idx, MRI); in computeKnownFPClass()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h181 getIConstantVRegVal(Register VReg, const MachineRegisterInfo &MRI);
H A DMIPatternMatch.h81 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.cpp1237 } else if (auto val = getIConstantVRegVal(CarryInReg, MRI)) { in selectUAddSub()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.cpp5844 getIConstantVRegVal(MI.getOperand(2).getReg(), *MRI); in isUnneededShiftMask()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp27125 auto CstOffset = getIConstantVRegVal(Offset, MRI); in isIndexingLegal()