clang API Documentation

Classes | Public Member Functions
clang::ento::FunctionSummariesTy Class Reference

#include <FunctionSummary.h>

List of all members.

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< boolmayInline (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 ()

Detailed Description

Definition at line 31 of file FunctionSummary.h.


Member Function Documentation

Definition at line 119 of file FunctionSummary.h.

References findOrInsertSummary().

MapTy::iterator clang::ento::FunctionSummariesTy::findOrInsertSummary ( const Decl D) [inline]

Definition at line 112 of file FunctionSummary.h.

Definition at line 105 of file FunctionSummary.h.

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.

Definition at line 71 of file FunctionSummary.h.

References findOrInsertSummary().

Definition at line 83 of file FunctionSummary.h.

References markShouldNotInline().

Referenced by clang::ento::ExprEngine::processCFGBlockEntrance().

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.


The documentation for this class was generated from the following files: