Intel SPMD Program Compiler  1.11.0
Public Member Functions | Private Attributes | List of all members
DebugPassManager Class Reference
Collaboration diagram for DebugPassManager:
Collaboration graph
[legend]

Public Member Functions

 DebugPassManager ()
 
void add (llvm::Pass *P, int stage)
 
bool run (llvm::Module &M)
 
llvm::PassManager & getPM ()
 

Private Attributes

llvm::PassManager PM
 
int number
 

Detailed Description

Definition at line 450 of file opt.cpp.

Constructor & Destructor Documentation

◆ DebugPassManager()

DebugPassManager::DebugPassManager ( )
inline

Definition at line 452 of file opt.cpp.

Member Function Documentation

◆ add()

void DebugPassManager::add ( llvm::Pass *  P,
int  stage = -1 
)

Definition at line 469 of file opt.cpp.

References CreateDebugPass(), Globals::debug_stages, Globals::debugIR, g, number, Globals::off_stages, and PM.

Referenced by Optimize().

◆ getPM()

llvm::PassManager& DebugPassManager::getPM ( )
inline

Definition at line 456 of file opt.cpp.

References PM.

Referenced by Optimize().

◆ run()

bool DebugPassManager::run ( llvm::Module &  M)
inline

Definition at line 454 of file opt.cpp.

References PM.

Referenced by Optimize().

Member Data Documentation

◆ number

int DebugPassManager::number
private

Definition at line 466 of file opt.cpp.

Referenced by add().

◆ PM

llvm::PassManager DebugPassManager::PM
private

Definition at line 462 of file opt.cpp.

Referenced by add(), getPM(), and run().


The documentation for this class was generated from the following file: