CIRCT
20.0.0git
|
The set of options used to control the behavior of the RTG tool. More...
#include <RtgToolOptions.h>
Public Types | |
enum class | OutputFormat { MLIR , ElaboratedMLIR , ASM } |
Public Member Functions | |
RtgToolOptions (unsigned seed) | |
void | setOutputFormat (OutputFormat format) |
OutputFormat | getOutputFormat () const |
RtgToolOptions & | setSeed (unsigned seed) |
unsigned | getSeed () const |
RtgToolOptions & | setVerifyPasses (bool enable) |
bool | getVerifyPasses () const |
RtgToolOptions & | setVerbosePassExecution (bool enable) |
bool | getVerbosePassExecution () const |
RtgToolOptions & | setUnsupportedInstructions (SmallVector< std::string > &&instr) |
RtgToolOptions & | setUnsupportedInstructions (ArrayRef< std::string > instr) |
RtgToolOptions & | addUnsupportedInstruction (const std::string &instr) |
ArrayRef< std::string > | getUnsupportedInstructions () const |
RtgToolOptions & | setUnsupportedInstructionsFile (StringRef filename) |
std::string | getUnsupportedInstructionsFile () const |
Private Attributes | |
OutputFormat | outputFormat = OutputFormat::ElaboratedMLIR |
unsigned | seed |
bool | verifyPasses = true |
bool | verbosePassExecution = false |
SmallVector< std::string > | unsupportedInstructions |
std::string | unsupportedInstructionsFile |
The set of options used to control the behavior of the RTG tool.
Definition at line 25 of file RtgToolOptions.h.
|
strong |
Enumerator | |
---|---|
MLIR | |
ElaboratedMLIR | |
ASM |
Definition at line 27 of file RtgToolOptions.h.
|
inline |
Definition at line 29 of file RtgToolOptions.h.
|
inline |
Definition at line 60 of file RtgToolOptions.h.
References unsupportedInstructions.
|
inline |
Definition at line 32 of file RtgToolOptions.h.
References outputFormat.
Referenced by circt::rtg::populateRandomizerPipeline().
|
inline |
Definition at line 38 of file RtgToolOptions.h.
References seed.
|
inline |
Definition at line 64 of file RtgToolOptions.h.
References unsupportedInstructions.
|
inline |
Definition at line 72 of file RtgToolOptions.h.
References unsupportedInstructionsFile.
|
inline |
Definition at line 50 of file RtgToolOptions.h.
References verbosePassExecution.
Referenced by circt::rtg::populateRandomizerPipeline().
|
inline |
Definition at line 44 of file RtgToolOptions.h.
References verifyPasses.
Referenced by circt::rtg::populateRandomizerPipeline().
|
inline |
Definition at line 31 of file RtgToolOptions.h.
References outputFormat.
|
inline |
Definition at line 34 of file RtgToolOptions.h.
References seed.
|
inline |
Definition at line 56 of file RtgToolOptions.h.
References unsupportedInstructions.
|
inline |
Definition at line 52 of file RtgToolOptions.h.
References unsupportedInstructions.
|
inline |
Definition at line 68 of file RtgToolOptions.h.
References unsupportedInstructionsFile.
|
inline |
Definition at line 46 of file RtgToolOptions.h.
References verbosePassExecution.
|
inline |
Definition at line 40 of file RtgToolOptions.h.
References verifyPasses.
|
private |
Definition at line 77 of file RtgToolOptions.h.
Referenced by getOutputFormat(), and setOutputFormat().
|
private |
Definition at line 78 of file RtgToolOptions.h.
|
private |
Definition at line 81 of file RtgToolOptions.h.
Referenced by addUnsupportedInstruction(), getUnsupportedInstructions(), and setUnsupportedInstructions().
|
private |
Definition at line 82 of file RtgToolOptions.h.
Referenced by getUnsupportedInstructionsFile(), and setUnsupportedInstructionsFile().
|
private |
Definition at line 80 of file RtgToolOptions.h.
Referenced by getVerbosePassExecution(), and setVerbosePassExecution().
|
private |
Definition at line 79 of file RtgToolOptions.h.
Referenced by getVerifyPasses(), and setVerifyPasses().