Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp147 AB = APInt::getBitsSetFrom(BitWidth, AOut.countr_zero()); in determineLiveOperandBits()
H A DValueTracking.cpp9435 Upper = APInt::getBitsSetFrom(Width, C->getZExtValue()) + 1; in setLimitsForBinOp()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp43 auto Mask = APInt::getBitsSetFrom( in convert()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp137 Mask.Zero = APInt::getBitsSetFrom( in extractBits()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.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()
H A DInstCombineCompares.cpp6309 return APInt::getBitsSetFrom(BitWidth, RHS->countr_one()); in getDemandedBitsLHSMask()
6314 return APInt::getBitsSetFrom(BitWidth, RHS->countr_zero()); in getDemandedBitsLHSMask()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp894 APInt Adjust = LowerDiv & APInt::getBitsSetFrom(getBitWidth(), DstTySize); in truncate()
1583 APInt::getBitsSetFrom(BW, RHS->getZExtValue()) + 1); in shl()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h266 static APInt getBitsSetFrom(unsigned numBits, unsigned loBit) { in getBitsSetFrom() function
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp459 APInt Mask = APInt::getBitsSetFrom(InputBits, Shift); in isCTTZTable()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.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/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp2920 APInt Mask = APInt::getBitsSetFrom(VT.getSizeInBits(), Bits); in selectZExtBits()
H A DRISCVISelLowering.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/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp4152 Known.Zero |= APInt::getBitsSetFrom(BitWidth, VT.getScalarSizeInBits()); in computeKnownBits()
6048 APInt HiBits = APInt::getBitsSetFrom(VT.getScalarSizeInBits(), in getNode()
H A DTargetLowering.cpp4803 N0, APInt::getBitsSetFrom(N0.getValueSizeInBits(), 1))) { in SimplifySetCC()
H A DDAGCombiner.cpp3721 APInt UpperBits = APInt::getBitsSetFrom(SrcVT.getScalarSizeInBits(), in getTruncatedUSUBSAT()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.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()