LLVM API Documentation

Pass.cpp File Reference

#include "llvm/PassManager.h"
#include "PassManagerT.h"
#include "llvm/Module.h"
#include "llvm/ModuleProvider.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/TypeInfo.h"
#include <iostream>
#include <set>

Include dependency graph for Pass.cpp:

Go to the source code of this file.

Classes

struct  AnalysisGroupInfo

Functions

static std::vector< const
PassInfo * > & 
getCFGOnlyAnalyses ()

Variables

static cl::opt< bool, true > EnableTiming ("time-passes", cl::location(TimePassesIsEnabled), cl::desc("Time each pass, printing elapsed time for each on exit"))
static std::map< TypeInfo,
PassInfo * > * 
PassInfoMap = 0
static std::vector< PassRegistrationListener * > * Listeners = 0
static std::map< const PassInfo *,
AnalysisGroupInfo > * 
AnalysisGroupInfoMap = 0


Function Documentation

static std::vector<const PassInfo*>& getCFGOnlyAnalyses (  )  [static]

Definition at line 32 of file Pass.cpp.

Referenced by llvm::RegisterPassBase::setOnlyUsesCFG(), and llvm::AnalysisUsage::setPreservesCFG().


Variable Documentation

std::map<const PassInfo *, AnalysisGroupInfo>* AnalysisGroupInfoMap = 0 [static]

Definition at line 373 of file Pass.cpp.

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

std::vector<PassRegistrationListener*>* Listeners = 0 [static]

Definition at line 313 of file Pass.cpp.

std::map<TypeInfo, PassInfo*>* PassInfoMap = 0 [static]

Definition at line 312 of file Pass.cpp.