Home
last modified time | relevance | path

Searched refs:getBitsSetFrom (Results 1 – 16 of 16) sorted by relevance

/freebsd-head/contrib/llvm-project/llvm/lib/Analysis/
HDDemandedBits.cpp147 AB = APInt::getBitsSetFrom(BitWidth, AOut.countr_zero()); in determineLiveOperandBits()
HDValueTracking.cpp9435 Upper = APInt::getBitsSetFrom(Width, C->getZExtValue()) + 1; in setLimitsForBinOp()
/freebsd-head/contrib/llvm-project/llvm/lib/Support/
HDAPFixedPoint.cpp43 auto Mask = APInt::getBitsSetFrom( in convert()
/freebsd-head/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
HDGISelKnownBits.cpp137 Mask.Zero = APInt::getBitsSetFrom( in extractBits()
/freebsd-head/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
HDInstCombineCasts.cpp293 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in canEvaluateTruncated()
324 APInt ShiftedBits = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in canEvaluateTruncated()
915 MaskedValueIsZero(Src, APInt::getBitsSetFrom(SrcWidth, DestWidth), in visitTrunc()
HDInstCombineCompares.cpp6309 return APInt::getBitsSetFrom(BitWidth, RHS->countr_one()); in getDemandedBitsLHSMask()
6314 return APInt::getBitsSetFrom(BitWidth, RHS->countr_zero()); in getDemandedBitsLHSMask()
/freebsd-head/contrib/llvm-project/llvm/lib/IR/
HDConstantRange.cpp894 APInt Adjust = LowerDiv & APInt::getBitsSetFrom(getBitWidth(), DstTySize); in truncate()
1583 APInt::getBitsSetFrom(BW, RHS->getZExtValue()) + 1); in shl()
/freebsd-head/contrib/llvm-project/llvm/include/llvm/ADT/
HDAPInt.h266 static APInt getBitsSetFrom(unsigned numBits, unsigned loBit) { in getBitsSetFrom() function
/freebsd-head/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
HDAggressiveInstCombine.cpp459 APInt Mask = APInt::getBitsSetFrom(InputBits, Shift); in isCTTZTable()
/freebsd-head/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
HDSLPVectorizer.cpp15153 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in collectValuesToDemote()
15166 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth2 - 1); in collectValuesToDemote()
15343 APInt ShiftedBits = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in collectValuesToDemote()
15378 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in collectValuesToDemote()
15419 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in collectValuesToDemote()
15427 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth - 1); in collectValuesToDemote()
15448 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth - 1); in collectValuesToDemote()
15738 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, MaxBitWidth); in computeMinimumValueSizes()
/freebsd-head/contrib/llvm-project/llvm/lib/Target/RISCV/
HDRISCVISelDAGToDAG.cpp2920 APInt Mask = APInt::getBitsSetFrom(VT.getSizeInBits(), Bits); in selectZExtBits()
HDRISCVISelLowering.cpp13416 APInt Mask = APInt::getBitsSetFrom(VT.getSizeInBits(), 1); in combineAddOfBooleanXor()
13584 APInt Mask = APInt::getBitsSetFrom(VT.getSizeInBits(), 1); in combineDeMorganOfBoolean()
14535 APInt::getBitsSetFrom(ScalarBits, NarrowSize))) in fillUpExtensionSupportForSplat()
15744 APInt Mask = APInt::getBitsSetFrom(VT.getSizeInBits(), 1); in tryDemorganOfBooleanCondition()
15843 APInt Mask = APInt::getBitsSetFrom(LHS.getValueSizeInBits(), 1); in combine_CC()
16899 APInt Mask = APInt::getBitsSetFrom(NewCond.getValueSizeInBits(), 1); in PerformDAGCombine()
/freebsd-head/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
HDSelectionDAG.cpp4152 Known.Zero |= APInt::getBitsSetFrom(BitWidth, VT.getScalarSizeInBits()); in computeKnownBits()
6048 APInt HiBits = APInt::getBitsSetFrom(VT.getScalarSizeInBits(), in getNode()
HDTargetLowering.cpp4803 N0, APInt::getBitsSetFrom(N0.getValueSizeInBits(), 1))) { in SimplifySetCC()
HDDAGCombiner.cpp3721 APInt UpperBits = APInt::getBitsSetFrom(SrcVT.getScalarSizeInBits(), in getTruncatedUSUBSAT()
/freebsd-head/contrib/llvm-project/llvm/lib/Target/X86/
HDX86ISelLowering.cpp31590 DAG.MaskedValueIsZero(X, APInt::getBitsSetFrom(VT.getSizeInBits(), 8))) { in LowerPARITY()
54270 APInt UpperBits = APInt::getBitsSetFrom(SrcVT.getScalarSizeInBits(), in combineSetCC()
55241 APInt::getBitsSetFrom(OpVT.getSizeInBits(), VT.getSizeInBits()); in combineCMP()