Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp144 unsigned OrigBitWidth = in getMinBitWidth() local
209 return OrigBitWidth; in getMinBitWidth()
214 MinBitWidth = Ty ? Ty->getScalarSizeInBits() : OrigBitWidth; in getMinBitWidth()
220 bool FromLegal = MinBitWidth == 1 || DL.isLegalInteger(OrigBitWidth); in getMinBitWidth()
223 return OrigBitWidth; in getMinBitWidth()
258 unsigned OrigBitWidth = in getBestTruncatedType() local
267 if (MinBitWidth >= OrigBitWidth || in getBestTruncatedType()
/external/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp157 unsigned OrigBitWidth = in getMinBitWidth() local
222 return OrigBitWidth; in getMinBitWidth()
227 MinBitWidth = Ty ? Ty->getScalarSizeInBits() : OrigBitWidth; in getMinBitWidth()
233 bool FromLegal = MinBitWidth == 1 || DL.isLegalInteger(OrigBitWidth); in getMinBitWidth()
236 return OrigBitWidth; in getMinBitWidth()
271 unsigned OrigBitWidth = in getBestTruncatedType() local
280 if (MinBitWidth >= OrigBitWidth || in getBestTruncatedType()
/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/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp386 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated() local
388 assert(BitWidth < OrigBitWidth && "Unexpected bitwidths!"); in canEvaluateTruncated()
389 APInt Mask = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in canEvaluateTruncated()
414 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated() local
418 APInt ShiftedBits = APInt::getBitsSetFrom(OrigBitWidth, BitWidth); in canEvaluateTruncated()
432 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated() local
436 unsigned ShiftedBits = OrigBitWidth - BitWidth; in canEvaluateTruncated()
/external/swiftshader/third_party/llvm-10.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.cpp497 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateShifted()
500 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) && in canEvaluateShifted()