LLVM API Documentation

Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
PassManager.cpp File Reference
#include "llvm/PassManagers.h"
#include "llvm/Assembly/PrintModulePass.h"
#include "llvm/Assembly/Writer.h"
#include "llvm/IR/Module.h"
#include "llvm/PassManager.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/Mutex.h"
#include "llvm/Support/PassNameParser.h"
#include "llvm/Support/Timer.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <map>
Include dependency graph for PassManager.cpp:

Go to the source code of this file.

Classes

class  llvm::FunctionPassManagerImpl
 FunctionPassManagerImpl manages FPPassManagers. More...
class  llvm::MPPassManager
class  llvm::PassManagerImpl
 PassManagerImpl manages MPPassManagers. More...

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Typedefs

typedef llvm::cl::list< const
llvm::PassInfo *, bool,
PassNameParser
llvm::PassOptionList

Enumerations

enum  llvm::PassDebugLevel {
  llvm::Disabled, llvm::Arguments, llvm::Structure, llvm::Executions,
  llvm::Details
}

Functions

static bool llvm::ShouldPrintBeforeOrAfterPass (const PassInfo *PI, PassOptionList &PassesToPrint)
static bool llvm::ShouldPrintBeforePass (const PassInfo *PI)
static bool llvm::ShouldPrintAfterPass (const PassInfo *PI)

Variables

static cl::opt< enum
PassDebugLevel
llvm::PassDebugging ("debug-pass", cl::Hidden, cl::desc("Print PassManager debugging information"), cl::values(clEnumVal(Disabled,"disable debug output"), clEnumVal(Arguments,"print pass arguments to pass to 'opt'"), clEnumVal(Structure,"print pass structure before run()"), clEnumVal(Executions,"print pass name before it is executed"), clEnumVal(Details,"print pass details when it is executed"), clEnumValEnd))
static PassOptionList llvm::PrintBefore ("print-before", llvm::cl::desc("Print IR before specified passes"), cl::Hidden)
static PassOptionList llvm::PrintAfter ("print-after", llvm::cl::desc("Print IR after specified passes"), cl::Hidden)
static cl::opt< boolllvm::PrintBeforeAll ("print-before-all", llvm::cl::desc("Print IR before each pass"), cl::init(false))
static cl::opt< boolllvm::PrintAfterAll ("print-after-all", llvm::cl::desc("Print IR after each pass"), cl::init(false))
static TimingInfo * TheTimeInfo
static cl::opt< bool, trueEnableTiming ("time-passes", cl::location(TimePassesIsEnabled), cl::desc("Time each pass, printing elapsed time for each on exit"))

Variable Documentation

cl::opt<bool,true> EnableTiming("time-passes", cl::location(TimePassesIsEnabled), cl::desc("Time each pass, printing elapsed time for each on exit")) [static]
TimingInfo* TheTimeInfo [static]

Definition at line 489 of file PassManager.cpp.

Referenced by llvm::getPassTimer().