Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp293 std::optional<APInt> llvm::getIConstantVRegVal(Register VReg, in getIConstantVRegVal() function in llvm
306 std::optional<APInt> Val = getIConstantVRegVal(VReg, MRI); in getIConstantVRegSExtVal()
916 auto MaybeOp1Cst = getIConstantVRegVal(Op1, MRI); in ConstantFoldExtOp()
933 std::optional<APInt> Val = getIConstantVRegVal(Op0, MRI); in ConstantFoldCastOp()
957 if (auto MaybeSrcVal = getIConstantVRegVal(Src, MRI)) { in ConstantFoldIntToFloat()
971 auto MaybeCst = getIConstantVRegVal(R, MRI); in ConstantFoldCTLZ()
1018 if (auto ConstLHS = getIConstantVRegVal(MI.getOperand(1).getReg(), MRI)) { in isKnownToBeAPowerOfTwo()
1026 if (auto ConstLHS = getIConstantVRegVal(MI.getOperand(1).getReg(), MRI)) { in isKnownToBeAPowerOfTwo()
1047 auto Const = getIConstantVRegVal(MO.getReg(), MRI); in isKnownToBeAPowerOfTwo()
H A DCombinerHelper.cpp966 if (auto CstOff = getIConstantVRegVal(Addr->getOffsetReg(), MRI)) in canFoldInAddressingMode()
1207 if (auto CVal = getIConstantVRegVal(Vector, MRI)) { in matchCombineExtractedVectorLoad()
2349 if (auto RHSCst = getIConstantVRegVal(RHS, MRI)) { in matchCombineConstPtrAddToI2P()
3413 auto ConstVal = getIConstantVRegVal(PtrAdd.getBaseReg(), MRI); in matchPtrAddZero()
4522 auto C1 = getIConstantVRegVal(Src1Def->getOffsetReg(), MRI); in reassociationCanBreakAddressingModePattern()
4525 auto C2 = getIConstantVRegVal(Src2Reg, MRI); in reassociationCanBreakAddressingModePattern()
4580 auto C2 = getIConstantVRegVal(RHS->getOperand(2).getReg(), MRI); in matchReassocConstantInnerRHS()
4640 auto C1 = getIConstantVRegVal(LHSSrc2, MRI); in matchReassocFoldConstantsInSubTree()
4643 auto C2 = getIConstantVRegVal(Src2Reg, MRI); in matchReassocFoldConstantsInSubTree()
6241 if (getIConstantVRegVal(LHS, MRI).has_value()) in matchCommuteConstantToRHS()
[all …]
H A DGISelKnownBits.cpp256 auto CstVal = getIConstantVRegVal(R, MRI); in computeKnownBitsImpl()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp2182 auto VRegAndVal = getIConstantVRegVal(MO.getReg(), MRI); in earlySelectSHL()
5671 auto Cst = getIConstantVRegVal(Offset, MRI); in selectIndexedExtLoad()
5736 auto Cst = getIConstantVRegVal(Offset, MRI); in selectIndexedLoad()
5783 auto Cst = getIConstantVRegVal(Offset, MRI); in selectIndexedStore()
6056 auto LaneNo = getIConstantVRegVal((FirstSrcRegIt + NumVecs)->getReg(), MRI); in selectVectorLoadLaneIntrinsic()
6122 auto LaneNo = getIConstantVRegVal(I.getOperand(1 + NumVecs).getReg(), MRI); in selectVectorStoreLaneIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86InstructionSelector.cpp1163 } else if (auto val = getIConstantVRegVal(CarryInReg, MRI)) { in selectUAddSub()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.cpp4849 getIConstantVRegVal(MI.getOperand(2).getReg(), *MRI); in isUnneededShiftMask()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp24226 auto CstOffset = getIConstantVRegVal(Offset, MRI); in isIndexingLegal()