clang API Documentation
#include <FunctionSummary.h>
Classes | |
class | FunctionSummary |
Public Member Functions | |
MapTy::iterator | findOrInsertSummary (const Decl *D) |
void | markMayInline (const Decl *D) |
void | markShouldNotInline (const Decl *D) |
void | markReachedMaxBlockCount (const Decl *D) |
Optional< bool > | mayInline (const Decl *D) |
void | markVisitedBasicBlock (unsigned ID, const Decl *D, unsigned TotalIDs) |
unsigned | getNumVisitedBasicBlocks (const Decl *D) |
unsigned | getNumTimesInlined (const Decl *D) |
void | bumpNumTimesInlined (const Decl *D) |
unsigned | getPercentBlocksReachable (const Decl *D) |
Get the percentage of the reachable blocks. | |
unsigned | getTotalNumBasicBlocks () |
unsigned | getTotalNumVisitedBasicBlocks () |
Definition at line 31 of file FunctionSummary.h.
void clang::ento::FunctionSummariesTy::bumpNumTimesInlined | ( | const Decl * | D | ) | [inline] |
Definition at line 119 of file FunctionSummary.h.
References findOrInsertSummary().
MapTy::iterator clang::ento::FunctionSummariesTy::findOrInsertSummary | ( | const Decl * | D | ) | [inline] |
Definition at line 60 of file FunctionSummary.h.
Referenced by bumpNumTimesInlined(), markMayInline(), markShouldNotInline(), and markVisitedBasicBlock().
unsigned clang::ento::FunctionSummariesTy::getNumTimesInlined | ( | const Decl * | D | ) | [inline] |
Definition at line 112 of file FunctionSummary.h.
unsigned clang::ento::FunctionSummariesTy::getNumVisitedBasicBlocks | ( | const Decl * | D | ) | [inline] |
Definition at line 105 of file FunctionSummary.h.
unsigned clang::ento::FunctionSummariesTy::getPercentBlocksReachable | ( | const Decl * | D | ) | [inline] |
Get the percentage of the reachable blocks.
Definition at line 125 of file FunctionSummary.h.
Definition at line 18 of file FunctionSummary.cpp.
Definition at line 26 of file FunctionSummary.cpp.
void clang::ento::FunctionSummariesTy::markMayInline | ( | const Decl * | D | ) | [inline] |
Definition at line 71 of file FunctionSummary.h.
References findOrInsertSummary().
void clang::ento::FunctionSummariesTy::markReachedMaxBlockCount | ( | const Decl * | D | ) | [inline] |
Definition at line 83 of file FunctionSummary.h.
References markShouldNotInline().
Referenced by clang::ento::ExprEngine::processCFGBlockEntrance().
void clang::ento::FunctionSummariesTy::markShouldNotInline | ( | const Decl * | D | ) | [inline] |
Definition at line 77 of file FunctionSummary.h.
References findOrInsertSummary().
Referenced by markReachedMaxBlockCount().
void clang::ento::FunctionSummariesTy::markVisitedBasicBlock | ( | unsigned | ID, |
const Decl * | D, | ||
unsigned | TotalIDs | ||
) | [inline] |
Definition at line 94 of file FunctionSummary.h.
References findOrInsertSummary().
Optional<bool> clang::ento::FunctionSummariesTy::mayInline | ( | const Decl * | D | ) | [inline] |
Definition at line 87 of file FunctionSummary.h.