LLVM API Documentation
#include "llvm/Analysis/PathProfileInfo.h"#include "llvm/Analysis/Passes.h"#include "llvm/Analysis/ProfileInfoTypes.h"#include "llvm/IR/Module.h"#include "llvm/Pass.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/Debug.h"#include "llvm/Support/raw_ostream.h"#include <cstdio>
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "path-profile-info" |
Functions | |
| INITIALIZE_ANALYSIS_GROUP (PathProfileInfo,"Path Profile Information", NoPathProfileInfo) INITIALIZE_AG_PASS(PathProfileLoaderPass | |
| static BallLarusEdge * | getNextEdge (BallLarusNode *node, unsigned int pathNumber) |
| INITIALIZE_AG_PASS (NoPathProfileInfo, PathProfileInfo,"no-path-profile","No Path Profile Information", false, true, true) ImmutablePass *llvm | |
Variables | |
| static cl::opt< std::string > | PathProfileInfoFilename ("path-profile-loader-file", cl::init("llvmprof.out"), cl::value_desc("filename"), cl::desc("Path profile file loaded by -path-profile-loader"), cl::Hidden) |
| PathProfileInfo | |
| path profile | loader |
| path profile Load path profile information from | file |
| path profile Load path profile information from | false |
| path profile Load path profile information from | true |
| #define DEBUG_TYPE "path-profile-info" |
Definition at line 14 of file PathProfileInfo.cpp.
| static BallLarusEdge* getNextEdge | ( | BallLarusNode * | node, |
| unsigned int | pathNumber | ||
| ) | [static] |
Definition at line 121 of file PathProfileInfo.cpp.
References llvm::BallLarusEdge::BACKEDGE, llvm::sys::path::end(), llvm::BallLarusEdge::getWeight(), llvm::next(), llvm::BallLarusEdge::SPLITEDGE, llvm::BallLarusNode::succBegin(), and llvm::BallLarusNode::succEnd().
Referenced by llvm::ProfilePath::getFirstBlockInPath(), llvm::ProfilePath::getPathBlocks(), and llvm::ProfilePath::getPathEdges().
| INITIALIZE_AG_PASS | ( | NoPathProfileInfo | , |
| PathProfileInfo | , | ||
| "no-path-profile" | , | ||
| "No Path Profile Information" | , | ||
| false | , | ||
| true | , | ||
| true | |||
| ) |
Definition at line 430 of file PathProfileInfo.cpp.
| INITIALIZE_ANALYSIS_GROUP | ( | PathProfileInfo | , |
| "Path Profile Information" | , | ||
| NoPathProfileInfo | |||
| ) |
| path profile Load path profile information from false |
Definition at line 89 of file PathProfileInfo.cpp.
| path profile Load path profile information from file |
Definition at line 89 of file PathProfileInfo.cpp.
| path profile loader |
Definition at line 89 of file PathProfileInfo.cpp.
Definition at line 89 of file PathProfileInfo.cpp.
cl::opt<std::string> PathProfileInfoFilename("path-profile-loader-file", cl::init("llvmprof.out"), cl::value_desc("filename"), cl::desc("Path profile file loaded by -path-profile-loader"), cl::Hidden) [static] |
| path profile Load path profile information from true |
Definition at line 89 of file PathProfileInfo.cpp.