| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | DemandedBits.cpp | 145 AB = APInt::getBitsSetFrom(BitWidth, AOut.countr_zero()); in determineLiveOperandBits()
|
| H A D | ValueTracking.cpp | 9736 Upper = APInt::getBitsSetFrom(Width, C->getZExtValue()) + 1; in setLimitsForBinOp()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APFixedPoint.cpp | 53 auto Mask = APInt::getBitsSetFrom( in convert()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 295 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 D | InstCombineCompares.cpp | 6714 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 D | ConstantRange.cpp | 905 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 D | AggressiveInstCombine.cpp | 467 APInt Mask = APInt::getBitsSetFrom(InputBits, Shift); in isCTTZTable()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 286 static APInt getBitsSetFrom(unsigned numBits, unsigned loBit) { in getBitsSetFrom() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
| H A D | RISCVInstructionSelector.cpp | 388 if (VT->maskedValueIsZero(RootReg, APInt::getBitsSetFrom(Size, Bits))) in selectZExtBits()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelValueTracking.cpp | 156 Mask.Zero = APInt::getBitsSetFrom( in extractBits()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 20118 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 D | RISCVISelDAGToDAG.cpp | 3292 APInt Mask = APInt::getBitsSetFrom(VT.getSizeInBits(), Bits); in selectZExtBits()
|
| H A D | RISCVISelLowering.cpp | 15375 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 D | SelectionDAG.cpp | 4389 Known.Zero |= APInt::getBitsSetFrom(BitWidth, VT.getScalarSizeInBits()); in computeKnownBits() 6458 APInt HiBits = APInt::getBitsSetFrom(VT.getScalarSizeInBits(), in getNode()
|
| H A D | TargetLowering.cpp | 5019 N0, APInt::getBitsSetFrom(N0.getValueSizeInBits(), 1))) { in SimplifySetCC()
|
| H A D | DAGCombiner.cpp | 3862 APInt UpperBits = APInt::getBitsSetFrom(SrcVT.getScalarSizeInBits(), in getTruncatedUSUBSAT()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 32799 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()
|