Home
last modified time | relevance | path

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

12

/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleConstraintManager.cpp28 bool Assumption) { in assumeInternal() argument
42 return assume(State, Cond.castAs<NonLoc>(), Assumption); in assumeInternal()
46 NonLoc Cond, bool Assumption) { in assume() argument
47 State = assumeAux(State, Cond, Assumption); in assume()
49 return EE->processAssume(State, Cond, Assumption); in assume()
55 bool Assumption) { in assumeAux() argument
63 return assumeSymUnsupported(State, Sym, Assumption); in assumeAux()
74 return assumeSym(State, Sym, Assumption); in assumeAux()
79 bool isFeasible = b ? Assumption : !Assumption; in assumeAux()
85 bool IsFeasible = IsNull ? Assumption : !Assumption; in assumeAux()
[all …]
H A DConstraintManager.cpp94 auto AssumeFun = [&, Cond](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 DRangedConstraintManager.cpp25 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 DProgramState.cpp376 bool Assumption, in assumeInBound() argument
380 return Assumption ? R.first : R.second; in assumeInBound()
H A DCheckerManager.cpp638 SVal Cond, bool Assumption) { in runCheckersForEvalAssume() argument
644 state = EvalAssumeChecker(state, Cond, Assumption); in runCheckersForEvalAssume()
/src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSimpleConstraintManager.h45 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 DConstraintManager.h78 bool Assumption);
163 DefinedSVal Cond, bool Assumption) = 0;
H A DSMTConstraintManager.h48 bool Assumption) override { in REGISTER_TRAIT_WITH_PROGRAMSTATE()
62 SMTConv::getZeroExpr(Solver, Ctx, Exp, RetTy, !Assumption)); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
64 return assumeExpr(State, Sym, Assumption ? Exp : Solver->mkNot(Exp)); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
77 bool Assumption) override { in REGISTER_TRAIT_WITH_PROGRAMSTATE()
H A DProgramState.h709 bool Assumption) const { in assume() argument
714 ->assume(this, Cond.castAs<DefinedSVal>(), Assumption); in assume()
728 bool Assumption) const { in assumeInclusiveRange() argument
735 this, Val.castAs<NonLoc>(), From, To, Assumption); in assumeInclusiveRange()
H A DSMTConv.h504 QualType Ty, bool Assumption) { in getZeroExpr() argument
508 return fromFloatBinOp(Solver, Exp, Assumption ? BO_EQ : BO_NE, in getZeroExpr()
518 return Assumption ? fromUnOp(Solver, UO_LNot, Exp) : Exp; in getZeroExpr()
521 Solver, Exp, Assumption ? BO_EQ : BO_NE, in getZeroExpr()
H A DRangedConstraintManager.h419 bool Assumption) override;
427 bool Assumption) override;
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAttr.cpp709 auto *Assumption = A.getArgAsExpr(0); in ActOnCXXAssumeAttr() local
711 if (DiagnoseUnexpandedParameterPack(Assumption)) { in ActOnCXXAssumeAttr()
715 if (Assumption->getDependence() == ExprDependence::None) { in ActOnCXXAssumeAttr()
716 ExprResult Res = BuildCXXAssumeExpr(Assumption, A.getAttrName(), Range); in ActOnCXXAssumeAttr()
719 Assumption = Res.get(); in ActOnCXXAssumeAttr()
726 return Assumption; in ActOnCXXAssumeAttr()
729 ExprResult Sema::BuildCXXAssumeExpr(Expr *Assumption, in BuildCXXAssumeExpr() argument
732 ExprResult Res = CorrectDelayedTyposInExpr(Assumption); in BuildCXXAssumeExpr()
744 Assumption = Res.get(); in BuildCXXAssumeExpr()
745 if (Assumption->HasSideEffects(Context)) in BuildCXXAssumeExpr()
[all …]
/src/sys/dev/sound/pci/
H A Dallegro_reg.h407 #error Assumption about code memory unit length failed.
410 #error Assumption about code memory unit length failed.
425 #error Assumption about data memory unit length failed.
428 #error Assumption about data memory unit length failed.
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DSetgidSetuidOrderChecker.cpp48 bool Assumption) const;
92 bool Assumption) const { in evalAssume()
H A DBasicObjCFoundationChecks.cpp921 SymbolRef CollectionS, bool Assumption) { in assumeCollectionNonEmpty() argument
929 return State->set<ContainerNonEmptyMap>(CollectionS, Assumption); in assumeCollectionNonEmpty()
930 return (Assumption == *KnownNonEmpty) ? State : nullptr; in assumeCollectionNonEmpty()
947 return State->assume(*CountGreaterThanZero, Assumption); in assumeCollectionNonEmpty()
953 bool Assumption) { in assumeCollectionNonEmpty() argument
958 return assumeCollectionNonEmpty(C, State, CollectionS, Assumption); in assumeCollectionNonEmpty()
H A DMacOSKeychainAPIChecker.cpp70 bool Assumption) const;
498 bool Assumption) const { in evalAssume()
517 if (!Assumption) in evalAssume()
H A DCheckerDocumentation.cpp244 bool Assumption) const { return State; } in evalAssume()
H A DCheckObjCDealloc.cpp127 bool Assumption) const;
413 bool Assumption) const { in evalAssume()
422 if (Assumption) { in evalAssume()
H A DTrustNonnullChecker.cpp67 bool Assumption) const { in evalAssume()
H A DFuchsiaHandleChecker.cpp204 bool Assumption) const;
541 bool Assumption) const { in evalAssume()
H A DNullabilityChecker.cpp110 bool Assumption) const;
951 bool Assumption) const { in evalAssume()
/src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporterVisitors.h398 const bool Assumption; variable
408 : Message(Message), Constraint(constraint), Assumption(assumption) {} in TrackConstraintBRVisitor()
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp2587 llvm::Instruction *Assumption = Builder.CreateAlignmentAssumption( in emitAlignmentAssumption() local
2593 OffsetValue, TheCheck, Assumption); in emitAlignmentAssumption()
2977 llvm::Instruction *Assumption) { in emitAlignmentAssumptionCheck() argument
2978 assert(isa_and_nonnull<llvm::CallInst>(Assumption) && in emitAlignmentAssumptionCheck()
2979 cast<llvm::CallInst>(Assumption)->getCalledOperand() == in emitAlignmentAssumptionCheck()
2984 assert(&(Builder.GetInsertBlock()->back()) == Assumption && in emitAlignmentAssumptionCheck()
2998 Assumption->removeFromParent(); in emitAlignmentAssumptionCheck()
3018 Builder.Insert(Assumption); in emitAlignmentAssumptionCheck()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.h315 bool Assumption) const;
/src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/
H A DCheckerManager.h434 SVal Cond, bool Assumption);

12