clang  6.0.0svn
Classes | Public Member Functions | List of all members
clang::ento::FunctionSummariesTy Class Reference

#include "clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h"

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. More...
 
unsigned getTotalNumBasicBlocks ()
 
unsigned getTotalNumVisitedBasicBlocks ()
 

Detailed Description

Definition at line 31 of file FunctionSummary.h.

Member Function Documentation

◆ bumpNumTimesInlined()

void clang::ento::FunctionSummariesTy::bumpNumTimesInlined ( const Decl D)
inline

Definition at line 119 of file FunctionSummary.h.

◆ findOrInsertSummary()

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

Definition at line 60 of file FunctionSummary.h.

◆ getNumTimesInlined()

unsigned clang::ento::FunctionSummariesTy::getNumTimesInlined ( const Decl D)
inline

Definition at line 112 of file FunctionSummary.h.

◆ getNumVisitedBasicBlocks()

unsigned clang::ento::FunctionSummariesTy::getNumVisitedBasicBlocks ( const Decl D)
inline

Definition at line 105 of file FunctionSummary.h.

◆ getPercentBlocksReachable()

unsigned clang::ento::FunctionSummariesTy::getPercentBlocksReachable ( const Decl D)
inline

Get the percentage of the reachable blocks.

Definition at line 125 of file FunctionSummary.h.

◆ getTotalNumBasicBlocks()

unsigned FunctionSummariesTy::getTotalNumBasicBlocks ( )

Definition at line 18 of file FunctionSummary.cpp.

◆ getTotalNumVisitedBasicBlocks()

unsigned FunctionSummariesTy::getTotalNumVisitedBasicBlocks ( )

Definition at line 26 of file FunctionSummary.cpp.

◆ markMayInline()

void clang::ento::FunctionSummariesTy::markMayInline ( const Decl D)
inline

Definition at line 71 of file FunctionSummary.h.

◆ markReachedMaxBlockCount()

void clang::ento::FunctionSummariesTy::markReachedMaxBlockCount ( const Decl D)
inline

Definition at line 83 of file FunctionSummary.h.

References markShouldNotInline().

◆ markShouldNotInline()

void clang::ento::FunctionSummariesTy::markShouldNotInline ( const Decl D)
inline

Definition at line 77 of file FunctionSummary.h.

Referenced by markReachedMaxBlockCount().

◆ markVisitedBasicBlock()

void clang::ento::FunctionSummariesTy::markVisitedBasicBlock ( unsigned  ID,
const Decl D,
unsigned  TotalIDs 
)
inline

Definition at line 94 of file FunctionSummary.h.

◆ mayInline()

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: