CIRCT
20.0.0git
|
#include <stdlib.h>
#include <tcl.h>
#include "circt/Dialect/Comb/CombDialect.h"
#include "circt/Dialect/FIRRTL/FIRRTLDialect.h"
#include "circt/Dialect/HW/HWDialect.h"
#include "circt/Dialect/SV/SVDialect.h"
#include "mlir/CAPI/IR.h"
#include "mlir/Parser/Parser.h"
#include "mlir/Support/FileUtilities.h"
#include "llvm/Support/SourceMgr.h"
Go to the source code of this file.
Functions | |
static int | operationTypeSetFromAnyProc (Tcl_Interp *interp, Tcl_Obj *obj) |
static void | operationTypeUpdateStringProc (Tcl_Obj *obj) |
static void | operationTypeDupIntRepProc (Tcl_Obj *src, Tcl_Obj *dup) |
static void | operationTypeFreeIntRepProc (Tcl_Obj *obj) |
static int | returnErrorStr (Tcl_Interp *interp, const char *error) |
static int | loadFirMlirFile (mlir::MLIRContext *context, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
static int | circtTclFunction (ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
static void | deleteContext (ClientData data) |
int DLLEXPORT | Circt_Init (Tcl_Interp *interp) |
int DLLEXPORT Circt_Init | ( | Tcl_Interp * | interp | ) |
Definition at line 106 of file circt_tcl.cpp.
References circtTclFunction(), deleteContext(), operationTypeDupIntRepProc(), operationTypeFreeIntRepProc(), operationTypeSetFromAnyProc(), and operationTypeUpdateStringProc().
|
static |
Definition at line 87 of file circt_tcl.cpp.
References loadFirMlirFile(), and returnErrorStr().
Referenced by Circt_Init().
|
static |
Definition at line 102 of file circt_tcl.cpp.
Referenced by Circt_Init().
|
static |
Definition at line 43 of file circt_tcl.cpp.
References returnErrorStr(), and wrap().
Referenced by circtTclFunction().
|
static |
Definition at line 28 of file circt_tcl.cpp.
References unwrap(), and wrap().
Referenced by Circt_Init().
|
static |
|
static |
Definition at line 13 of file circt_tcl.cpp.
Referenced by Circt_Init().
|
static |
|
static |
Definition at line 38 of file circt_tcl.cpp.
Referenced by circtTclFunction(), and loadFirMlirFile().