Searched refs:getBitsSetFrom (Results 1 – 13 of 13) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | DemandedBits.cpp | 173 AB = APInt::getBitsSetFrom(BitWidth, AOut.countTrailingZeros()); in determineLiveOperandBits()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | APFixedPoint.cpp | 43 auto Mask = APInt::getBitsSetFrom( in convert()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelKnownBits.cpp | 128 Mask.Zero = APInt::getBitsSetFrom( in extractBits()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 455 APInt Mask = APInt::getBitsSetFrom(InputBits, Shift); in isCTTZTable()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 835 APInt Adjust = LowerDiv & APInt::getBitsSetFrom(getBitWidth(), DstTySize); in truncate() 1456 APInt::getBitsSetFrom(BW, RHS->getZExtValue()) + 1); in shl()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 269 static APInt getBitsSetFrom(unsigned numBits, unsigned loBit) { in getBitsSetFrom() function
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 422 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in canEvaluateTruncated() 451 APInt ShiftedBits = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in canEvaluateTruncated()
|
| H A D | InstCombineCompares.cpp | 5327 return APInt::getBitsSetFrom(BitWidth, RHS->countTrailingOnes()); in getDemandedBitsLHSMask() 5332 return APInt::getBitsSetFrom(BitWidth, RHS->countTrailingZeros()); in getDemandedBitsLHSMask()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelDAGToDAG.cpp | 2156 APInt Mask = APInt::getBitsSetFrom(VT.getSizeInBits(), Bits); in selectZExtBits()
|
| H A D | RISCVISelLowering.cpp | 8550 APInt Mask = APInt::getBitsSetFrom(VT.getSizeInBits(), 1); in combineDeMorganOfBoolean() 9173 APInt::getBitsSetFrom(ScalarBits, NarrowSize))) in fillUpExtensionSupport() 9903 APInt Mask = APInt::getBitsSetFrom(VT.getSizeInBits(), 1); in tryDemorganOfBooleanCondition() 10004 APInt Mask = APInt::getBitsSetFrom(LHS.getValueSizeInBits(), 1); in combine_CC()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 3834 Known.Zero |= APInt::getBitsSetFrom(BitWidth, VT.getScalarSizeInBits()); in computeKnownBits()
|
| H A D | DAGCombiner.cpp | 3370 APInt UpperBits = APInt::getBitsSetFrom(SrcVT.getScalarSizeInBits(), in getTruncatedUSUBSAT()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 32461 DAG.MaskedValueIsZero(X, APInt::getBitsSetFrom(VT.getSizeInBits(), 8))) { in LowerPARITY() 53478 APInt UpperBits = APInt::getBitsSetFrom(SrcVT.getScalarSizeInBits(), in combineSetCC() 54445 APInt::getBitsSetFrom(OpVT.getSizeInBits(), VT.getSizeInBits()); in combineCMP()
|