Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DDemandedBits.cpp173 AB = APInt::getBitsSetFrom(BitWidth, AOut.countTrailingZeros()); in determineLiveOperandBits()
/llvm-project-15.0.7/llvm/lib/Support/
H A DAPFixedPoint.cpp35 auto Mask = APInt::getBitsSetFrom( in convert()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp129 Mask.Zero = APInt::getBitsSetFrom( in extractBits()
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantRange.cpp838 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 DAPInt.h269 static APInt getBitsSetFrom(unsigned numBits, unsigned loBit) { in getBitsSetFrom() function
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp409 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in canEvaluateTruncated()
438 APInt ShiftedBits = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in canEvaluateTruncated()
H A DInstCombineCompares.cpp5328 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 DAPIntTest.cpp2202 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 DRISCVISelLowering.cpp8373 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 DSelectionDAG.cpp3769 Known.Zero |= APInt::getBitsSetFrom(BitWidth, VT.getScalarSizeInBits()); in computeKnownBits()
H A DDAGCombiner.cpp3340 APInt UpperBits = APInt::getBitsSetFrom(SrcVT.getScalarSizeInBits(), in getTruncatedUSUBSAT()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp31575 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()