|
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 , 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.
| Enumerator | |
|---|---|
| Llvm | |
| Mlir | |
Definition at line 44 of file CommandLine.hpp.
Definition at line 65 of file CommandLine.hpp.
| Enumerator | |
|---|---|
| FirstEnumValue | |
| Ascii | |
| Dot | |
| Json | |
| JsonTree | |
| Llvm | |
| Mlir | |
| Tree | |
| LastEnumValue | |
Definition at line 50 of file CommandLine.hpp.
|
inline |
Definition at line 92 of file CommandLine.hpp.
|
inlinestatic |
Definition at line 181 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 157 of file CommandLine.hpp.
|
static |
Definition at line 123 of file CommandLine.cpp.
|
static |
Definition at line 150 of file CommandLine.cpp.
|
inlinenoexcept |
Definition at line 115 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 121 of file CommandLine.hpp.
|
staticprivate |
Definition at line 92 of file CommandLine.cpp.
|
inlinenoexcept |
Definition at line 145 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 127 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 133 of file CommandLine.hpp.
|
staticprivate |
Definition at line 236 of file CommandLine.cpp.
|
inlinenoexcept |
Definition at line 151 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 139 of file CommandLine.hpp.
|
staticprivate |
Definition at line 196 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 177 of file CommandLine.cpp.
|
static |
Definition at line 139 of file CommandLine.cpp.
|
static |
Definition at line 189 of file CommandLine.cpp.
|
static |
Definition at line 164 of file CommandLine.cpp.
|
private |
Definition at line 210 of file CommandLine.hpp.
|
private |
Definition at line 203 of file CommandLine.hpp.
|
private |
Definition at line 204 of file CommandLine.hpp.
|
private |
Definition at line 208 of file CommandLine.hpp.
|
private |
Definition at line 205 of file CommandLine.hpp.
|
private |
Definition at line 206 of file CommandLine.hpp.
|
private |
Definition at line 209 of file CommandLine.hpp.
|
private |
Definition at line 207 of file CommandLine.hpp.