CIRCT 20.0.0git
|
#include "mlir-c/Pass.h"
Go to the source code of this file.
Macros | |
#define | DEFINE_C_API_STRUCT(name, storage) |
Typedefs | |
typedef enum CiretRtgToolOutputFormat | CirctRtgToolOutputFormat |
Enumerations | |
enum | CiretRtgToolOutputFormat { CIRCT_RTGTOOL_OUTPUT_FORMAT_MLIR , CIRCT_RTGTOOL_OUTPUT_FORMAT_ELABORATED_MLIR , CIRCT_RTGTOOL_OUTPUT_FORMAT_ASM } |
Functions | |
DEFINE_C_API_STRUCT (CirctRtgToolOptions, void) | |
MLIR_CAPI_EXPORTED CirctRtgToolOptions | circtRtgToolOptionsCreateDefault (unsigned seed) |
MLIR_CAPI_EXPORTED void | circtRtgToolOptionsDestroy (CirctRtgToolOptions options) |
MLIR_CAPI_EXPORTED void | circtRtgToolOptionsSetOutputFormat (CirctRtgToolOptions options, CirctRtgToolOutputFormat format) |
MLIR_CAPI_EXPORTED void | circtRtgToolOptionsSetSeed (CirctRtgToolOptions options, unsigned seed) |
MLIR_CAPI_EXPORTED void | circtRtgToolOptionsSetVerifyPasses (CirctRtgToolOptions options, bool enable) |
MLIR_CAPI_EXPORTED void | circtRtgToolOptionsSetVerbosePassExecution (CirctRtgToolOptions options, bool enable) |
MLIR_CAPI_EXPORTED void | circtRtgToolOptionsSetUnsupportedInstructions (CirctRtgToolOptions options, unsigned numInstr, const void **unsupportedInstructions) |
MLIR_CAPI_EXPORTED void | circtRtgToolOptionsAddUnsupportedInstruction (CirctRtgToolOptions options, const char *unsupportedInstruction) |
MLIR_CAPI_EXPORTED void | circtRtgToolOptionsSetUnsupportedInstructionsFile (CirctRtgToolOptions options, const char *filename) |
MLIR_CAPI_EXPORTED void | circtRtgToolOptionsSetSplitOutput (CirctRtgToolOptions options, bool enable) |
MLIR_CAPI_EXPORTED void | circtRtgToolOptionsSetOutputPath (CirctRtgToolOptions options, const char *path) |
MLIR_CAPI_EXPORTED void | circtRtgToolRandomizerPipeline (MlirPassManager pm, CirctRtgToolOptions options) |
#define DEFINE_C_API_STRUCT | ( | name, | |
storage | |||
) |
typedef enum CiretRtgToolOutputFormat CirctRtgToolOutputFormat |
MLIR_CAPI_EXPORTED void circtRtgToolOptionsAddUnsupportedInstruction | ( | CirctRtgToolOptions | options, |
const char * | unsupportedInstruction | ||
) |
Definition at line 75 of file RtgTool.cpp.
References unwrap().
MLIR_CAPI_EXPORTED CirctRtgToolOptions circtRtgToolOptionsCreateDefault | ( | unsigned | seed | ) |
Definition at line 24 of file RtgTool.cpp.
References wrap().
MLIR_CAPI_EXPORTED void circtRtgToolOptionsDestroy | ( | CirctRtgToolOptions | options | ) |
Definition at line 29 of file RtgTool.cpp.
References unwrap().
MLIR_CAPI_EXPORTED void circtRtgToolOptionsSetOutputFormat | ( | CirctRtgToolOptions | options, |
CirctRtgToolOutputFormat | format | ||
) |
Definition at line 33 of file RtgTool.cpp.
References CIRCT_RTGTOOL_OUTPUT_FORMAT_ASM, CIRCT_RTGTOOL_OUTPUT_FORMAT_ELABORATED_MLIR, CIRCT_RTGTOOL_OUTPUT_FORMAT_MLIR, and unwrap().
MLIR_CAPI_EXPORTED void circtRtgToolOptionsSetOutputPath | ( | CirctRtgToolOptions | options, |
const char * | path | ||
) |
Definition at line 91 of file RtgTool.cpp.
References unwrap().
MLIR_CAPI_EXPORTED void circtRtgToolOptionsSetSeed | ( | CirctRtgToolOptions | options, |
unsigned | seed | ||
) |
Definition at line 51 of file RtgTool.cpp.
References unwrap().
MLIR_CAPI_EXPORTED void circtRtgToolOptionsSetSplitOutput | ( | CirctRtgToolOptions | options, |
bool | enable | ||
) |
Definition at line 86 of file RtgTool.cpp.
References unwrap().
MLIR_CAPI_EXPORTED void circtRtgToolOptionsSetUnsupportedInstructions | ( | CirctRtgToolOptions | options, |
unsigned | numInstr, | ||
const void ** | unsupportedInstructions | ||
) |
Definition at line 65 of file RtgTool.cpp.
References unwrap().
MLIR_CAPI_EXPORTED void circtRtgToolOptionsSetUnsupportedInstructionsFile | ( | CirctRtgToolOptions | options, |
const char * | filename | ||
) |
Definition at line 81 of file RtgTool.cpp.
References unwrap().
MLIR_CAPI_EXPORTED void circtRtgToolOptionsSetVerbosePassExecution | ( | CirctRtgToolOptions | options, |
bool | enable | ||
) |
Definition at line 60 of file RtgTool.cpp.
References unwrap().
MLIR_CAPI_EXPORTED void circtRtgToolOptionsSetVerifyPasses | ( | CirctRtgToolOptions | options, |
bool | enable | ||
) |
Definition at line 55 of file RtgTool.cpp.
References unwrap().
MLIR_CAPI_EXPORTED void circtRtgToolRandomizerPipeline | ( | MlirPassManager | pm, |
CirctRtgToolOptions | options | ||
) |
Definition at line 100 of file RtgTool.cpp.
References circt::rtg::populateRandomizerPipeline(), and unwrap().
DEFINE_C_API_STRUCT | ( | CirctRtgToolOptions | , |
void | |||
) |