Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Analysis/
DValueTracking.h317 enum class OverflowResult { AlwaysOverflows, MayOverflow, NeverOverflows }; enum
318 OverflowResult computeOverflowForUnsignedMul(Value *LHS, Value *RHS,
323 OverflowResult computeOverflowForUnsignedAdd(Value *LHS, Value *RHS,
328 OverflowResult computeOverflowForSignedAdd(Value *LHS, Value *RHS,
334 OverflowResult computeOverflowForSignedAdd(AddOperator *Add,
/external/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h376 Constant *&OverflowResult);
490 OverflowResult computeOverflowForUnsignedMul(Value *LHS, Value *RHS, in computeOverflowForUnsignedMul()
494 OverflowResult computeOverflowForUnsignedAdd(Value *LHS, Value *RHS, in computeOverflowForUnsignedAdd()
DInstCombineCompares.cpp2241 OverflowResult OR = computeOverflowForUnsignedAdd(LHS, RHS, &OrigI); in OptimizeOverflowCheck()
2242 if (OR == OverflowResult::NeverOverflows) in OptimizeOverflowCheck()
2246 if (OR == OverflowResult::AlwaysOverflows) in OptimizeOverflowCheck()
2283 OverflowResult OR = computeOverflowForUnsignedMul(LHS, RHS, &OrigI); in OptimizeOverflowCheck()
2284 if (OR == OverflowResult::NeverOverflows) in OptimizeOverflowCheck()
2287 if (OR == OverflowResult::AlwaysOverflows) in OptimizeOverflowCheck()
DInstCombineCalls.cpp873 Constant *OverflowResult = nullptr; in visitCallInst() local
875 *II, OperationResult, OverflowResult)) in visitCallInst()
876 return CreateOverflowTuple(II, OperationResult, OverflowResult); in visitCallInst()
DInstCombineAddSub.cpp1307 OverflowResult::NeverOverflows) { in visitAdd()
DInstCombineMulDivRem.cpp396 OverflowResult::NeverOverflows) { in visitMul()
/external/llvm/lib/Analysis/
DValueTracking.cpp3540 OverflowResult llvm::computeOverflowForUnsignedMul(Value *LHS, Value *RHS, in computeOverflowForUnsignedMul()
3567 return OverflowResult::NeverOverflows; in computeOverflowForUnsignedMul()
3578 return OverflowResult::NeverOverflows; in computeOverflowForUnsignedMul()
3585 return OverflowResult::AlwaysOverflows; in computeOverflowForUnsignedMul()
3587 return OverflowResult::MayOverflow; in computeOverflowForUnsignedMul()
3590 OverflowResult llvm::computeOverflowForUnsignedAdd(Value *LHS, Value *RHS, in computeOverflowForUnsignedAdd()
3606 return OverflowResult::AlwaysOverflows; in computeOverflowForUnsignedAdd()
3612 return OverflowResult::NeverOverflows; in computeOverflowForUnsignedAdd()
3616 return OverflowResult::MayOverflow; in computeOverflowForUnsignedAdd()
3619 static OverflowResult computeOverflowForSignedAdd( in computeOverflowForSignedAdd()
[all …]
/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp383 OverflowResult::NeverOverflows) in tryReassociateGEPAtIndex()