| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/ |
| H A D | ubsan_diag.cc | 281 Range *InRange = upperBound(Min, Ranges, NumRanges); in PrintMemorySnippet() local 284 if (InRange && InRange->getEnd().getMemoryLocation() == P) in PrintMemorySnippet() 285 InRange = upperBound(P, Ranges, NumRanges); in PrintMemorySnippet() 286 if (!InRange && P > Loc) in PrintMemorySnippet() 288 if (InRange && InRange->getStart().getMemoryLocation() < P) in PrintMemorySnippet() 290 if (InRange && InRange->getStart().getMemoryLocation() <= P) in PrintMemorySnippet() 301 InRange = 0; in PrintMemorySnippet() 304 if (!InRange || InRange->getEnd().getMemoryLocation() == P) in PrintMemorySnippet() 305 InRange = upperBound(P, Ranges, NumRanges); in PrintMemorySnippet() 306 if (!InRange) in PrintMemorySnippet() [all …]
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/ubsan/ |
| H A D | ubsan_diag.cc | 283 Range *InRange = upperBound(Min, Ranges, NumRanges); in PrintMemorySnippet() local 286 if (InRange && InRange->getEnd().getMemoryLocation() == P) in PrintMemorySnippet() 287 InRange = upperBound(P, Ranges, NumRanges); in PrintMemorySnippet() 288 if (!InRange && P > Loc) in PrintMemorySnippet() 290 if (InRange && InRange->getStart().getMemoryLocation() < P) in PrintMemorySnippet() 292 if (InRange && InRange->getStart().getMemoryLocation() <= P) in PrintMemorySnippet() 303 InRange = 0; in PrintMemorySnippet() 306 if (!InRange || InRange->getEnd().getMemoryLocation() == P) in PrintMemorySnippet() 307 InRange = upperBound(P, Ranges, NumRanges); in PrintMemorySnippet() 308 if (!InRange) in PrintMemorySnippet() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/ubsan/ |
| H A D | ubsan_diag.cpp | 290 Range *InRange = upperBound(Min, Ranges, NumRanges); in PrintMemorySnippet() local 293 if (InRange && InRange->getEnd().getMemoryLocation() == P) in PrintMemorySnippet() 294 InRange = upperBound(P, Ranges, NumRanges); in PrintMemorySnippet() 295 if (!InRange && P > Loc) in PrintMemorySnippet() 297 if (InRange && InRange->getStart().getMemoryLocation() < P) in PrintMemorySnippet() 299 if (InRange && InRange->getStart().getMemoryLocation() <= P) in PrintMemorySnippet() 310 InRange = 0; in PrintMemorySnippet() 313 if (!InRange || InRange->getEnd().getMemoryLocation() == P) in PrintMemorySnippet() 314 InRange = upperBound(P, Ranges, NumRanges); in PrintMemorySnippet() 315 if (!InRange) in PrintMemorySnippet() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | SimpleConstraintManager.cpp | 96 const llvm::APSInt &To, bool InRange) { in assumeInclusiveRange() argument 106 return assumeSymInclusiveRange(State, Sym, From, To, InRange); in assumeInclusiveRange() 117 return assumeSymInclusiveRange(State, Sym, From, To, InRange); in assumeInclusiveRange() 124 bool isFeasible = (IsInRange == InRange); in assumeInclusiveRange()
|
| H A D | RangedConstraintManager.cpp | 95 const llvm::APSInt &To, bool InRange) { in assumeSymInclusiveRange() argument 114 if (InRange) in assumeSymInclusiveRange()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SimpleConstraintManager.h | 45 bool InRange) override; 65 bool InRange) = 0;
|
| H A D | SMTConv.h | 509 const llvm::APSInt &From, const llvm::APSInt &To, bool InRange) { in getRangeExpr() argument 523 return getBinExpr(Solver, Ctx, Exp, SymTy, InRange ? BO_EQ : BO_NE, in getRangeExpr() 535 getBinExpr(Solver, Ctx, Exp, SymTy, InRange ? BO_GE : BO_LT, FromExp, in getRangeExpr() 538 InRange ? BO_LE : BO_GT, ToExp, ToTy, in getRangeExpr() 541 return fromBinOp(Solver, LHS, InRange ? BO_LAnd : BO_LOr, RHS, in getRangeExpr()
|
| H A D | SMTConstraintManager.h | 66 bool InRange) override { in REGISTER_TRAIT_WITH_PROGRAMSTATE() 69 State, Sym, SMTConv::getRangeExpr(Solver, Ctx, Sym, From, To, InRange)); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
|
| H A D | RangedConstraintManager.h | 330 bool InRange) override;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/ |
| H A D | MicroMipsSizeReduction.cpp | 327 static bool InRange(int64_t Value, unsigned short Shift, int LBound, in InRange() function 344 if (!InRange(offset, Entry.Shift(), Entry.LBound(), Entry.HBound())) in ImmInRange()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 2575 bool InRange = true; in ConstantFoldGetElementPtr() local 2578 InRange &= isIndexInRangeOfArrayType(STy->getNumElements(), CI); in ConstantFoldGetElementPtr() 2584 if (InRange || Unknown) in ConstantFoldGetElementPtr()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/algorithm/ |
| H A D | searching.d | 4105 static struct InRange struct 4126 static assert(isInputRange!InRange); argument 4128 auto arr1 = InRange([5, 2, 3, 4, 5, 3, 6]); 4129 auto arr2 = InRange([7, 3, 8, 2, 1, 4]);
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
| H A D | Interp.h | 264 bool InRange(InterpState &S, CodePtr OpPC) { in InRange() function
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 11246 InRange = InRangeFlag, enumerator 11261 if (Value >= PromotedMin) return InRange; in compare() 11262 if (Value <= PromotedMax) return InRange; in compare() 11271 case -1: return InRange; in compare() 11424 bool InRange = Cmp & PromotedRange::InRangeFlag; in CheckTautologicalComparison() local 11425 if (InRange && IsEnumConstOrFromMacro(S, Constant)) in CheckTautologicalComparison() 11430 if (Other->refersToBitField() && InRange && Value == 0 && in CheckTautologicalComparison() 11470 if (!InRange || Other->isKnownToHaveBooleanValue()) { in CheckTautologicalComparison() 11474 S.PDiag(!InRange ? diag::warn_out_of_range_compare in CheckTautologicalComparison()
|