LLVM API Documentation

ProfileInfoLoaderPass.cpp File Reference

#include "llvm/BasicBlock.h"
#include "llvm/InstrTypes.h"
#include "llvm/Pass.h"
#include "llvm/Analysis/Passes.h"
#include "llvm/Analysis/ProfileInfo.h"
#include "llvm/Analysis/ProfileInfoLoader.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Streams.h"

Include dependency graph for ProfileInfoLoaderPass.cpp:

Go to the source code of this file.

Functions

ModulePassllvm::createProfileLoaderPass ()
Passllvm::createProfileLoaderPass (const std::string &Filename)

Variables

static cl::opt< std::string > ProfileInfoFilename ("profile-info-file", cl::init("llvmprof.out"), cl::value_desc("filename"), cl::desc("Profile file loaded by -profile-loader"))
static RegisterPass< LoaderPass > X ("profile-loader","Load profile information from llvmprof.out", false, true)
static RegisterAnalysisGroup
< ProfileInfo
Y (X)


Variable Documentation

std::string Filename

Definition at line 33 of file ProfileInfoLoaderPass.cpp.

Referenced by llvm::ViewGraph(), and llvm::WriteGraph().

char ID [static]

Definition at line 35 of file ProfileInfoLoaderPass.cpp.

cl::opt<std::string> ProfileInfoFilename("profile-info-file", cl::init("llvmprof.out"), cl::value_desc("filename"), cl::desc("Profile file loaded by -profile-loader")) [static]

RegisterPass<LoaderPass> X("profile-loader","Load profile information from llvmprof.out", false, true) [static]




This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.