Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopPredication.cpp291 bool isSafeToTruncateWideIVType(Type *RangeCheckType);
294 Optional<LoopICmp> generateLoopLatchCheck(Type *RangeCheckType);
395 LoopPredication::generateLoopLatchCheck(Type *RangeCheckType) { in generateLoopLatchCheck() argument
398 if (RangeCheckType == LatchType) in generateLoopLatchCheck()
401 if (DL->getTypeSizeInBits(LatchType) < DL->getTypeSizeInBits(RangeCheckType)) in generateLoopLatchCheck()
403 if (!isSafeToTruncateWideIVType(RangeCheckType)) in generateLoopLatchCheck()
410 SE->getTruncateExpr(LatchCheck.IV, RangeCheckType)); in generateLoopLatchCheck()
413 NewLatchCheck.Limit = SE->getTruncateExpr(LatchCheck.Limit, RangeCheckType); in generateLoopLatchCheck()
416 << *RangeCheckType << "\n"); in generateLoopLatchCheck()
695 bool LoopPredication::isSafeToTruncateWideIVType(Type *RangeCheckType) { in isSafeToTruncateWideIVType() argument
[all …]