Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGISelValueTracking.h78 KnownBits getKnownBits(Register R);
79 KnownBits getKnownBits(Register R, const APInt &DemandedElts,
83 KnownBits getKnownBits(MachineInstr &MI);
91 return Mask.isSubsetOf(getKnownBits(Val).Zero); in maskedValueIsZero()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DWithCache.h59 [[nodiscard]] const KnownBits &getKnownBits(const SimplifyQuery &Q) const { in getKnownBits() function
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelValueTracking.cpp77 KnownBits GISelValueTracking::getKnownBits(MachineInstr &MI) { in getKnownBits() function in GISelValueTracking
80 return getKnownBits(MI.getOperand(0).getReg()); in getKnownBits()
83 KnownBits GISelValueTracking::getKnownBits(Register R) { in getKnownBits() function in GISelValueTracking
90 return getKnownBits(R, DemandedElts); in getKnownBits()
93 KnownBits GISelValueTracking::getKnownBits(Register R, in getKnownBits() function in GISelValueTracking
112 return getKnownBits(R).Zero; in getKnownZeroes()
116 return getKnownBits(R).One; in getKnownOnes()
1238 KnownBits ExponentKnownBits = getKnownBits( in computeKnownFPClass()
2032 KnownBits Known = getKnownBits(R, DemandedElts, Depth); in computeNumSignBits()
2101 KnownBits Known = VTA.getKnownBits(Reg); in run()
H A DCombinerHelper.cpp2634 return VT->getKnownBits(Reg).countMinLeadingZeros() >= DstSize - SrcSize; in matchCombineZextTrunc()
2679 KnownBits Known = VT->getKnownBits(SrcMI->getOperand(2).getReg()); in matchCombineTruncOfShift()
2700 KnownBits Known = VT->getKnownBits(SrcMI->getOperand(2).getReg()); in matchCombineTruncOfShift()
3346 KnownBits RHSBits = VT->getKnownBits(RHS); in matchRedundantAnd()
3350 KnownBits LHSBits = VT->getKnownBits(LHS); in matchRedundantAnd()
3391 KnownBits LHSBits = VT->getKnownBits(LHS); in matchRedundantOr()
3392 KnownBits RHSBits = VT->getKnownBits(RHS); in matchRedundantOr()
4512 auto KnownRHS = VT->getKnownBits(MI.getOperand(3).getReg()); in matchICmpToTrueFalseKnownBits()
4527 auto KnownLHS = VT->getKnownBits(MI.getOperand(2).getReg()); in matchICmpToTrueFalseKnownBits()
4570 auto KnownLHS = VT->getKnownBits(LHS); in matchICmpToLHSKnownBits()
[all …]
H A DUtils.cpp1175 KnownBits Known = VT->getKnownBits(Reg); in isKnownToBeAPowerOfTwo()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPostLegalizerCombiner.cpp424 if (VT->getKnownBits(Src1).countMinLeadingZeros() >= 32 && in matchCombine_s_mul_u64()
425 VT->getKnownBits(Src0).countMinLeadingZeros() >= 32) { in matchCombine_s_mul_u64()
H A DAMDGPUInstructionSelector.cpp5239 auto SKnown = VT->getKnownBits(*SOffset); in selectSmrdOffset()
5573 auto VKnown = VT->getKnownBits(VAddr); in checkFlatScratchSVSSwizzleBug()
5574 auto SKnown = KnownBits::add(VT->getKnownBits(SAddr), in checkFlatScratchSVSSwizzleBug()
H A DAMDGPULegalizerInfo.cpp3958 Src0KnownZeros.push_back(VT.getKnownBits(Src0[i]).isZero()); in buildMultiply()
3959 Src1KnownZeros.push_back(VT.getKnownBits(Src1[i]).isZero()); in buildMultiply()
4031 if (!LocalAccum[0] || VT.getKnownBits(LocalAccum[0]).isZero()) { in buildMultiply()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp157 KnownBits getKnownBits(const Value *V,
1626 KnownBits Known = HVC.getKnownBits(V, In); in getNumSignificantBits()
2796 KnownBits Known0 = getKnownBits(Idx0, Gep0); in calculatePointerDifference()
2797 KnownBits Known1 = getKnownBits(Idx1, Gep1); in calculatePointerDifference()
2835 auto HexagonVectorCombine::getKnownBits(const Value *V, in getKnownBits() function in HexagonVectorCombine
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVInstructionSelector.cpp308 KnownBits Known = VT->getKnownBits(AndSrcReg); in selectShiftMask()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1507 OpsKnown[OpNo].getKnownBits(SQ).isNonZero()) in foldFBinOpOfIntCastsFromSign()
1516 return OpsKnown[OpNo].getKnownBits(SQ).isNonNegative(); in foldFBinOpOfIntCastsFromSign()
1542 IntSz - OpsKnown[OpNo].getKnownBits(SQ).countMinLeadingZeros(); in foldFBinOpOfIntCastsFromSign()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp249 return KnownBits::haveNoCommonBitsSet(LHSCache.getKnownBits(SQ), in haveNoCommonBitsSet()
250 RHSCache.getKnownBits(SQ)); in haveNoCommonBitsSet()
7077 ConstantRange::fromKnownBits(V.getKnownBits(SQ), ForSigned); in computeConstantRangeIncludingKnownBits()