|
Jlm
|
#include <CommandLine.hpp>


Public Types | |
| enum class | InputFormat { Llvm , Mlir } |
| enum class | OutputFormat { FirstEnumValue , Ascii , Dot , Json , JsonTree , Llvm , Mlir , Tree , LastEnumValue } |
| enum class | OptimizationId { FirstEnumValue , AAAndersenAgnostic , AAAndersenRegionAware , AggregateAllocaSplitting , CommonNodeElimination , DeadNodeElimination , FunctionInlining , IfConversion , IOBarrierElimination , InvariantValueRedirection , LoadChainSeparation , LoopStrengthReduction , LoopUnrolling , LoopUnswitching , NodePullIn , NodePushOut , NodeReduction , PredicateCorrelation , RvsdgTreePrinter , ScalarEvolution , StoreValueForwarding , 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 dumpRvsdgGraphs) |
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.
|
strong |
| Enumerator | |
|---|---|
| Llvm | |
| Mlir | |
Definition at line 44 of file CommandLine.hpp.
|
strong |
Definition at line 65 of file CommandLine.hpp.
|
strong |
| Enumerator | |
|---|---|
| FirstEnumValue | |
| Ascii | |
| Dot | |
| Json | |
| JsonTree | |
| Llvm | |
| Mlir | |
| Tree | |
| LastEnumValue | |
Definition at line 50 of file CommandLine.hpp.
|
inline |
Definition at line 93 of file CommandLine.hpp.
|
inlinestatic |
Definition at line 182 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 158 of file CommandLine.hpp.
|
static |
Definition at line 124 of file CommandLine.cpp.
|
static |
Definition at line 151 of file CommandLine.cpp.
|
inlinenoexcept |
Definition at line 116 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 122 of file CommandLine.hpp.
|
staticprivate |
Definition at line 92 of file CommandLine.cpp.
|
inlinenoexcept |
Definition at line 146 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 128 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 134 of file CommandLine.hpp.
|
staticprivate |
Definition at line 238 of file CommandLine.cpp.
|
inlinenoexcept |
Definition at line 152 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 140 of file CommandLine.hpp.
|
staticprivate |
Definition at line 197 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 178 of file CommandLine.cpp.
|
static |
Definition at line 140 of file CommandLine.cpp.
|
static |
Definition at line 190 of file CommandLine.cpp.
|
static |
Definition at line 165 of file CommandLine.cpp.
|
private |
Definition at line 211 of file CommandLine.hpp.
|
private |
Definition at line 204 of file CommandLine.hpp.
|
private |
Definition at line 205 of file CommandLine.hpp.
|
private |
Definition at line 209 of file CommandLine.hpp.
|
private |
Definition at line 206 of file CommandLine.hpp.
|
private |
Definition at line 207 of file CommandLine.hpp.
|
private |
Definition at line 210 of file CommandLine.hpp.
|
private |
Definition at line 208 of file CommandLine.hpp.