Searched refs:OverflowResult (Results 1 – 8 of 8) sorted by relevance
/external/llvm/include/llvm/Analysis/ |
D | ValueTracking.h | 317 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/ |
D | InstCombineInternal.h | 376 Constant *&OverflowResult); 490 OverflowResult computeOverflowForUnsignedMul(Value *LHS, Value *RHS, in computeOverflowForUnsignedMul() 494 OverflowResult computeOverflowForUnsignedAdd(Value *LHS, Value *RHS, in computeOverflowForUnsignedAdd()
|
D | InstCombineCompares.cpp | 2241 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()
|
D | InstCombineCalls.cpp | 873 Constant *OverflowResult = nullptr; in visitCallInst() local 875 *II, OperationResult, OverflowResult)) in visitCallInst() 876 return CreateOverflowTuple(II, OperationResult, OverflowResult); in visitCallInst()
|
D | InstCombineAddSub.cpp | 1307 OverflowResult::NeverOverflows) { in visitAdd()
|
D | InstCombineMulDivRem.cpp | 396 OverflowResult::NeverOverflows) { in visitMul()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 3540 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/ |
D | NaryReassociate.cpp | 383 OverflowResult::NeverOverflows) in tryReassociateGEPAtIndex()
|