LLVM API Documentation
#include <DebugIR.h>
Public Member Functions | |
const char * | getPassName () const override |
DebugIR (bool HideDebugIntrinsics, bool HideDebugMetadata, llvm::StringRef Directory, llvm::StringRef Filename) | |
DebugIR () | |
bool | runOnModule (llvm::Module &M, std::string &Path) |
Run pass on M and set Path to the source file path in the output module. | |
bool | runOnModule (llvm::Module &M) override |
Static Public Attributes | |
static char | ID = 0 |
llvm::DebugIR::DebugIR | ( | bool | HideDebugIntrinsics, |
bool | HideDebugMetadata, | ||
llvm::StringRef | Directory, | ||
llvm::StringRef | Filename | ||
) | [inline] |
llvm::DebugIR::DebugIR | ( | ) | [inline] |
const char* llvm::DebugIR::getPassName | ( | ) | const [inline, override, virtual] |
getPassName - Return a nice clean name for a pass. This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly.
Reimplemented from llvm::Pass.
bool llvm::DebugIR::runOnModule | ( | llvm::Module & | M, |
std::string & | Path | ||
) |
Run pass on M and set Path to the source file path in the output module.
Definition at line 599 of file DebugIR.cpp.
bool llvm::DebugIR::runOnModule | ( | llvm::Module & | M | ) | [override, virtual] |
runOnModule - Virtual method overriden by subclasses to process the module being operated on.
Implements llvm::ModulePass.
Definition at line 568 of file DebugIR.cpp.
References DEBUG, llvm::Module::dump(), and llvm::report_fatal_error().
char DebugIR::ID = 0 [static] |