|
Jlm
|
#include <CommandLine.hpp>


Public Types | |
| enum class | InputFormat { Llvm , Mlir } |
| enum class | OutputFormat { FirstEnumValue , Ascii , Dot , Llvm , Mlir , Tree , Xml , LastEnumValue } |
| enum class | OptimizationId { FirstEnumValue , AAAndersenAgnostic , AAAndersenRegionAware , CommonNodeElimination , DeadNodeElimination , FunctionInlining , IfConversion , InvariantValueRedirection , LoadChainSeparation , LoopUnrolling , LoopUnswitching , NodePullIn , NodePushOut , NodeReduction , PredicateCorrelation , RvsdgTreePrinter , ScalarEvolution , LastEnumValue } |
Static Public Member Functions | |
| static OptimizationId | FromCommandLineArgumentToOptimizationId (std::string_view commandLineArgument) |
| static util::Statistics::Id | FromCommandLineArgumentToStatisticsId (std::string_view commandLineArgument) |
| static std::string_view | ToCommandLineArgument (OptimizationId optimizationId) |
| static std::string_view | ToCommandLineArgument (util::Statistics::Id statisticsId) |
| static std::string_view | ToCommandLineArgument (InputFormat inputFormat) |
| static std::string_view | ToCommandLineArgument (OutputFormat outputFormat) |
| static std::unique_ptr< JlmOptCommandLineOptions > | Create (util::FilePath inputFile, InputFormat inputFormat, util::FilePath outputFile, OutputFormat outputFormat, util::StatisticsCollectorSettings statisticsCollectorSettings, llvm::RvsdgTreePrinter::Configuration rvsdgTreePrinterConfiguration, std::vector< OptimizationId > optimizations, bool dumpRvsdgDotGraphs) |
Static Private Member Functions | |
| static const util::BijectiveMap< util::Statistics::Id, std::string_view > & | GetStatisticsIdCommandLineArguments () |
| static const std::unordered_map< OutputFormat, std::string_view > & | GetOutputFormatCommandLineArguments () |
| static const util::BijectiveMap< OptimizationId, std::string_view > & | GetOptimizationIdCommandLineMap () |
Command line options for the jlm-opt command line tool.
Definition at line 41 of file CommandLine.hpp.
| Enumerator | |
|---|---|
| Llvm | |
| Mlir | |
Definition at line 44 of file CommandLine.hpp.
Definition at line 64 of file CommandLine.hpp.
| Enumerator | |
|---|---|
| FirstEnumValue | |
| Ascii | |
| Dot | |
| Llvm | |
| Mlir | |
| Tree | |
| Xml | |
| LastEnumValue | |
Definition at line 50 of file CommandLine.hpp.
|
inline |
Definition at line 88 of file CommandLine.hpp.
|
inlinestatic |
Definition at line 177 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 153 of file CommandLine.hpp.
|
static |
Definition at line 120 of file CommandLine.cpp.
|
static |
Definition at line 147 of file CommandLine.cpp.
|
inlinenoexcept |
Definition at line 111 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 117 of file CommandLine.hpp.
|
staticprivate |
Definition at line 92 of file CommandLine.cpp.
|
inlinenoexcept |
Definition at line 141 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 123 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 129 of file CommandLine.hpp.
|
staticprivate |
Definition at line 230 of file CommandLine.cpp.
|
inlinenoexcept |
Definition at line 147 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 135 of file CommandLine.hpp.
|
staticprivate |
Definition at line 193 of file CommandLine.cpp.
|
overridevirtualnoexcept |
Resets the state of the instance.
Implements jlm::tooling::CommandLineOptions.
Definition at line 82 of file CommandLine.cpp.
|
static |
Definition at line 174 of file CommandLine.cpp.
|
static |
Definition at line 136 of file CommandLine.cpp.
|
static |
Definition at line 186 of file CommandLine.cpp.
|
static |
Definition at line 161 of file CommandLine.cpp.
|
private |
Definition at line 206 of file CommandLine.hpp.
|
private |
Definition at line 199 of file CommandLine.hpp.
|
private |
Definition at line 200 of file CommandLine.hpp.
|
private |
Definition at line 204 of file CommandLine.hpp.
|
private |
Definition at line 201 of file CommandLine.hpp.
|
private |
Definition at line 202 of file CommandLine.hpp.
|
private |
Definition at line 205 of file CommandLine.hpp.
|
private |
Definition at line 203 of file CommandLine.hpp.