Home
last modified time | relevance | path

Searched refs:OrigBitWidth (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp145 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/
DInstCombineCasts.cpp363 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()
DInstCombineShifts.cpp90 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateShifted()
93 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) && in CanEvaluateShifted()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp367 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()
DInstCombineShifts.cpp137 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/
DInstCombineCasts.cpp365 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()
DInstCombineShifts.cpp144 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateShifted()
147 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) && in canEvaluateShifted()