CIRCT  20.0.0git
Functions
RtgTool.cpp File Reference
#include "circt-c/RtgTool.h"
#include "circt/Tools/rtgtool/RtgToolOptions.h"
#include "mlir/CAPI/Pass.h"
#include <string>
Include dependency graph for RtgTool.cpp:

Go to the source code of this file.

Functions

CirctRtgToolOptions circtRtgToolOptionsCreateDefault (unsigned seed)
 
void circtRtgToolOptionsDestroy (CirctRtgToolOptions options)
 
void circtRtgToolOptionsSetOutputFormat (CirctRtgToolOptions options, CirctRtgToolOutputFormat format)
 
void circtRtgToolOptionsSetSeed (CirctRtgToolOptions options, unsigned seed)
 
void circtRtgToolOptionsSetVerifyPasses (CirctRtgToolOptions options, bool enable)
 
void circtRtgToolOptionsSetVerbosePassExecution (CirctRtgToolOptions options, bool enable)
 
void circtRtgToolOptionsSetUnsupportedInstructions (CirctRtgToolOptions options, unsigned numInstr, const char **unsupportedInstructions)
 
void circtRtgToolOptionsAddUnsupportedInstruction (CirctRtgToolOptions options, const char *unsupportedInstruction)
 
void circtRtgToolOptionsSetUnsupportedInstructionsFile (CirctRtgToolOptions options, const char *filename)
 
void circtRtgToolRandomizerPipeline (MlirPassManager pm, CirctRtgToolOptions options)
 

Function Documentation

◆ circtRtgToolOptionsAddUnsupportedInstruction()

void circtRtgToolOptionsAddUnsupportedInstruction ( CirctRtgToolOptions  options,
const char *  unsupportedInstruction 
)

Definition at line 74 of file RtgTool.cpp.

References unwrap().

◆ circtRtgToolOptionsCreateDefault()

CirctRtgToolOptions circtRtgToolOptionsCreateDefault ( unsigned  seed)

Definition at line 24 of file RtgTool.cpp.

References wrap().

◆ circtRtgToolOptionsDestroy()

void circtRtgToolOptionsDestroy ( CirctRtgToolOptions  options)

Definition at line 29 of file RtgTool.cpp.

References unwrap().

◆ circtRtgToolOptionsSetOutputFormat()

void circtRtgToolOptionsSetOutputFormat ( CirctRtgToolOptions  options,
CirctRtgToolOutputFormat  format 
)

◆ circtRtgToolOptionsSetSeed()

void circtRtgToolOptionsSetSeed ( CirctRtgToolOptions  options,
unsigned  seed 
)

Definition at line 51 of file RtgTool.cpp.

References unwrap().

◆ circtRtgToolOptionsSetUnsupportedInstructions()

void circtRtgToolOptionsSetUnsupportedInstructions ( CirctRtgToolOptions  options,
unsigned  numInstr,
const char **  unsupportedInstructions 
)

Definition at line 65 of file RtgTool.cpp.

References unwrap().

◆ circtRtgToolOptionsSetUnsupportedInstructionsFile()

void circtRtgToolOptionsSetUnsupportedInstructionsFile ( CirctRtgToolOptions  options,
const char *  filename 
)

Definition at line 80 of file RtgTool.cpp.

References unwrap().

◆ circtRtgToolOptionsSetVerbosePassExecution()

void circtRtgToolOptionsSetVerbosePassExecution ( CirctRtgToolOptions  options,
bool  enable 
)

Definition at line 60 of file RtgTool.cpp.

References unwrap().

◆ circtRtgToolOptionsSetVerifyPasses()

void circtRtgToolOptionsSetVerifyPasses ( CirctRtgToolOptions  options,
bool  enable 
)

Definition at line 55 of file RtgTool.cpp.

References unwrap().

◆ circtRtgToolRandomizerPipeline()

void circtRtgToolRandomizerPipeline ( MlirPassManager  pm,
CirctRtgToolOptions  options 
)

Definition at line 89 of file RtgTool.cpp.

References circt::rtg::populateRandomizerPipeline(), and unwrap().