Home | History | Annotate | Download | only in Analysis

Lines Matching defs:PathProfileInfo

1 //===- PathProfileInfo.cpp ------------------------------------*- C++ -*---===//
16 #include "llvm/Analysis/PathProfileInfo.h"
35 class PathProfileLoaderPass : public ModulePass, public PathProfileInfo {
52 if (PI == &PathProfileInfo::ID)
53 return (PathProfileInfo*)this;
87 INITIALIZE_ANALYSIS_GROUP(PathProfileInfo, "Path Profile Information",
89 INITIALIZE_AG_PASS(PathProfileLoaderPass, PathProfileInfo,
113 double countStdDev, PathProfileInfo* ppi)
213 // PathProfileInfo implementation
217 char llvm::PathProfileInfo::ID = 0;
219 PathProfileInfo::PathProfileInfo () : _currentDag(0) , _currentFunction(0) {
222 PathProfileInfo::~PathProfileInfo() {
228 void PathProfileInfo::setCurrentFunction(Function* F) {
242 Function* PathProfileInfo::getCurrentFunction() const {
247 BasicBlock* PathProfileInfo::getCurrentFunctionEntry() {
252 ProfilePath* PathProfileInfo::getPath(unsigned int number) {
257 unsigned int PathProfileInfo::getPotentialPathCount() {
262 ProfilePathIterator PathProfileInfo::pathBegin() {
267 ProfilePathIterator PathProfileInfo::pathEnd() {
272 unsigned int PathProfileInfo::pathsRun() {
402 // NoProfile PathProfileInfo implementation
406 struct NoPathProfileInfo : public ImmutablePass, public PathProfileInfo {
417 if (PI == &PathProfileInfo::ID)
418 return (PathProfileInfo*)this;
430 INITIALIZE_AG_PASS(NoPathProfileInfo, PathProfileInfo, "no-path-profile",