CIRCT 22.0.0git
|
Namespaces | |
namespace | detail |
Classes | |
struct | DictEntry |
Defines an entry in an !rtg.dict . More... | |
class | InstructionOpAdaptorTrait |
struct | RandomizationPipelineOptions |
Options for the RTG randomization pipeline. More... | |
class | RTGOpVisitor |
This helps visit TypeOp nodes. More... | |
class | RtgToolOptions |
The set of options used to control the behavior of the RTG tool. More... | |
class | RTGTypeVisitor |
This helps visit TypeOp nodes. More... | |
Functions | |
bool | operator< (const DictEntry &entry, const DictEntry &other) |
bool | operator== (const DictEntry &entry, const DictEntry &other) |
llvm::hash_code | hash_value (const DictEntry &entry) |
void | buildRandomizationPipeline (mlir::OpPassManager &pm, const RandomizationPipelineOptions &options) |
Adds the randomization pipeline to the OpPassManager . | |
void | registerPipelines () |
Registers all pipelines for the rtg dialect. | |
void | populateRandomizerPipeline (mlir::PassManager &pm, const RtgToolOptions &options) |
Populates the passes necessary to lower IR with RTG randomization operations to fully elaborated IR (i.e., IR without random constructs). | |
void circt::rtg::buildRandomizationPipeline | ( | mlir::OpPassManager & | pm, |
const RandomizationPipelineOptions & | options | ||
) |
Adds the randomization pipeline to the OpPassManager
.
Referenced by registerPipelines().
|
inline |
Definition at line 33 of file RTGTypes.h.
References circt::rtg::DictEntry::name, and circt::rtg::DictEntry::type.
Definition at line 25 of file RTGTypes.h.
References circt::rtg::DictEntry::name.
Definition at line 29 of file RTGTypes.h.
References circt::rtg::DictEntry::name, and circt::rtg::DictEntry::type.
void circt::rtg::populateRandomizerPipeline | ( | mlir::PassManager & | pm, |
const RtgToolOptions & | options | ||
) |
Populates the passes necessary to lower IR with RTG randomization operations to fully elaborated IR (i.e., IR without random constructs).
Definition at line 23 of file RtgToolOptions.cpp.
References circt::createSimpleCanonicalizerPass(), circt::rtg::RtgToolOptions::getMemoriesAsImmediates(), circt::rtg::RtgToolOptions::getOutputFormat(), circt::rtg::RtgToolOptions::getOutputPath(), circt::rtg::RtgToolOptions::getSeed(), circt::rtg::RtgToolOptions::getSplitOutput(), circt::rtg::RtgToolOptions::getUnsupportedInstructions(), circt::rtg::RtgToolOptions::getUnsupportedInstructionsFile(), circt::rtg::RtgToolOptions::getVerbosePassExecution(), circt::rtg::RtgToolOptions::getVerifyPasses(), circt::rtg::RandomizationPipelineOptions::memoriesAsImmediates, and circt::rtg::RandomizationPipelineOptions::seed.
Referenced by circtRtgToolRandomizerPipeline().
void circt::rtg::registerPipelines | ( | ) |
Registers all pipelines for the rtg
dialect.
Definition at line 49 of file RTGPassPipelines.cpp.
References buildRandomizationPipeline().
Referenced by circt::registerAllPasses(), and registerRTGPasses().