Home
last modified time | relevance | path

Searched refs:SubOverflow (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DConstraintSystem.h139 if (SubOverflow(R[0], int64_t(1), R[0])) {
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DInstructionCost.h122 if (SubOverflow(Value, RHS.Value, Result))
H A DMathExtras.h719 std::enable_if_t<std::is_signed_v<T>, T> SubOverflow(T X, T Y, T &Result) { in SubOverflow() function
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSequence.h89 #include "llvm/Support/MathExtras.h" // AddOverflow / SubOverflow
159 if (SubOverflow(Value, Other.Value, Result))
H A DDynamicAPInt.h307 bool Overflow = SubOverflow(getSmall(), O.getSmall(), Result.getSmall());
447 bool Overflow = SubOverflow(getSmall(), O.getSmall(), Result);
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegral.h274 return llvm::SubOverflow<T>(A, B, R);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstraintElimination.cpp709 if (SubOverflow(R[GetOrAddIndex(KV.Variable)], KV.Coefficient, in getConstraint()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp1764 case BO_Sub: Check = SanitizerHandler::SubOverflow; break; in EmitBinOpCheck()
3811 OverflowKind = SanitizerHandler::SubOverflow; in EmitOverflowCheckedBinOp()
H A DCodeGenFunction.h137 SANITIZER_CHECK(SubOverflow, sub_overflow, 0) \
H A DCGBuiltin.cpp2053 CGF.EmitTrapCheck(NotOverflow, SanitizerHandler::SubOverflow); in EmitOverflowCheckedAbs()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DBuiltins.td4181 def SubOverflow : Builtin {