| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | SimpleConstraintManager.cpp | 27 bool Assumption) { in assumeInternal() argument 41 return assume(State, Cond.castAs<NonLoc>(), Assumption); in assumeInternal() 45 NonLoc Cond, bool Assumption) { in assume() argument 46 State = assumeAux(State, Cond, Assumption); in assume() 48 return EE->processAssume(State, Cond, Assumption); in assume() 54 bool Assumption) { in assumeAux() argument 62 return assumeSymUnsupported(State, Sym, Assumption); in assumeAux() 73 return assumeSym(State, Sym, Assumption); in assumeAux() 78 bool isFeasible = b ? Assumption : !Assumption; in assumeAux() 84 bool IsFeasible = IsNull ? Assumption : !Assumption; in assumeAux() [all …]
|
| H A D | ConstraintManager.cpp | 94 auto AssumeFun = [&](bool Assumption) { in assumeDual() argument 95 return assumeInternal(State, Cond, Assumption); in assumeDual() 104 auto AssumeFun = [&](bool Assumption) { in assumeInclusiveRangeDual() argument 105 return assumeInclusiveRangeInternal(State, Value, From, To, Assumption); in assumeInclusiveRangeDual() 111 DefinedSVal Cond, bool Assumption) { in assume() argument 113 return Assumption ? R.first : R.second; in assume()
|
| H A D | RangedConstraintManager.cpp | 25 bool Assumption) { in assumeSym() argument 30 return assumeSymUnsupported(State, Sym, Assumption); in assumeSym() 38 if (!Assumption) in assumeSym() 46 return assumeSymRel(State, SIE, (Assumption ? BO_NE : BO_EQ), Zero); in assumeSym() 70 if (!Assumption) in assumeSym() 83 bool IsExpectedEqual = WasEqual == Assumption; in assumeSym() 98 return assumeSymUnsupported(State, Sym, Assumption); in assumeSym() 134 SymbolRef Sym, bool Assumption) { in assumeSymUnsupported() argument 146 if (Assumption) in assumeSymUnsupported()
|
| H A D | ProgramState.cpp | 364 bool Assumption, in assumeInBound() argument 368 return Assumption ? R.first : R.second; in assumeInBound()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SimpleConstraintManager.h | 45 bool Assumption) = 0; 61 bool Assumption) = 0; 70 bool Assumption) override; 83 ProgramStateRef assume(ProgramStateRef State, NonLoc Cond, bool Assumption); 86 bool Assumption);
|
| H A D | ConstraintManager.h | 78 bool Assumption); 147 DefinedSVal Cond, bool Assumption) = 0;
|
| H A D | SMTConstraintManager.h | 44 bool Assumption) override { in REGISTER_TRAIT_WITH_PROGRAMSTATE() 58 SMTConv::getZeroExpr(Solver, Ctx, Exp, RetTy, !Assumption)); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 60 return assumeExpr(State, Sym, Assumption ? Exp : Solver->mkNot(Exp)); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 73 bool Assumption) override { in REGISTER_TRAIT_WITH_PROGRAMSTATE()
|
| H A D | ProgramState.h | 705 bool Assumption) const { in assume() argument 710 ->assume(this, Cond.castAs<DefinedSVal>(), Assumption); in assume() 724 bool Assumption) const { in assumeInclusiveRange() argument 731 this, Val.castAs<NonLoc>(), From, To, Assumption); in assumeInclusiveRange()
|
| H A D | SMTConv.h | 502 QualType Ty, bool Assumption) { in getZeroExpr() argument 506 return fromFloatBinOp(Solver, Exp, Assumption ? BO_EQ : BO_NE, in getZeroExpr() 516 return Assumption ? fromUnOp(Solver, UO_LNot, Exp) : Exp; in getZeroExpr() 519 Solver, Exp, Assumption ? BO_EQ : BO_NE, in getZeroExpr()
|
| H A D | RangedConstraintManager.h | 419 bool Assumption) override; 427 bool Assumption) override;
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| H A D | BugReporterVisitors.h | 389 bool Assumption; variable 399 : Constraint(constraint), Assumption(assumption), in TrackConstraintBRVisitor() 400 IsZeroCheck(!Assumption && isa<Loc>(Constraint)) {} in TrackConstraintBRVisitor()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | BasicObjCFoundationChecks.cpp | 913 SymbolRef CollectionS, bool Assumption) { in assumeCollectionNonEmpty() argument 921 return State->set<ContainerNonEmptyMap>(CollectionS, Assumption); in assumeCollectionNonEmpty() 922 return (Assumption == *KnownNonEmpty) ? State : nullptr; in assumeCollectionNonEmpty() 939 return State->assume(*CountGreaterThanZero, Assumption); in assumeCollectionNonEmpty() 945 bool Assumption) { in assumeCollectionNonEmpty() argument 950 return assumeCollectionNonEmpty(C, State, CollectionS, Assumption); in assumeCollectionNonEmpty()
|
| H A D | MacOSKeychainAPIChecker.cpp | 67 bool Assumption) const; 506 bool Assumption) const { in evalAssume() 525 if (!Assumption) in evalAssume()
|
| H A D | CheckerDocumentation.cpp | 241 bool Assumption) const { return State; } in evalAssume()
|
| H A D | CheckObjCDealloc.cpp | 121 bool Assumption) const; 405 bool Assumption) const { in evalAssume() 414 if (Assumption) { in evalAssume()
|
| H A D | TrustNonnullChecker.cpp | 67 bool Assumption) const { in evalAssume()
|
| H A D | FuchsiaHandleChecker.cpp | 203 bool Assumption) const; 540 bool Assumption) const { in evalAssume()
|
| /llvm-project-15.0.7/polly/include/polly/Support/ |
| H A D | ScopHelper.h | 56 struct Assumption { struct 76 using RecordedAssumptionsTy = llvm::SmallVector<Assumption, 8>; argument
|
| /llvm-project-15.0.7/llvm/test/CodeGen/RISCV/ |
| H A D | O0-pipeline.ll | 16 ; CHECK-NEXT: Assumption Cache Tracker
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 2415 llvm::Instruction *Assumption = Builder.CreateAlignmentAssumption( in emitAlignmentAssumption() local 2421 OffsetValue, TheCheck, Assumption); in emitAlignmentAssumption() 2686 llvm::Instruction *Assumption) { in emitAlignmentAssumptionCheck() argument 2687 assert(Assumption && isa<llvm::CallInst>(Assumption) && in emitAlignmentAssumptionCheck() 2688 cast<llvm::CallInst>(Assumption)->getCalledOperand() == in emitAlignmentAssumptionCheck() 2693 assert(&(Builder.GetInsertBlock()->back()) == Assumption && in emitAlignmentAssumptionCheck() 2707 Assumption->removeFromParent(); in emitAlignmentAssumptionCheck() 2727 Builder.Insert(Assumption); in emitAlignmentAssumptionCheck()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | O0-pipeline.ll | 12 ; CHECK-NEXT: Assumption Cache Tracker
|
| H A D | O3-pipeline.ll | 11 ; CHECK-NEXT: Assumption Cache Tracker 234 ; CHECK-NEXT: Assumption Cache Tracker
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | O0-pipeline.ll | 14 ; CHECK-NEXT: Assumption Cache Tracker
|
| /llvm-project-15.0.7/llvm/test/Transforms/BDCE/ |
| H A D | vectors.ll | 87 ; Assumption invalidation (adapted from invalidate-assumptions.ll)
|
| H A D | vectors-inseltpoison.ll | 87 ; Assumption invalidation (adapted from invalidate-assumptions.ll)
|