Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()