LLVM API Documentation
#include <ProfileInfoLoader.h>

Public Member Functions | |
| ProfileInfoLoader (const char *ToolName, const std::string &Filename) | |
| unsigned | getNumExecutions () const |
| const std::string & | getExecution (unsigned i) const |
| const std::string & | getFileName () const |
| const std::vector< unsigned > & | getRawFunctionCounts () const |
| const std::vector< unsigned > & | getRawBlockCounts () const |
| const std::vector< unsigned > & | getRawEdgeCounts () const |
| const std::vector< unsigned > & | getRawOptimalEdgeCounts () const |
Static Public Attributes | |
| static const unsigned | Uncounted = ~0U |
Definition at line 29 of file ProfileInfoLoader.h.
| ProfileInfoLoader::ProfileInfoLoader | ( | const char * | ToolName, |
| const std::string & | Filename | ||
| ) |
Definition at line 85 of file ProfileInfoLoader.cpp.
References ArgumentInfo, BBTraceInfo, BlockInfo, ByteSwap(), EdgeInfo, llvm::errs(), F(), llvm::LibFunc::fclose, llvm::LibFunc::fopen, llvm::LibFunc::fread, FunctionInfo, OptEdgeInfo, llvm::LibFunc::perror, and ReadProfilingBlock().
| const std::string& llvm::ProfileInfoLoader::getExecution | ( | unsigned | i | ) | const [inline] |
Definition at line 45 of file ProfileInfoLoader.h.
| const std::string& llvm::ProfileInfoLoader::getFileName | ( | ) | const [inline] |
Definition at line 47 of file ProfileInfoLoader.h.
| unsigned llvm::ProfileInfoLoader::getNumExecutions | ( | ) | const [inline] |
Definition at line 44 of file ProfileInfoLoader.h.
| const std::vector<unsigned>& llvm::ProfileInfoLoader::getRawBlockCounts | ( | ) | const [inline] |
Definition at line 59 of file ProfileInfoLoader.h.
| const std::vector<unsigned>& llvm::ProfileInfoLoader::getRawEdgeCounts | ( | ) | const [inline] |
Definition at line 66 of file ProfileInfoLoader.h.
| const std::vector<unsigned>& llvm::ProfileInfoLoader::getRawFunctionCounts | ( | ) | const [inline] |
Definition at line 52 of file ProfileInfoLoader.h.
| const std::vector<unsigned>& llvm::ProfileInfoLoader::getRawOptimalEdgeCounts | ( | ) | const [inline] |
Definition at line 73 of file ProfileInfoLoader.h.
const unsigned ProfileInfoLoader::Uncounted = ~0U [static] |
Definition at line 42 of file ProfileInfoLoader.h.
Referenced by AddCounts(), and ReadProfilingBlock().