Go to the source code of this file.
|
| STAT_COUNTER (NumFunctionTopLevel, "The # of functions at top level.") |
| ALWAYS_ENABLED_STATISTIC (NumFunctionsAnalyzed, "The # of functions and blocks analyzed (as top level " "with inlining turned on).") |
| ALWAYS_ENABLED_STATISTIC (NumBlocksInAnalyzedFunctions, "The # of basic blocks in the analyzed functions.") |
| ALWAYS_ENABLED_STATISTIC (NumVisitedBlocksInAnalyzedFunctions, "The # of visited basic blocks in the analyzed functions.") |
| ALWAYS_ENABLED_STATISTIC (PercentReachableBlocks, "The % of reachable basic blocks.") |
| STAT_MAX (MaxCFGSize, "The maximum number of basic blocks in a function.") |
static bool | shouldSkipFunction (const Decl *D, const SetOfConstDecls &Visited, const SetOfConstDecls &VisitedAsTopLevel) |
static bool | fileContainsString (StringRef Substring, ASTContext &C) |
static void | reportAnalyzerFunctionMisuse (const AnalyzerOptions &Opts, const ASTContext &Ctx) |
◆ ANALYSIS_CONSTRAINTS
#define ANALYSIS_CONSTRAINTS |
( |
| NAME, |
|
|
| CMDFLAG, |
|
|
| DESC, |
|
|
| CREATEFN ) |
Value: case NAME##Model: CreateConstraintMgr = CREATEFN; break;
◆ ANALYSIS_DIAGNOSTICS
#define ANALYSIS_DIAGNOSTICS |
( |
| NAME, |
|
|
| CMDFLAG, |
|
|
| DESC, |
|
|
| CREATEFN ) |
Value: case PD_##NAME: \
CREATEFN(Opts.getDiagOpts(), PathConsumers, OutDir, PP, CTU, \
MacroExpansions); \
break;
◆ DEBUG_TYPE
#define DEBUG_TYPE "AnalysisConsumer" |
◆ ALWAYS_ENABLED_STATISTIC() [1/4]
ALWAYS_ENABLED_STATISTIC |
( |
NumBlocksInAnalyzedFunctions | , |
|
|
"The # of basic blocks in the analyzed functions." | ) |
◆ ALWAYS_ENABLED_STATISTIC() [2/4]
ALWAYS_ENABLED_STATISTIC |
( |
NumFunctionsAnalyzed | , |
|
|
"The # of functions and blocks analyzed (as top level " "with inlining turned on)." | ) |
◆ ALWAYS_ENABLED_STATISTIC() [3/4]
ALWAYS_ENABLED_STATISTIC |
( |
NumVisitedBlocksInAnalyzedFunctions | , |
|
|
"The # of visited basic blocks in the analyzed functions." | ) |
◆ ALWAYS_ENABLED_STATISTIC() [4/4]
ALWAYS_ENABLED_STATISTIC |
( |
PercentReachableBlocks | , |
|
|
"The % of reachable basic blocks." | ) |
◆ fileContainsString()
◆ reportAnalyzerFunctionMisuse()
◆ shouldSkipFunction()
◆ STAT_COUNTER()
STAT_COUNTER |
( |
NumFunctionTopLevel | , |
|
|
"The # of functions at top level." | ) |
◆ STAT_MAX()
STAT_MAX |
( |
MaxCFGSize | , |
|
|
"The maximum number of basic blocks in a function." | ) |
◆ PathRunningTime
UnsignedEPStat PathRunningTime("PathRunningTime") |
( |
"PathRunningTime" | | ) |
|
|
static |