LLVM API Documentation

Defines | Functions | Variables
SampleProfile.cpp File Reference
#include "llvm/Transforms/Scalar.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/PostDominators.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/MDBuilder.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/Pass.h"
#include "llvm/ProfileData/SampleProfReader.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include <cctype>
Include dependency graph for SampleProfile.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "sample-profile"

Functions

 INITIALIZE_PASS_BEGIN (SampleProfileLoader,"sample-profile","Sample Profile loader", false, false) INITIALIZE_PASS_END(SampleProfileLoader

Variables

static cl::opt< std::string > SampleProfileFile ("sample-profile-file", cl::init(""), cl::value_desc("filename"), cl::desc("Profile file loaded by -sample-profile"), cl::Hidden)
static cl::opt< unsignedSampleProfileMaxPropagateIterations ("sample-profile-max-propagate-iterations", cl::init(100), cl::desc("Maximum number of iterations to go through when propagating ""sample block/edge weights through the CFG."))
sample profile
sample Sample Profile loader
sample Sample Profile false

Define Documentation

#define DEBUG_TYPE   "sample-profile"

Definition at line 53 of file SampleProfile.cpp.


Function Documentation

INITIALIZE_PASS_BEGIN ( SampleProfileLoader  ,
"sample-profile ,
"Sample Profile loader ,
false  ,
false   
)

Variable Documentation

sample Sample Profile false

Definition at line 744 of file SampleProfile.cpp.

sample Sample Profile loader

Definition at line 744 of file SampleProfile.cpp.

sample profile

Definition at line 744 of file SampleProfile.cpp.

cl::opt<std::string> SampleProfileFile("sample-profile-file", cl::init(""), cl::value_desc("filename"), cl::desc("Profile file loaded by -sample-profile"), cl::Hidden) [static]
cl::opt<unsigned> SampleProfileMaxPropagateIterations("sample-profile-max-propagate-iterations", cl::init(100), cl::desc("Maximum number of iterations to go through when propagating ""sample block/edge weights through the CFG.")) [static]