LLVM API Documentation
#include <ProfileInfoLoader.h>
Collaboration diagram for llvm::ProfileInfoLoader:
Public Types | |
typedef std::pair< BasicBlock *, unsigned > | Edge |
Public Member Functions | |
ProfileInfoLoader (const char *ToolName, const std::string &Filename, Module &M) | |
unsigned | getNumExecutions () const |
const std::string & | getExecution (unsigned i) const |
void | getFunctionCounts (std::vector< std::pair< Function *, unsigned > > &Counts) |
bool | hasAccurateBlockCounts () const |
bool | hasAccurateEdgeCounts () const |
void | getBlockCounts (std::vector< std::pair< BasicBlock *, unsigned > > &Counts) |
void | getEdgeCounts (std::vector< std::pair< Edge, unsigned > > &Counts) |
void | getBBTrace (std::vector< BasicBlock * > &Trace) |
Definition at line 29 of file ProfileInfoLoader.h.
|
Definition at line 78 of file ProfileInfoLoader.h. |
|
Definition at line 74 of file ProfileInfoLoader.cpp. References ArgumentInfo, BBTraceInfo, BlockInfo, ByteSwap(), EdgeInfo, F, FunctionInfo, and ReadProfilingBlock(). |
|
Definition at line 270 of file ProfileInfoLoader.cpp. |
|
Definition at line 176 of file ProfileInfoLoader.cpp. References llvm::Module::begin(), E, llvm::Module::end(), F, first, getEdgeCounts(), llvm::TerminatorInst::getNumSuccessors(), llvm::TerminatorInst::getSuccessor(), llvm::BasicBlock::getTerminator(), hasAccurateEdgeCounts(), I, and M. Referenced by getFunctionCounts(). |
|
Definition at line 248 of file ProfileInfoLoader.cpp. References llvm::Module::begin(), E, llvm::Module::end(), F, and M. Referenced by getBlockCounts(). |
|
Definition at line 43 of file ProfileInfoLoader.h. |
|
Definition at line 146 of file ProfileInfoLoader.cpp. References llvm::Module::begin(), E, llvm::Module::end(), first, getBlockCounts(), hasAccurateBlockCounts(), I, and M. |
|
Definition at line 42 of file ProfileInfoLoader.h. |
|
Definition at line 54 of file ProfileInfoLoader.h. Referenced by getFunctionCounts(). |
|
Definition at line 61 of file ProfileInfoLoader.h. Referenced by getBlockCounts(). |