Lines Matching refs:OverflowResult

6271 static OverflowResult mapOverflowResult(ConstantRange::OverflowResult OR) {  in mapOverflowResult()
6273 case ConstantRange::OverflowResult::MayOverflow: in mapOverflowResult()
6274 return OverflowResult::MayOverflow; in mapOverflowResult()
6275 case ConstantRange::OverflowResult::AlwaysOverflowsLow: in mapOverflowResult()
6276 return OverflowResult::AlwaysOverflowsLow; in mapOverflowResult()
6277 case ConstantRange::OverflowResult::AlwaysOverflowsHigh: in mapOverflowResult()
6278 return OverflowResult::AlwaysOverflowsHigh; in mapOverflowResult()
6279 case ConstantRange::OverflowResult::NeverOverflows: in mapOverflowResult()
6280 return OverflowResult::NeverOverflows; in mapOverflowResult()
6298 OverflowResult llvm::computeOverflowForUnsignedMul(const Value *LHS, in computeOverflowForUnsignedMul()
6308 OverflowResult llvm::computeOverflowForSignedMul(const Value *LHS, in computeOverflowForSignedMul()
6327 return OverflowResult::NeverOverflows; in computeOverflowForSignedMul()
6342 return OverflowResult::NeverOverflows; in computeOverflowForSignedMul()
6344 return OverflowResult::MayOverflow; in computeOverflowForSignedMul()
6347 OverflowResult
6358 static OverflowResult
6363 return OverflowResult::NeverOverflows; in computeOverflowForSignedAdd()
6382 return OverflowResult::NeverOverflows; in computeOverflowForSignedAdd()
6388 OverflowResult OR = in computeOverflowForSignedAdd()
6390 if (OR != OverflowResult::MayOverflow) in computeOverflowForSignedAdd()
6395 return OverflowResult::MayOverflow; in computeOverflowForSignedAdd()
6411 return OverflowResult::NeverOverflows; in computeOverflowForSignedAdd()
6414 return OverflowResult::MayOverflow; in computeOverflowForSignedAdd()
6417 OverflowResult llvm::computeOverflowForUnsignedSub(const Value *LHS, in computeOverflowForUnsignedSub()
6434 return OverflowResult::NeverOverflows; in computeOverflowForUnsignedSub()
6443 return OverflowResult::NeverOverflows; in computeOverflowForUnsignedSub()
6444 return OverflowResult::AlwaysOverflowsLow; in computeOverflowForUnsignedSub()
6453 OverflowResult llvm::computeOverflowForSignedSub(const Value *LHS, in computeOverflowForSignedSub()
6467 return OverflowResult::NeverOverflows; in computeOverflowForSignedSub()
6473 return OverflowResult::NeverOverflows; in computeOverflowForSignedSub()
6995 OverflowResult llvm::computeOverflowForSignedAdd(const AddOperator *Add, in computeOverflowForSignedAdd()
7001 OverflowResult