Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp145 AB = APInt::getBitsSetFrom(BitWidth, AOut.countr_zero()); in determineLiveOperandBits()
H A DValueTracking.cpp9736 Upper = APInt::getBitsSetFrom(Width, C->getZExtValue()) + 1; in setLimitsForBinOp()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp53 auto Mask = APInt::getBitsSetFrom( in convert()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp295 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in canEvaluateTruncated()
326 APInt ShiftedBits = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in canEvaluateTruncated()
962 MaskedValueIsZero(Src, APInt::getBitsSetFrom(SrcWidth, DestWidth), in visitTrunc()
H A DInstCombineCompares.cpp6714 return APInt::getBitsSetFrom(BitWidth, RHS->countr_one()); in getDemandedBitsLHSMask()
6719 return APInt::getBitsSetFrom(BitWidth, RHS->countr_zero()); in getDemandedBitsLHSMask()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp905 APInt Adjust = LowerDiv & APInt::getBitsSetFrom(getBitWidth(), DstTySize); in truncate()
1665 APInt::getBitsSetFrom(BW, RHS->getZExtValue()) + 1); in shl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp467 APInt Mask = APInt::getBitsSetFrom(InputBits, Shift); in isCTTZTable()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h286 static APInt getBitsSetFrom(unsigned numBits, unsigned loBit) { in getBitsSetFrom() function
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVInstructionSelector.cpp388 if (VT->maskedValueIsZero(RootReg, APInt::getBitsSetFrom(Size, Bits))) in selectZExtBits()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelValueTracking.cpp156 Mask.Zero = APInt::getBitsSetFrom( in extractBits()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp20118 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in collectValuesToDemote()
20131 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth2 - 1); in collectValuesToDemote()
20336 APInt ShiftedBits = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in collectValuesToDemote()
20373 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in collectValuesToDemote()
20413 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in collectValuesToDemote()
20421 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth - 1); in collectValuesToDemote()
20442 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth - 1); in collectValuesToDemote()
20777 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, MaxBitWidth); in computeMinimumValueSizes()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp3292 APInt Mask = APInt::getBitsSetFrom(VT.getSizeInBits(), Bits); in selectZExtBits()
H A DRISCVISelLowering.cpp15375 APInt Mask = APInt::getBitsSetFrom(VT.getSizeInBits(), 1); in combineAddOfBooleanXor()
15574 APInt Mask = APInt::getBitsSetFrom(VT.getSizeInBits(), 1); in combineDeMorganOfBoolean()
16780 APInt::getBitsSetFrom(ScalarBits, NarrowSize))) in fillUpExtensionSupportForSplat()
18249 APInt Mask = APInt::getBitsSetFrom(VT.getSizeInBits(), 1); in tryDemorganOfBooleanCondition()
18327 const APInt Mask = APInt::getBitsSetFrom(VarOp.getValueSizeInBits(), 1); in combine_CC()
18400 APInt Mask = APInt::getBitsSetFrom(LHS.getValueSizeInBits(), 1); in combine_CC()
19943 APInt Mask = APInt::getBitsSetFrom(NewCond.getValueSizeInBits(), 1); in PerformDAGCombine()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp4389 Known.Zero |= APInt::getBitsSetFrom(BitWidth, VT.getScalarSizeInBits()); in computeKnownBits()
6458 APInt HiBits = APInt::getBitsSetFrom(VT.getScalarSizeInBits(), in getNode()
H A DTargetLowering.cpp5019 N0, APInt::getBitsSetFrom(N0.getValueSizeInBits(), 1))) { in SimplifySetCC()
H A DDAGCombiner.cpp3862 APInt UpperBits = APInt::getBitsSetFrom(SrcVT.getScalarSizeInBits(), in getTruncatedUSUBSAT()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp32799 DAG.MaskedValueIsZero(X, APInt::getBitsSetFrom(VT.getSizeInBits(), 8))) { in LowerPARITY()
56308 APInt UpperBits = APInt::getBitsSetFrom(SrcVT.getScalarSizeInBits(), in combineSetCC()
57360 APInt::getBitsSetFrom(OpVT.getSizeInBits(), VT.getSizeInBits()); in combineCMP()