Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp1430 ConstantRange::OverflowResult ConstantRange::unsignedAddMayOverflow( in unsignedAddMayOverflow()
1433 return OverflowResult::MayOverflow; in unsignedAddMayOverflow()
1440 return OverflowResult::AlwaysOverflowsHigh; in unsignedAddMayOverflow()
1442 return OverflowResult::MayOverflow; in unsignedAddMayOverflow()
1443 return OverflowResult::NeverOverflows; in unsignedAddMayOverflow()
1446 ConstantRange::OverflowResult ConstantRange::signedAddMayOverflow( in signedAddMayOverflow()
1449 return OverflowResult::MayOverflow; in signedAddMayOverflow()
1461 return OverflowResult::AlwaysOverflowsHigh; in signedAddMayOverflow()
1464 return OverflowResult::AlwaysOverflowsLow; in signedAddMayOverflow()
1468 return OverflowResult::MayOverflow; in signedAddMayOverflow()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantRange.h460 enum class OverflowResult { enum
472 OverflowResult unsignedAddMayOverflow(const ConstantRange &Other) const;
475 OverflowResult signedAddMayOverflow(const ConstantRange &Other) const;
478 OverflowResult unsignedSubMayOverflow(const ConstantRange &Other) const;
481 OverflowResult signedSubMayOverflow(const ConstantRange &Other) const;
484 OverflowResult unsignedMulMayOverflow(const ConstantRange &Other) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DValueTracking.h447 enum class OverflowResult { enum
458 OverflowResult computeOverflowForUnsignedMul(const Value *LHS,
465 OverflowResult computeOverflowForSignedMul(const Value *LHS, const Value *RHS,
471 OverflowResult computeOverflowForUnsignedAdd(const Value *LHS,
478 OverflowResult computeOverflowForSignedAdd(const Value *LHS, const Value *RHS,
484 OverflowResult computeOverflowForSignedAdd(const AddOperator *Add,
489 OverflowResult computeOverflowForUnsignedSub(const Value *LHS, const Value *RHS,
494 OverflowResult computeOverflowForSignedSub(const Value *LHS, const Value *RHS,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h506 Constant *&OverflowResult);
539 OverflowResult::NeverOverflows; in willNotOverflowSignedAdd()
545 OverflowResult::NeverOverflows; in willNotOverflowUnsignedAdd()
557 OverflowResult::NeverOverflows; in willNotOverflowSignedSub()
563 OverflowResult::NeverOverflows; in willNotOverflowUnsignedSub()
575 OverflowResult::NeverOverflows; in willNotOverflowSignedMul()
581 OverflowResult::NeverOverflows; in willNotOverflowUnsignedMul()
754 OverflowResult computeOverflowForUnsignedMul(const Value *LHS, in computeOverflowForUnsignedMul()
760 OverflowResult computeOverflowForSignedMul(const Value *LHS, in computeOverflowForSignedMul()
766 OverflowResult computeOverflowForUnsignedAdd(const Value *LHS, in computeOverflowForUnsignedAdd()
[all …]
DInstCombineCalls.cpp1778 Constant *OverflowResult = nullptr; in foldIntrinsicWithOverflowCommon() local
1780 WO->getRHS(), *WO, OperationResult, OverflowResult)) in foldIntrinsicWithOverflowCommon()
1781 return CreateOverflowTuple(WO, OperationResult, OverflowResult); in foldIntrinsicWithOverflowCommon()
2092 OverflowResult OR = computeOverflow(SI->getBinaryOp(), SI->isSigned(), in visitCallInst()
2095 case OverflowResult::MayOverflow: in visitCallInst()
2097 case OverflowResult::NeverOverflows: in visitCallInst()
2102 case OverflowResult::AlwaysOverflowsLow: { in visitCallInst()
2107 case OverflowResult::AlwaysOverflowsHigh: { in visitCallInst()
DInstCombineCompares.cpp4481 OverflowResult InstCombiner::computeOverflow( in computeOverflow()
4524 case OverflowResult::MayOverflow: in OptimizeOverflowCheck()
4526 case OverflowResult::AlwaysOverflowsLow: in OptimizeOverflowCheck()
4527 case OverflowResult::AlwaysOverflowsHigh: in OptimizeOverflowCheck()
4532 case OverflowResult::NeverOverflows: in OptimizeOverflowCheck()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp4146 static OverflowResult mapOverflowResult(ConstantRange::OverflowResult OR) { in mapOverflowResult()
4148 case ConstantRange::OverflowResult::MayOverflow: in mapOverflowResult()
4149 return OverflowResult::MayOverflow; in mapOverflowResult()
4150 case ConstantRange::OverflowResult::AlwaysOverflowsLow: in mapOverflowResult()
4151 return OverflowResult::AlwaysOverflowsLow; in mapOverflowResult()
4152 case ConstantRange::OverflowResult::AlwaysOverflowsHigh: in mapOverflowResult()
4153 return OverflowResult::AlwaysOverflowsHigh; in mapOverflowResult()
4154 case ConstantRange::OverflowResult::NeverOverflows: in mapOverflowResult()
4155 return OverflowResult::NeverOverflows; in mapOverflowResult()
4174 OverflowResult llvm::computeOverflowForUnsignedMul( in computeOverflowForUnsignedMul()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp349 OverflowResult::NeverOverflows) in tryReassociateGEPAtIndex()