Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCasts.cpp328 static bool CanEvaluateTruncated(Value *V, Type *Ty) { in CanEvaluateTruncated() function
357 return CanEvaluateTruncated(I->getOperand(0), Ty) && in CanEvaluateTruncated()
358 CanEvaluateTruncated(I->getOperand(1), Ty); in CanEvaluateTruncated()
369 return CanEvaluateTruncated(I->getOperand(0), Ty) && in CanEvaluateTruncated()
370 CanEvaluateTruncated(I->getOperand(1), Ty); in CanEvaluateTruncated()
381 return CanEvaluateTruncated(I->getOperand(0), Ty); in CanEvaluateTruncated()
394 return CanEvaluateTruncated(I->getOperand(0), Ty); in CanEvaluateTruncated()
408 return CanEvaluateTruncated(SI->getTrueValue(), Ty) && in CanEvaluateTruncated()
409 CanEvaluateTruncated(SI->getFalseValue(), Ty); in CanEvaluateTruncated()
417 if (!CanEvaluateTruncated(PN->getIncomingValue(i), Ty)) in CanEvaluateTruncated()
[all …]
DInstCombineShifts.cpp95 return CanEvaluateTruncated(I->getOperand(0), Ty); in CanEvaluateShifted()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp142 return CanEvaluateTruncated(I->getOperand(0), Ty); in CanEvaluateShifted()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp149 return CanEvaluateTruncated(I->getOperand(0), Ty); in canEvaluateShifted()