Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp147 AB = APInt::getBitsSetFrom(BitWidth, AOut.countr_zero()); in determineLiveOperandBits()
H A DValueTracking.cpp8640 Upper = APInt::getBitsSetFrom(Width, C->getZExtValue()) + 1; in setLimitsForBinOp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp43 auto Mask = APInt::getBitsSetFrom( in convert()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp132 Mask.Zero = APInt::getBitsSetFrom( in extractBits()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp456 APInt Mask = APInt::getBitsSetFrom(InputBits, Shift); in isCTTZTable()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp838 APInt Adjust = LowerDiv & APInt::getBitsSetFrom(getBitWidth(), DstTySize); in truncate()
1490 APInt::getBitsSetFrom(BW, RHS->getZExtValue()) + 1); in shl()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h264 static APInt getBitsSetFrom(unsigned numBits, unsigned loBit) { in getBitsSetFrom() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp287 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in canEvaluateTruncated()
316 APInt ShiftedBits = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in canEvaluateTruncated()
H A DInstCombineCompares.cpp5980 return APInt::getBitsSetFrom(BitWidth, RHS->countr_one()); in getDemandedBitsLHSMask()
5985 return APInt::getBitsSetFrom(BitWidth, RHS->countr_zero()); in getDemandedBitsLHSMask()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp2719 APInt Mask = APInt::getBitsSetFrom(VT.getSizeInBits(), Bits); in selectZExtBits()
H A DRISCVISelLowering.cpp12506 APInt Mask = APInt::getBitsSetFrom(VT.getSizeInBits(), 1); in combineAddOfBooleanXor()
12635 APInt Mask = APInt::getBitsSetFrom(VT.getSizeInBits(), 1); in combineDeMorganOfBoolean()
13263 APInt::getBitsSetFrom(ScalarBits, NarrowSize))) in fillUpExtensionSupport()
14405 APInt Mask = APInt::getBitsSetFrom(VT.getSizeInBits(), 1); in tryDemorganOfBooleanCondition()
14504 APInt Mask = APInt::getBitsSetFrom(LHS.getValueSizeInBits(), 1); in combine_CC()
15383 APInt Mask = APInt::getBitsSetFrom(Cond.getValueSizeInBits(), 1); in PerformDAGCombine()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3978 Known.Zero |= APInt::getBitsSetFrom(BitWidth, VT.getScalarSizeInBits()); in computeKnownBits()
5717 APInt HiBits = APInt::getBitsSetFrom(VT.getScalarSizeInBits(), in getNode()
H A DDAGCombiner.cpp3727 APInt UpperBits = APInt::getBitsSetFrom(SrcVT.getScalarSizeInBits(), in getTruncatedUSUBSAT()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp31146 DAG.MaskedValueIsZero(X, APInt::getBitsSetFrom(VT.getSizeInBits(), 8))) { in LowerPARITY()
52987 APInt UpperBits = APInt::getBitsSetFrom(SrcVT.getScalarSizeInBits(), in combineSetCC()
53890 APInt::getBitsSetFrom(OpVT.getSizeInBits(), VT.getSizeInBits()); in combineCMP()