Home
last modified time | relevance | path

Searched refs:Assumption (Results 1 – 25 of 30) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleConstraintManager.cpp27 bool Assumption) { in assume() argument
41 return assume(State, Cond.castAs<NonLoc>(), Assumption); in assume()
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 DRangedConstraintManager.cpp25 bool Assumption) { in assumeSym() argument
30 return assumeSymUnsupported(State, Sym, Assumption); in assumeSym()
38 if (!Assumption) in assumeSym()
65 if (!Assumption) in assumeSym()
78 bool IsExpectedEqual = WasEqual == Assumption; in assumeSym()
92 return assumeSymUnsupported(State, Sym, Assumption); in assumeSym()
128 SymbolRef Sym, bool Assumption) { in assumeSymUnsupported() argument
140 if (Assumption) in assumeSymUnsupported()
H A DProgramState.cpp323 bool Assumption, in assumeInBound() argument
363 return CM.assume(this, inBound.castAs<DefinedSVal>(), Assumption); in assumeInBound()
H A DCheckerManager.cpp639 SVal Cond, bool Assumption) { in runCheckersForEvalAssume() argument
645 state = EvalAssumeChecker(state, Cond, Assumption); in runCheckersForEvalAssume()
H A DBugReporterVisitors.cpp1577 ID.AddBoolean(Assumption); in Profile()
1590 return (bool)N->getState()->assume(Constraint, !Assumption); in isUnderconstrained()
1624 os << (Assumption ? "non-null" : "null"); in VisitNode()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSimpleConstraintManager.h40 bool Assumption) override;
55 bool Assumption) = 0;
71 bool Assumption) = 0;
82 ProgramStateRef assume(ProgramStateRef State, NonLoc Cond, bool Assumption);
85 bool Assumption);
H A DSMTConstraintManager.h44 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 DRangedConstraintManager.h328 bool Assumption) override;
336 bool Assumption) override;
H A DSMTConv.h480 QualType Ty, bool Assumption) { in getZeroExpr() argument
484 return fromFloatBinOp(Solver, Exp, Assumption ? BO_EQ : BO_NE, in getZeroExpr()
494 return Assumption ? fromUnOp(Solver, UO_LNot, Exp) : Exp; in getZeroExpr()
497 Solver, Exp, Assumption ? BO_EQ : BO_NE, in getZeroExpr()
H A DProgramState.h667 bool Assumption) const { in assume() argument
672 ->assume(this, Cond.castAs<DefinedSVal>(), Assumption); in assume()
686 bool Assumption) const { in assumeInclusiveRange() argument
693 this, Val.castAs<NonLoc>(), From, To, Assumption); in assumeInclusiveRange()
H A DConstraintManager.h87 bool Assumption) = 0;
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DAssumptions.cpp27 return llvm::any_of(Strings, [=](StringRef Assumption) { in hasAssumption() argument
28 return Assumption == AssumptionStr; in hasAssumption()
/freebsd-13.1/sys/dev/sound/pci/
H A Dallegro_reg.h408 #error Assumption about code memory unit length failed.
411 #error Assumption about code memory unit length failed.
426 #error Assumption about data memory unit length failed.
429 #error Assumption about data memory unit length failed.
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporterVisitors.h388 bool Assumption; variable
398 : Constraint(constraint), Assumption(assumption), in TrackConstraintBRVisitor()
399 IsZeroCheck(!Assumption && Constraint.getAs<Loc>()) {} in TrackConstraintBRVisitor()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBasicObjCFoundationChecks.cpp915 SymbolRef CollectionS, bool Assumption) { in assumeCollectionNonEmpty() argument
923 return State->set<ContainerNonEmptyMap>(CollectionS, Assumption); in assumeCollectionNonEmpty()
924 return (Assumption == *KnownNonEmpty) ? State : nullptr; in assumeCollectionNonEmpty()
941 return State->assume(*CountGreaterThanZero, Assumption); in assumeCollectionNonEmpty()
947 bool Assumption) { in assumeCollectionNonEmpty() argument
952 return assumeCollectionNonEmpty(C, State, CollectionS, Assumption); in assumeCollectionNonEmpty()
H A DCheckerDocumentation.cpp241 bool Assumption) const { return State; } in evalAssume()
H A DMacOSKeychainAPIChecker.cpp67 bool Assumption) const;
507 bool Assumption) const { in evalAssume()
526 if (!Assumption) in evalAssume()
H A DCheckObjCDealloc.cpp121 bool Assumption) const;
405 bool Assumption) const { in evalAssume()
414 if (Assumption) { in evalAssume()
H A DTrustNonnullChecker.cpp67 bool Assumption) const { in evalAssume()
H A DFuchsiaHandleChecker.cpp203 bool Assumption) const;
544 bool Assumption) const { in evalAssume()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp2348 llvm::Instruction *Assumption = Builder.CreateAlignmentAssumption( in emitAlignmentAssumption() local
2354 OffsetValue, TheCheck, Assumption); in emitAlignmentAssumption()
2620 llvm::Instruction *Assumption) { in emitAlignmentAssumptionCheck() argument
2621 assert(Assumption && isa<llvm::CallInst>(Assumption) && in emitAlignmentAssumptionCheck()
2622 cast<llvm::CallInst>(Assumption)->getCalledOperand() == in emitAlignmentAssumptionCheck()
2627 assert(&(Builder.GetInsertBlock()->back()) == Assumption && in emitAlignmentAssumptionCheck()
2641 Assumption->removeFromParent(); in emitAlignmentAssumptionCheck()
2661 Builder.Insert(Assumption); in emitAlignmentAssumptionCheck()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.h316 bool Assumption) const;
H A DRetainCountChecker.cpp1152 bool Assumption) const { in evalAssume()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/
H A DCheckerManager.h435 SVal Cond, bool Assumption);
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp1602 StringRef Assumption = II->getName(); in ParseOpenMPAssumesDirective() local
1604 Assumption = Assumption.substr(ACMI.Identifier.size()); in ParseOpenMPAssumesDirective()
1605 Assumptions.push_back(Assumption); in ParseOpenMPAssumesDirective()

12