Loading [MathJax]/extensions/tex2jax.js
CIRCT 22.0.0git
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Classes | Functions
circt::rtg Namespace Reference

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).
 

Function Documentation

◆ buildRandomizationPipeline()

void circt::rtg::buildRandomizationPipeline ( mlir::OpPassManager &  pm,
const RandomizationPipelineOptions options 
)

Adds the randomization pipeline to the OpPassManager.

Referenced by registerPipelines().

◆ hash_value()

llvm::hash_code circt::rtg::hash_value ( const DictEntry entry)
inline

Definition at line 33 of file RTGTypes.h.

References circt::rtg::DictEntry::name, and circt::rtg::DictEntry::type.

◆ operator<()

bool circt::rtg::operator< ( const DictEntry entry,
const DictEntry other 
)
inline

Definition at line 25 of file RTGTypes.h.

References circt::rtg::DictEntry::name.

◆ operator==()

bool circt::rtg::operator== ( const DictEntry entry,
const DictEntry other 
)
inline

Definition at line 29 of file RTGTypes.h.

References circt::rtg::DictEntry::name, and circt::rtg::DictEntry::type.

◆ populateRandomizerPipeline()

void circt::rtg::populateRandomizerPipeline ( mlir::PassManager &  pm,
const RtgToolOptions options 
)

◆ registerPipelines()

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().