LLVM API Documentation

BlockProfiling.cpp File Reference

#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Module.h"
#include "llvm/Pass.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Streams.h"
#include "llvm/Transforms/Instrumentation.h"
#include "RSProfiling.h"
#include "ProfilingUtils.h"

Include dependency graph for BlockProfiling.cpp:

Go to the source code of this file.

Functions

ModulePass * llvm::createFunctionProfilerPass ()
ModulePass * llvm::createBlockProfilerPass ()

Variables

static RegisterPass
< FunctionProfiler > 
X ("insert-function-profiling","Insert instrumentation for function profiling")
static RegisterAnalysisGroup
< RSProfilers > 
XG (X)
static RegisterPass
< BlockProfiler > 
Y ("insert-block-profiling","Insert instrumentation for block profiling")
static RegisterAnalysisGroup
< RSProfilers > 
YG (Y)


Variable Documentation

char ID [static]

Definition at line 36 of file BlockProfiling.cpp.

RegisterPass<FunctionProfiler> X("insert-function-profiling","Insert instrumentation for function profiling") [static]

RegisterPass<BlockProfiler> Y("insert-block-profiling","Insert instrumentation for block profiling") [static]