LLVM API Documentation
#include <PathProfileInfo.h>

Public Member Functions | |
| PathProfileInfo () | |
| ~PathProfileInfo () | |
| void | setCurrentFunction (Function *F) |
| Function * | getCurrentFunction () const |
| BasicBlock * | getCurrentFunctionEntry () |
| ProfilePath * | getPath (unsigned int number) |
| unsigned int | getPotentialPathCount () |
| ProfilePathIterator | pathBegin () |
| ProfilePathIterator | pathEnd () |
| unsigned int | pathsRun () |
Public Attributes | |
| std::string | argList |
Static Public Attributes | |
| static char | ID = 0 |
Protected Attributes | |
| FunctionPathMap | _functionPaths |
| FunctionPathCountMap | _functionPathCounts |
Friends | |
| class | ProfilePath |
Definition at line 81 of file PathProfileInfo.h.
| PathProfileInfo::PathProfileInfo | ( | ) |
Definition at line 219 of file PathProfileInfo.cpp.
| PathProfileInfo::~PathProfileInfo | ( | ) |
Definition at line 222 of file PathProfileInfo.cpp.
| Function * PathProfileInfo::getCurrentFunction | ( | ) | const |
Definition at line 242 of file PathProfileInfo.cpp.
| BasicBlock * PathProfileInfo::getCurrentFunctionEntry | ( | ) |
Definition at line 247 of file PathProfileInfo.cpp.
References llvm::BallLarusNode::getBlock(), and llvm::BallLarusDag::getRoot().
| ProfilePath * PathProfileInfo::getPath | ( | unsigned int | number | ) |
Definition at line 252 of file PathProfileInfo.cpp.
References _functionPaths.
| unsigned int PathProfileInfo::getPotentialPathCount | ( | ) |
Definition at line 257 of file PathProfileInfo.cpp.
References llvm::BallLarusDag::getNumberOfPaths().
| ProfilePathIterator PathProfileInfo::pathBegin | ( | ) |
Definition at line 262 of file PathProfileInfo.cpp.
References _functionPaths.
| ProfilePathIterator PathProfileInfo::pathEnd | ( | ) |
Definition at line 267 of file PathProfileInfo.cpp.
References _functionPaths.
| unsigned int PathProfileInfo::pathsRun | ( | ) |
Definition at line 272 of file PathProfileInfo.cpp.
References _functionPaths.
| void PathProfileInfo::setCurrentFunction | ( | Function * | F | ) |
Definition at line 228 of file PathProfileInfo.cpp.
References llvm::BallLarusDag::calculatePathNumbers(), F(), and llvm::BallLarusDag::init().
friend class ProfilePath [friend] |
Definition at line 108 of file PathProfileInfo.h.
Definition at line 102 of file PathProfileInfo.h.
Referenced by llvm::ProfilePath::getFrequency().
FunctionPathMap llvm::PathProfileInfo::_functionPaths [protected] |
Definition at line 101 of file PathProfileInfo.h.
Referenced by getPath(), pathBegin(), pathEnd(), and pathsRun().
| std::string llvm::PathProfileInfo::argList |
Definition at line 98 of file PathProfileInfo.h.
char llvm::PathProfileInfo::ID = 0 [static] |
Definition at line 97 of file PathProfileInfo.h.