Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DValueTracking.h401 enum class OverflowResult { AlwaysOverflows, MayOverflow, NeverOverflows }; enum
403 OverflowResult computeOverflowForUnsignedMul(const Value *LHS,
409 OverflowResult computeOverflowForSignedMul(const Value *LHS, const Value *RHS,
414 OverflowResult computeOverflowForUnsignedAdd(const Value *LHS,
420 OverflowResult computeOverflowForSignedAdd(const Value *LHS, const Value *RHS,
426 OverflowResult computeOverflowForSignedAdd(const AddOperator *Add,
431 OverflowResult computeOverflowForUnsignedSub(const Value *LHS, const Value *RHS,
436 OverflowResult computeOverflowForSignedSub(const Value *LHS, const Value *RHS,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h462 Constant *&OverflowResult);
490 OverflowResult::NeverOverflows; in willNotOverflowSignedAdd()
496 OverflowResult::NeverOverflows; in willNotOverflowUnsignedAdd()
502 OverflowResult::NeverOverflows; in willNotOverflowSignedSub()
508 OverflowResult::NeverOverflows; in willNotOverflowUnsignedSub()
514 OverflowResult::NeverOverflows; in willNotOverflowSignedMul()
520 OverflowResult::NeverOverflows; in willNotOverflowUnsignedMul()
660 OverflowResult computeOverflowForUnsignedMul(const Value *LHS, in computeOverflowForUnsignedMul()
666 OverflowResult computeOverflowForSignedMul(const Value *LHS, in computeOverflowForSignedMul()
672 OverflowResult computeOverflowForUnsignedAdd(const Value *LHS, in computeOverflowForUnsignedAdd()
[all …]
DInstCombineCompares.cpp3764 OverflowResult OR = computeOverflowForUnsignedAdd(LHS, RHS, &OrigI); in OptimizeOverflowCheck()
3765 if (OR == OverflowResult::NeverOverflows) in OptimizeOverflowCheck()
3769 if (OR == OverflowResult::AlwaysOverflows) in OptimizeOverflowCheck()
3808 OverflowResult OR = computeOverflowForUnsignedMul(LHS, RHS, &OrigI); in OptimizeOverflowCheck()
3809 if (OR == OverflowResult::NeverOverflows) in OptimizeOverflowCheck()
3812 if (OR == OverflowResult::AlwaysOverflows) in OptimizeOverflowCheck()
DInstCombineCalls.cpp2029 Constant *OverflowResult = nullptr; in visitCallInst() local
2031 *II, OperationResult, OverflowResult)) in visitCallInst()
2032 return CreateOverflowTuple(II, OperationResult, OverflowResult); in visitCallInst()
/external/llvm/include/llvm/Analysis/
DValueTracking.h322 enum class OverflowResult { AlwaysOverflows, MayOverflow, NeverOverflows }; enum
323 OverflowResult computeOverflowForUnsignedMul(Value *LHS, Value *RHS,
328 OverflowResult computeOverflowForUnsignedAdd(Value *LHS, Value *RHS,
333 OverflowResult computeOverflowForSignedAdd(Value *LHS, Value *RHS,
339 OverflowResult computeOverflowForSignedAdd(AddOperator *Add,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DValueTracking.cpp3706 OverflowResult llvm::computeOverflowForUnsignedMul(const Value *LHS, in computeOverflowForUnsignedMul()
3730 return OverflowResult::NeverOverflows; in computeOverflowForUnsignedMul()
3741 return OverflowResult::NeverOverflows; in computeOverflowForUnsignedMul()
3748 return OverflowResult::AlwaysOverflows; in computeOverflowForUnsignedMul()
3750 return OverflowResult::MayOverflow; in computeOverflowForUnsignedMul()
3753 OverflowResult llvm::computeOverflowForSignedMul(const Value *LHS, in computeOverflowForSignedMul()
3775 return OverflowResult::NeverOverflows; in computeOverflowForSignedMul()
3790 return OverflowResult::NeverOverflows; in computeOverflowForSignedMul()
3792 return OverflowResult::MayOverflow; in computeOverflowForSignedMul()
3795 OverflowResult llvm::computeOverflowForUnsignedAdd(const Value *LHS, in computeOverflowForUnsignedAdd()
[all …]
/external/llvm/lib/Analysis/
DValueTracking.cpp3275 OverflowResult llvm::computeOverflowForUnsignedMul(Value *LHS, Value *RHS, in computeOverflowForUnsignedMul()
3302 return OverflowResult::NeverOverflows; in computeOverflowForUnsignedMul()
3313 return OverflowResult::NeverOverflows; in computeOverflowForUnsignedMul()
3320 return OverflowResult::AlwaysOverflows; in computeOverflowForUnsignedMul()
3322 return OverflowResult::MayOverflow; in computeOverflowForUnsignedMul()
3325 OverflowResult llvm::computeOverflowForUnsignedAdd(Value *LHS, Value *RHS, in computeOverflowForUnsignedAdd()
3341 return OverflowResult::AlwaysOverflows; in computeOverflowForUnsignedAdd()
3347 return OverflowResult::NeverOverflows; in computeOverflowForUnsignedAdd()
3351 return OverflowResult::MayOverflow; in computeOverflowForUnsignedAdd()
3354 static OverflowResult computeOverflowForSignedAdd( in computeOverflowForSignedAdd()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h381 Constant *&OverflowResult);
496 OverflowResult computeOverflowForUnsignedMul(Value *LHS, Value *RHS, in computeOverflowForUnsignedMul()
500 OverflowResult computeOverflowForUnsignedAdd(Value *LHS, Value *RHS, in computeOverflowForUnsignedAdd()
DInstCombineCompares.cpp2599 OverflowResult OR = computeOverflowForUnsignedAdd(LHS, RHS, &OrigI); in OptimizeOverflowCheck()
2600 if (OR == OverflowResult::NeverOverflows) in OptimizeOverflowCheck()
2604 if (OR == OverflowResult::AlwaysOverflows) in OptimizeOverflowCheck()
2641 OverflowResult OR = computeOverflowForUnsignedMul(LHS, RHS, &OrigI); in OptimizeOverflowCheck()
2642 if (OR == OverflowResult::NeverOverflows) in OptimizeOverflowCheck()
2645 if (OR == OverflowResult::AlwaysOverflows) in OptimizeOverflowCheck()
DInstCombineCalls.cpp1458 Constant *OverflowResult = nullptr; in visitCallInst() local
1460 *II, OperationResult, OverflowResult)) in visitCallInst()
1461 return CreateOverflowTuple(II, OperationResult, OverflowResult); in visitCallInst()
DInstCombineMulDivRem.cpp399 OverflowResult::NeverOverflows) { in visitMul()
DInstCombineAddSub.cpp1287 OverflowResult::NeverOverflows) { in visitAdd()
/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp352 OverflowResult::NeverOverflows) in tryReassociateGEPAtIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp349 OverflowResult::NeverOverflows) in tryReassociateGEPAtIndex()