|
Polly 22.0.0git
|
A pass that prints the module into a file. More...
#include <DumpModulePass.h>
Public Member Functions | |
| DumpModulePass (std::string Filename, bool IsSuffix) | |
| llvm::PreservedAnalyses | run (llvm::Module &M, llvm::ModuleAnalysisManager &AM) |
Public Attributes | |
| std::string | Filename |
| bool | IsSuffix |
A pass that prints the module into a file.
The meaning of Filename depends on IsSuffix. If IsSuffix==false, then the module is written to the Filename. If it is true, the filename is generated from the module's name, Filename with an '.ll' extension.
The intent of IsSuffix is to avoid the file being overwritten when processing multiple modules and/or with multiple dump passes in the pipeline.
Definition at line 29 of file DumpModulePass.h.
|
inline |
Definition at line 33 of file DumpModulePass.h.
| llvm::PreservedAnalyses DumpModulePass::run | ( | llvm::Module & | M, |
| llvm::ModuleAnalysisManager & | AM ) |
Definition at line 51 of file DumpModulePass.cpp.
| std::string polly::DumpModulePass::Filename |
Definition at line 30 of file DumpModulePass.h.
Referenced by DumpModulePass(), and run().
| bool polly::DumpModulePass::IsSuffix |
Definition at line 31 of file DumpModulePass.h.
Referenced by DumpModulePass(), and run().