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 <iostream>

Include dependency graph for ProfileInfoLoaderPass.cpp:

Go to the source code of this file.

Functions

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

Variables

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


Variable Documentation

std::string Filename

Definition at line 33 of file ProfileInfoLoaderPass.cpp.

Referenced by llvm::Linker::LinkInArchive(), llvm::MachineFunction::viewCFG(), llvm::SelectionDAG::viewGraph(), llvm::DSGraph::writeGraphToFile(), WriteGraphToFile(), and WriteGraphToFileSB().

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", PassInfo::Analysis|PassInfo::Optimization) [static]

RegisterAnalysisGroup<ProfileInfo, LoaderPass> Y [static]

Definition at line 56 of file ProfileInfoLoaderPass.cpp.