reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/ValueTracking.h
  452   OverflowResult computeOverflowForUnsignedMul(const Value *LHS,
  459   OverflowResult computeOverflowForSignedMul(const Value *LHS, const Value *RHS,
  465   OverflowResult computeOverflowForUnsignedAdd(const Value *LHS,
  472   OverflowResult computeOverflowForSignedAdd(const Value *LHS, const Value *RHS,
  478   OverflowResult computeOverflowForSignedAdd(const AddOperator *Add,
  483   OverflowResult computeOverflowForUnsignedSub(const Value *LHS, const Value *RHS,
  488   OverflowResult computeOverflowForSignedSub(const Value *LHS, const Value *RHS,
lib/Analysis/ValueTracking.cpp
 3983 static OverflowResult mapOverflowResult(ConstantRange::OverflowResult OR) {
 3986       return OverflowResult::MayOverflow;
 3988       return OverflowResult::AlwaysOverflowsLow;
 3990       return OverflowResult::AlwaysOverflowsHigh;
 3992       return OverflowResult::NeverOverflows;
 4011 OverflowResult llvm::computeOverflowForUnsignedMul(
 4024 OverflowResult
 4045     return OverflowResult::NeverOverflows;
 4062       return OverflowResult::NeverOverflows;
 4064   return OverflowResult::MayOverflow;
 4067 OverflowResult llvm::computeOverflowForUnsignedAdd(
 4080 static OverflowResult computeOverflowForSignedAdd(const Value *LHS,
 4088     return OverflowResult::NeverOverflows;
 4107     return OverflowResult::NeverOverflows;
 4113   OverflowResult OR =
 4115   if (OR != OverflowResult::MayOverflow)
 4120     return OverflowResult::MayOverflow;
 4137       return OverflowResult::NeverOverflows;
 4140   return OverflowResult::MayOverflow;
 4143 OverflowResult llvm::computeOverflowForUnsignedSub(const Value *LHS,
 4156 OverflowResult llvm::computeOverflowForSignedSub(const Value *LHS,
 4166     return OverflowResult::NeverOverflows;
 4226 OverflowResult llvm::computeOverflowForSignedAdd(const AddOperator *Add,
 4235 OverflowResult llvm::computeOverflowForSignedAdd(const Value *LHS,
lib/Transforms/InstCombine/InstCombineCalls.cpp
 2086     OverflowResult OR = computeOverflow(SI->getBinaryOp(), SI->isSigned(),
 2089       case OverflowResult::MayOverflow:
 2091       case OverflowResult::NeverOverflows:
 2096       case OverflowResult::AlwaysOverflowsLow: {
 2101       case OverflowResult::AlwaysOverflowsHigh: {
lib/Transforms/InstCombine/InstCombineCompares.cpp
 4446 OverflowResult InstCombiner::computeOverflow(
 4489     case OverflowResult::MayOverflow:
 4491     case OverflowResult::AlwaysOverflowsLow:
 4492     case OverflowResult::AlwaysOverflowsHigh:
 4497     case OverflowResult::NeverOverflows:
lib/Transforms/InstCombine/InstCombineInternal.h
  534            OverflowResult::NeverOverflows;
  540            OverflowResult::NeverOverflows;
  552            OverflowResult::NeverOverflows;
  558            OverflowResult::NeverOverflows;
  570            OverflowResult::NeverOverflows;
  576            OverflowResult::NeverOverflows;
  749   OverflowResult computeOverflowForUnsignedMul(const Value *LHS,
  755   OverflowResult computeOverflowForSignedMul(const Value *LHS,
  761   OverflowResult computeOverflowForUnsignedAdd(const Value *LHS,
  767   OverflowResult computeOverflowForSignedAdd(const Value *LHS,
  773   OverflowResult computeOverflowForUnsignedSub(const Value *LHS,
  779   OverflowResult computeOverflowForSignedSub(const Value *LHS, const Value *RHS,
  784   OverflowResult computeOverflow(
lib/Transforms/Scalar/NaryReassociate.cpp
  348             OverflowResult::NeverOverflows)