Searched refs:OrigBitWidth (Results 1 – 7 of 7) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/ |
D | TruncInstCombine.cpp | 145 unsigned OrigBitWidth = in getMinBitWidth() local 210 return OrigBitWidth; in getMinBitWidth() 215 MinBitWidth = Ty ? Ty->getScalarSizeInBits() : OrigBitWidth; in getMinBitWidth() 221 bool FromLegal = MinBitWidth == 1 || DL.isLegalInteger(OrigBitWidth); in getMinBitWidth() 224 return OrigBitWidth; in getMinBitWidth() 259 unsigned OrigBitWidth = in getBestTruncatedType() local 268 if (MinBitWidth >= OrigBitWidth || in getBestTruncatedType()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 363 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateTruncated() local 365 if (BitWidth < OrigBitWidth) { in CanEvaluateTruncated() 366 APInt Mask = APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth); in CanEvaluateTruncated() 389 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateTruncated() local 392 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) && in CanEvaluateTruncated()
|
D | InstCombineShifts.cpp | 90 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateShifted() 93 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) && in CanEvaluateShifted()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 367 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated() local 369 if (BitWidth < OrigBitWidth) { in canEvaluateTruncated() 370 APInt Mask = APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth); in canEvaluateTruncated() 393 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated() local 396 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth), 0, CxtI) && in canEvaluateTruncated()
|
D | InstCombineShifts.cpp | 137 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateShifted() 140 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) && in CanEvaluateShifted()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 365 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated() local 367 assert(BitWidth < OrigBitWidth && "Unexpected bitwidths!"); in canEvaluateTruncated() 368 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in canEvaluateTruncated() 393 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated() local 397 APInt::getBitsSetFrom(OrigBitWidth, BitWidth), 0, CxtI)) { in canEvaluateTruncated() 411 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated() local 414 OrigBitWidth - BitWidth < in canEvaluateTruncated()
|
D | InstCombineShifts.cpp | 144 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateShifted() 147 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) && in canEvaluateShifted()
|