Searched refs:getBitsSetFrom (Results 1 – 12 of 12) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | DemandedBits.cpp | 173 AB = APInt::getBitsSetFrom(BitWidth, AOut.countTrailingZeros()); in determineLiveOperandBits()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | APFixedPoint.cpp | 35 auto Mask = APInt::getBitsSetFrom( in convert()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelKnownBits.cpp | 129 Mask.Zero = APInt::getBitsSetFrom( in extractBits()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 838 APInt Adjust = LowerDiv & APInt::getBitsSetFrom(getBitWidth(), DstTySize); in truncate() 1459 APInt::getBitsSetFrom(BW, RHS->getZExtValue()) + 1); in shl()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 269 static APInt getBitsSetFrom(unsigned numBits, unsigned loBit) { in getBitsSetFrom() function
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 409 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in canEvaluateTruncated() 438 APInt ShiftedBits = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in canEvaluateTruncated()
|
| H A D | InstCombineCompares.cpp | 5328 return APInt::getBitsSetFrom(BitWidth, RHS->countTrailingOnes()); in getDemandedBitsLHSMask() 5333 return APInt::getBitsSetFrom(BitWidth, RHS->countTrailingZeros()); in getDemandedBitsLHSMask()
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | APIntTest.cpp | 2202 TEST(APIntTest, getBitsSetFrom) { in TEST() argument 2203 APInt i64hi31 = APInt::getBitsSetFrom(64, 33); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 8373 APInt Mask = APInt::getBitsSetFrom(ScalarBits, NarrowSize); in combineVWADD_W_VL_VWSUB_W_VL() 8455 APInt Mask = APInt::getBitsSetFrom(ScalarBits, NarrowSize); in combineMUL_VLToVWMUL_VL() 8808 APInt Mask = APInt::getBitsSetFrom(LHS.getValueSizeInBits(), 1); in combine_CC()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 3769 Known.Zero |= APInt::getBitsSetFrom(BitWidth, VT.getScalarSizeInBits()); in computeKnownBits()
|
| H A D | DAGCombiner.cpp | 3340 APInt UpperBits = APInt::getBitsSetFrom(SrcVT.getScalarSizeInBits(), in getTruncatedUSUBSAT()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 31575 DAG.MaskedValueIsZero(X, APInt::getBitsSetFrom(VT.getSizeInBits(), 8))) { in LowerPARITY() 52141 APInt UpperBits = APInt::getBitsSetFrom(SrcVT.getScalarSizeInBits(), in combineSetCC() 53108 APInt::getBitsSetFrom(OpVT.getSizeInBits(), VT.getSizeInBits()); in combineCMP()
|