|
Jlm
|
#include <Command.hpp>


Public Member Functions | |
| ~JlmOptCommand () override | |
| JlmOptCommand (std::string programName, const JlmOptCommandLineOptions &commandLineOptions) | |
| std::string | ToString () const override |
| void | Run () const override |
| const JlmOptCommandLineOptions & | GetCommandLineOptions () const noexcept |
Public Member Functions inherited from jlm::tooling::Command | |
| virtual | ~Command () |
Static Public Member Functions | |
| static CommandGraph::Node & | Create (CommandGraph &commandGraph, std::string programName, const JlmOptCommandLineOptions &commandLineOptions) |
| static void | PrintRvsdgModule (llvm::LlvmRvsdgModule &rvsdgModule, const util::FilePath &outputFile, const JlmOptCommandLineOptions::OutputFormat &outputFormat, util::StatisticsCollector &statisticsCollector) |
Private Member Functions | |
| std::unique_ptr< llvm::LlvmRvsdgModule > | ParseInputFile (const util::FilePath &inputFile, const JlmOptCommandLineOptions::InputFormat &inputFormat, util::StatisticsCollector &statisticsCollector) const |
| std::unique_ptr< llvm::LlvmRvsdgModule > | ParseLlvmIrFile (const util::FilePath &inputFile, util::StatisticsCollector &statisticsCollector) const |
| std::unique_ptr< llvm::LlvmRvsdgModule > | ParseMlirIrFile (const util::FilePath &inputFile, util::StatisticsCollector &statisticsCollector) const |
| std::vector< std::shared_ptr< rvsdg::Transformation > > | GetTransformations () const |
| std::shared_ptr< rvsdg::Transformation > | CreateTransformation (JlmOptCommandLineOptions::OptimizationId optimizationId) const |
Static Private Member Functions | |
| static void | PrintAsAscii (const llvm::LlvmRvsdgModule &rvsdgModule, const util::FilePath &outputFile, util::StatisticsCollector &statisticsCollector) |
| static void | PrintAsXml (const llvm::LlvmRvsdgModule &rvsdgModule, const util::FilePath &outputFile, util::StatisticsCollector &statisticsCollector) |
| static void | PrintAsLlvm (llvm::LlvmRvsdgModule &rvsdgModule, const util::FilePath &outputFile, util::StatisticsCollector &statisticsCollector) |
| static void | PrintAsMlir (const llvm::LlvmRvsdgModule &rvsdgModule, const util::FilePath &outputFile, util::StatisticsCollector &statisticsCollector) |
| static void | PrintAsRvsdgTree (const llvm::LlvmRvsdgModule &rvsdgModule, const util::FilePath &outputFile, util::StatisticsCollector &statisticsCollector) |
| static void | PrintAsDot (const llvm::LlvmRvsdgModule &rvsdgModule, const util::FilePath &outputFile, util::StatisticsCollector &statisticsCollector) |
Private Attributes | |
| std::string | ProgramName_ |
| JlmOptCommandLineOptions | CommandLineOptions_ |
The JlmOptCommand class represents the jlm-opt command line tool.
Definition at line 336 of file Command.hpp.
|
overridedefault |
| jlm::tooling::JlmOptCommand::JlmOptCommand | ( | std::string | programName, |
| const JlmOptCommandLineOptions & | commandLineOptions | ||
| ) |
Definition at line 291 of file Command.cpp.
|
inlinestatic |
Definition at line 350 of file Command.hpp.
|
private |
Definition at line 400 of file Command.cpp.
|
inlinenoexcept |
Definition at line 361 of file Command.hpp.
|
private |
Definition at line 374 of file Command.cpp.
|
private |
Definition at line 487 of file Command.cpp.
|
private |
Definition at line 447 of file Command.cpp.
|
private |
Definition at line 475 of file Command.cpp.
|
staticprivate |
Definition at line 507 of file Command.cpp.
|
staticprivate |
Definition at line 604 of file Command.cpp.
|
staticprivate |
Definition at line 541 of file Command.cpp.
|
staticprivate |
Definition at line 566 of file Command.cpp.
|
staticprivate |
Definition at line 582 of file Command.cpp.
|
staticprivate |
Definition at line 527 of file Command.cpp.
|
static |
Definition at line 629 of file Command.cpp.
|
overridevirtual |
Reimplemented from jlm::tooling::Command.
Definition at line 346 of file Command.cpp.
|
overridevirtual |
Implements jlm::tooling::Command.
Definition at line 299 of file Command.cpp.
|
private |
Definition at line 431 of file Command.hpp.
|
private |
Definition at line 430 of file Command.hpp.