CIRCT 24.0.0git
Loading...
Searching...
No Matches
SV.h File Reference
#include "mlir-c/IR.h"
Include dependency graph for SV.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 MLIR_DECLARE_CAPI_DIALECT_REGISTRATION (SystemVerilog, sv)
MLIR_CAPI_EXPORTED void registerSVPasses (void)
MLIR_CAPI_EXPORTED bool svAttrIsASVAttributeAttr (MlirAttribute)
MLIR_CAPI_EXPORTED MlirAttribute svSVAttributeAttrGet (MlirContext, MlirStringRef name, MlirStringRef expression, bool emitAsComment)
MLIR_CAPI_EXPORTED MlirStringRef svSVAttributeAttrGetName (MlirAttribute)
MLIR_CAPI_EXPORTED MlirStringRef svSVAttributeAttrGetExpression (MlirAttribute)
MLIR_CAPI_EXPORTED bool svSVAttributeAttrGetEmitAsComment (MlirAttribute)
MLIR_CAPI_EXPORTED bool svTypeIsANet (MlirType)
MLIR_CAPI_EXPORTED MlirType svNetTypeGet (MlirType element)
MLIR_CAPI_EXPORTED MlirType svNetTypeGetElementType (MlirType)
MLIR_CAPI_EXPORTED bool svTypeIsAVar (MlirType)
MLIR_CAPI_EXPORTED MlirType svVarTypeGet (MlirType element)
MLIR_CAPI_EXPORTED MlirType svVarTypeGetElementType (MlirType)

Function Documentation

◆ MLIR_DECLARE_CAPI_DIALECT_REGISTRATION()

MLIR_DECLARE_CAPI_DIALECT_REGISTRATION ( SystemVerilog ,
sv  )

◆ registerSVPasses()

MLIR_CAPI_EXPORTED void registerSVPasses ( void )

Definition at line 20 of file SV.cpp.

References registerPasses().

Referenced by registerPasses().

◆ svAttrIsASVAttributeAttr()

MLIR_CAPI_EXPORTED bool svAttrIsASVAttributeAttr ( MlirAttribute cAttr)

Definition at line 23 of file SV.cpp.

References svAttrIsASVAttributeAttr(), and unwrap().

Referenced by svAttrIsASVAttributeAttr().

◆ svNetTypeGet()

MLIR_CAPI_EXPORTED MlirType svNetTypeGet ( MlirType element)

Definition at line 58 of file SV.cpp.

References unwrap(), and wrap().

◆ svNetTypeGetElementType()

MLIR_CAPI_EXPORTED MlirType svNetTypeGetElementType ( MlirType type)

Definition at line 62 of file SV.cpp.

References unwrap(), and wrap().

◆ svSVAttributeAttrGet()

MLIR_CAPI_EXPORTED MlirAttribute svSVAttributeAttrGet ( MlirContext cCtxt,
MlirStringRef name,
MlirStringRef expression,
bool emitAsComment )

Definition at line 27 of file SV.cpp.

References unwrap(), and wrap().

◆ svSVAttributeAttrGetEmitAsComment()

MLIR_CAPI_EXPORTED bool svSVAttributeAttrGetEmitAsComment ( MlirAttribute attribute)

Definition at line 50 of file SV.cpp.

References unwrap().

◆ svSVAttributeAttrGetExpression()

MLIR_CAPI_EXPORTED MlirStringRef svSVAttributeAttrGetExpression ( MlirAttribute cAttr)

Definition at line 43 of file SV.cpp.

References unwrap(), and wrap().

◆ svSVAttributeAttrGetName()

MLIR_CAPI_EXPORTED MlirStringRef svSVAttributeAttrGetName ( MlirAttribute cAttr)

Definition at line 39 of file SV.cpp.

References unwrap(), and wrap().

◆ svTypeIsANet()

MLIR_CAPI_EXPORTED bool svTypeIsANet ( MlirType type)

Definition at line 56 of file SV.cpp.

References unwrap().

◆ svTypeIsAVar()

MLIR_CAPI_EXPORTED bool svTypeIsAVar ( MlirType type)

Definition at line 66 of file SV.cpp.

References unwrap().

◆ svVarTypeGet()

MLIR_CAPI_EXPORTED MlirType svVarTypeGet ( MlirType element)

Definition at line 68 of file SV.cpp.

References unwrap(), and wrap().

◆ svVarTypeGetElementType()

MLIR_CAPI_EXPORTED MlirType svVarTypeGetElementType ( MlirType type)

Definition at line 72 of file SV.cpp.

References unwrap(), and wrap().