|
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 , NodeHoisting , 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 |
| Enumerator | |
|---|---|
| FirstEnumValue | |
| AAAndersenAgnostic | |
| AAAndersenRegionAware | |
| AggregateAllocaSplitting | |
| CommonNodeElimination | |
| DeadNodeElimination | |
| FunctionInlining | |
| IfConversion | |
| IOBarrierElimination | |
| InvariantValueRedirection | |
| LoadChainSeparation | |
| LoopStrengthReduction | |
| LoopUnrolling | |
| LoopUnswitching | |
| NodeHoisting | |
| NodePullIn | |
| NodePushOut |
|
| NodeReduction | |
| PredicateCorrelation | |
| RvsdgTreePrinter | |
| ScalarEvolution | |
| StoreValueForwarding | |
| LastEnumValue | |
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 100 of file CommandLine.hpp.
|
inlinestatic |
Definition at line 189 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 165 of file CommandLine.hpp.
|
static |
Definition at line 125 of file CommandLine.cpp.
|
static |
Definition at line 152 of file CommandLine.cpp.
|
inlinenoexcept |
Definition at line 123 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 129 of file CommandLine.hpp.
|
staticprivate |
Definition at line 92 of file CommandLine.cpp.
|
inlinenoexcept |
Definition at line 153 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 135 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 141 of file CommandLine.hpp.
|
staticprivate |
Definition at line 239 of file CommandLine.cpp.
|
inlinenoexcept |
Definition at line 159 of file CommandLine.hpp.
|
inlinenoexcept |
Definition at line 147 of file CommandLine.hpp.
|
staticprivate |
Definition at line 198 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 179 of file CommandLine.cpp.
|
static |
Definition at line 141 of file CommandLine.cpp.
|
static |
Definition at line 191 of file CommandLine.cpp.
|
static |
Definition at line 166 of file CommandLine.cpp.
|
private |
Definition at line 218 of file CommandLine.hpp.
|
private |
Definition at line 211 of file CommandLine.hpp.
|
private |
Definition at line 212 of file CommandLine.hpp.
|
private |
Definition at line 216 of file CommandLine.hpp.
|
private |
Definition at line 213 of file CommandLine.hpp.
|
private |
Definition at line 214 of file CommandLine.hpp.
|
private |
Definition at line 217 of file CommandLine.hpp.
|
private |
Definition at line 215 of file CommandLine.hpp.