Home
last modified time | relevance | path

Searched refs:CheckFn (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLastRunTrackingAnalysis.cpp45 CompatibilityCheckFn CheckFn) { in updateImpl() argument
48 TrackedPasses[ID] = std::move(CheckFn); in updateImpl()
H A DHashRecognize.cpp451 function_ref<bool(const KnownBits &)> CheckFn, in checkExtractBits() argument
455 return CheckFn(Known.extractBits(N, 0)); in checkExtractBits()
461 return CheckFn(Known.extractBits(N, BitPos)) && in checkExtractBits()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerManager.cpp75 checkers->push_back(info.CheckFn); in runCheckersOnASTDecl()
437 void runChecker(CheckBlockEntranceFunc CheckFn, NodeBuilder &Bldr, in runChecker()
440 checkerScopeName("BlockEntrance", CheckFn.Checker)); in runChecker()
441 CheckerContext C(Bldr, Eng, Pred, Entrance.withTag(CheckFn.Checker)); in runChecker()
442 CheckFn(Entrance, C); in runChecker()
988 Checkers.push_back(Info.CheckFn); in getCachedStmtCheckersFor()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLastRunTrackingAnalysis.h86 CompatibilityCheckFn CheckFn);
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp475 using CheckFn = typedef in __anon0957485b0411::MallocChecker
479 const CallDescriptionMap<CheckFn> PreFnMap{
486 const CallDescriptionMap<CheckFn> PostFnMap{
494 const CallDescriptionMap<CheckFn> FreeingMemFnMap{
510 CallDescriptionMap<CheckFn> AllocaMemFnMap{
520 CallDescriptionMap<CheckFn> AllocatingMemFnMap{
543 CallDescriptionMap<CheckFn> ReallocatingMemFnMap{
1617 if (const CheckFn *Callback = FreeingMemFnMap.lookup(Call)) { in evalCall()
1622 if (const CheckFn *Callback = AllocatingMemFnMap.lookup(Call)) { in evalCall()
1628 if (const CheckFn *Callback = ReallocatingMemFnMap.lookup(Call)) { in evalCall()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/
H A DCheckerManager.h636 CheckDeclFunc CheckFn; member
648 CheckStmtFunc CheckFn; member
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h474 function_ref<bool(const APTy &)> CheckFn; member
475 bool isValue(const APTy &C) const { return CheckFn(C); } in isValue()
481 m_CheckedInt(function_ref<bool(const APInt &)> CheckFn) { in m_CheckedInt() argument
482 return cst_pred_ty<custom_checkfn<APInt>>{{CheckFn}}; in m_CheckedInt()
486 m_CheckedInt(const Constant *&V, function_ref<bool(const APInt &)> CheckFn) { in m_CheckedInt() argument
487 return cst_pred_ty<custom_checkfn<APInt>>{{CheckFn}, &V}; in m_CheckedInt()
493 m_CheckedFp(function_ref<bool(const APFloat &)> CheckFn) { in m_CheckedFp() argument
494 return cstfp_pred_ty<custom_checkfn<APFloat>>{{CheckFn}}; in m_CheckedFp()
498 m_CheckedFp(const Constant *&V, function_ref<bool(const APFloat &)> CheckFn) { in m_CheckedFp() argument
499 return cstfp_pred_ty<custom_checkfn<APFloat>>{{CheckFn}, &V}; in m_CheckedFp()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp2829 const FunctionDecl *CheckFn = getTemplateInstantiationPattern(); in hasInlineBody() local
2830 if (!CheckFn) in hasInlineBody()
2831 CheckFn = this; in hasInlineBody()
2834 return CheckFn->isDefined(fn) && !fn->isOutOfLine() && in hasInlineBody()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp7490 template <typename CheckFn>
7493 CheckFn &&IsSuccessful) { in diagnoseDiagnoseIfAttrsWith()