Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h623 static APInt getBitsSetFrom(unsigned numBits, unsigned loBit) { in getBitsSetFrom() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantRange.cpp683 APInt Adjust = LowerDiv & APInt::getBitsSetFrom(getBitWidth(), DstTySize); in truncate()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp368 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in canEvaluateTruncated()
397 APInt::getBitsSetFrom(OrigBitWidth, BitWidth), 0, CxtI)) { in canEvaluateTruncated()
DInstCombineCompares.cpp4100 return APInt::getBitsSetFrom(BitWidth, RHS->countTrailingOnes()); in getDemandedBitsLHSMask()
4105 return APInt::getBitsSetFrom(BitWidth, RHS->countTrailingZeros()); in getDemandedBitsLHSMask()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPIntTest.cpp1882 TEST(APIntTest, getBitsSetFrom) { in TEST() argument
1883 APInt i64hi31 = APInt::getBitsSetFrom(64, 33); in TEST()