CIRCT 20.0.0git
Loading...
Searching...
No Matches
Classes | Functions
circt::rtg Namespace Reference

Classes

struct  DictEntry
 Defines an entry in an !rtg.dict. 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 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

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

Populates the passes necessary to lower IR with RTG randomization operations to fully elaborated IR (i.e., IR without random constructs).

Definition at line 20 of file RtgToolOptions.cpp.

References circt::createSimpleCanonicalizerPass(), circt::rtg::RtgToolOptions::getOutputFormat(), circt::rtg::RtgToolOptions::getVerbosePassExecution(), and circt::rtg::RtgToolOptions::getVerifyPasses().

Referenced by circtRtgToolRandomizerPipeline().