Intel® Implicit SPMD Program Compiler (Intel® ISPC)  1.13.0
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
DebugPass Class Reference
Inheritance diagram for DebugPass:
Inheritance graph
[legend]
Collaboration diagram for DebugPass:
Collaboration graph
[legend]

Public Member Functions

 DebugPass (char *output)
 
llvm::StringRef getPassName () const
 
bool runOnModule (llvm::Module &m)
 

Static Public Attributes

static char ID = 0
 

Private Attributes

char str_output [100]
 

Detailed Description

This pass is added in list of passes after optimizations which we want to debug and print dump of LLVM IR in stderr. Also it prints name and number of previous optimization.

Definition at line 4213 of file opt.cpp.

Constructor & Destructor Documentation

◆ DebugPass()

DebugPass::DebugPass ( char *  output)
inline

Definition at line 4216 of file opt.cpp.

Member Function Documentation

◆ getPassName()

llvm::StringRef DebugPass::getPassName ( ) const
inline

Definition at line 4218 of file opt.cpp.

References m.

◆ runOnModule()

bool DebugPass::runOnModule ( llvm::Module &  m)

Definition at line 4227 of file opt.cpp.

Member Data Documentation

◆ ID

char DebugPass::ID = 0
static

Definition at line 4215 of file opt.cpp.

◆ str_output

char DebugPass::str_output[100]
private

Definition at line 4222 of file opt.cpp.


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