Searched refs:OverflowResult (Results 1 – 6 of 6) sorted by relevance
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | ValueTracking.h | 415 enum class OverflowResult { AlwaysOverflows, MayOverflow, NeverOverflows }; enum 417 OverflowResult computeOverflowForUnsignedMul(const Value *LHS, 424 OverflowResult computeOverflowForSignedMul(const Value *LHS, const Value *RHS, 430 OverflowResult computeOverflowForUnsignedAdd(const Value *LHS, 437 OverflowResult computeOverflowForSignedAdd(const Value *LHS, const Value *RHS, 443 OverflowResult computeOverflowForSignedAdd(const AddOperator *Add, 448 OverflowResult computeOverflowForUnsignedSub(const Value *LHS, const Value *RHS, 453 OverflowResult computeOverflowForSignedSub(const Value *LHS, const Value *RHS,
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineInternal.h | 469 Constant *&OverflowResult); 497 OverflowResult::NeverOverflows; in willNotOverflowSignedAdd() 503 OverflowResult::NeverOverflows; in willNotOverflowUnsignedAdd() 515 OverflowResult::NeverOverflows; in willNotOverflowSignedSub() 521 OverflowResult::NeverOverflows; in willNotOverflowUnsignedSub() 533 OverflowResult::NeverOverflows; in willNotOverflowSignedMul() 539 OverflowResult::NeverOverflows; in willNotOverflowUnsignedMul() 699 OverflowResult computeOverflowForUnsignedMul(const Value *LHS, in computeOverflowForUnsignedMul() 705 OverflowResult computeOverflowForSignedMul(const Value *LHS, in computeOverflowForSignedMul() 711 OverflowResult computeOverflowForUnsignedAdd(const Value *LHS, in computeOverflowForUnsignedAdd() [all …]
|
| H A D | InstCombineCalls.cpp | 2035 Constant *OverflowResult = nullptr; in visitCallInst() local 2037 *II, OperationResult, OverflowResult)) in visitCallInst() 2038 return CreateOverflowTuple(II, OperationResult, OverflowResult); in visitCallInst() 2055 OverflowResult OR; in visitCallInst() 2061 if (OR == OverflowResult::NeverOverflows) in visitCallInst() 2063 if (OR == OverflowResult::AlwaysOverflows) in visitCallInst() 2069 if (OR == OverflowResult::NeverOverflows) in visitCallInst() 2071 if (OR == OverflowResult::AlwaysOverflows) in visitCallInst()
|
| H A D | InstCombineCompares.cpp | 3841 OverflowResult OR = computeOverflowForUnsignedAdd(LHS, RHS, &OrigI); in OptimizeOverflowCheck() 3842 if (OR == OverflowResult::NeverOverflows) in OptimizeOverflowCheck() 3846 if (OR == OverflowResult::AlwaysOverflows) in OptimizeOverflowCheck() 3885 OverflowResult OR = computeOverflowForUnsignedMul(LHS, RHS, &OrigI); in OptimizeOverflowCheck() 3886 if (OR == OverflowResult::NeverOverflows) in OptimizeOverflowCheck() 3889 if (OR == OverflowResult::AlwaysOverflows) in OptimizeOverflowCheck()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 3953 return OverflowResult::NeverOverflows; in computeOverflowForUnsignedMul() 3964 return OverflowResult::NeverOverflows; in computeOverflowForUnsignedMul() 3973 return OverflowResult::MayOverflow; in computeOverflowForUnsignedMul() 3976 OverflowResult 3997 return OverflowResult::NeverOverflows; in computeOverflowForSignedMul() 4016 return OverflowResult::MayOverflow; in computeOverflowForSignedMul() 4040 return OverflowResult::MayOverflow; in computeOverflowForUnsignedAdd() 4125 return OverflowResult::MayOverflow; in computeOverflowForSignedAdd() 4143 return OverflowResult::MayOverflow; in computeOverflowForSignedAdd() 4165 return OverflowResult::MayOverflow; in computeOverflowForUnsignedSub() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | NaryReassociate.cpp | 349 OverflowResult::NeverOverflows) in tryReassociateGEPAtIndex()
|