CIRCT 24.0.0git
Loading...
Searching...
No Matches
Moore.cpp File Reference
#include "circt-c/Dialect/Moore.h"
#include "circt/Dialect/Moore/MooreDialect.h"
#include "circt/Dialect/Moore/MooreTypes.h"
#include "mlir/CAPI/IR.h"
#include "mlir/CAPI/Registration.h"
#include "mlir/CAPI/Support.h"
Include dependency graph for Moore.cpp:

Go to the source code of this file.

Functions

MlirType mooreVoidTypeGet (MlirContext ctx)
 Create a void type.
MlirType mooreStringTypeGet (MlirContext ctx)
 Create a string type.
MlirType mooreChandleTypeGet (MlirContext ctx)
 Create a chandle type.
MlirType mooreEventTypeGet (MlirContext ctx)
 Create a event type.
MlirType mooreIntTypeGetInt (MlirContext ctx, unsigned width)
 Create a two-valued simple bit vector type.
MlirType mooreIntTypeGetLogic (MlirContext ctx, unsigned width)
 Create a four-valued simple bit vector type.
MlirType mooreRealTypeGet (MlirContext ctx, unsigned width)
 Create a real type.
MlirType mooreOpenArrayTypeGet (MlirType elementType)
 Create a packed open array type.
MlirType mooreArrayTypeGet (unsigned size, MlirType elementType)
 Create a packed array type.
MlirType mooreOpenUnpackedArrayTypeGet (MlirType elementType)
 Create an unpacked open array type.
MlirType mooreUnpackedArrayTypeGet (unsigned size, MlirType elementType)
 Create an unpacked array type.
MlirType mooreAssocArrayTypeGet (MlirType elementType, MlirType indexType)
 Create an unpacked associative array type.
MlirType mooreQueueTypeGet (MlirType elementType, unsigned bound)
 Create an unpacked queue type.
bool mooreIsTwoValuedType (MlirType type)
 Checks whether the passed UnpackedType is a two-valued type.
bool mooreIsFourValuedType (MlirType type)
 Checks whether the passed UnpackedType is a four-valued type.

Function Documentation

◆ mooreArrayTypeGet()

MlirType mooreArrayTypeGet ( unsigned size,
MlirType elementType )

Create a packed array type.

Definition at line 72 of file Moore.cpp.

References elementType, unwrap(), and wrap().

◆ mooreAssocArrayTypeGet()

MlirType mooreAssocArrayTypeGet ( MlirType elementType,
MlirType indexType )

Create an unpacked associative array type.

Definition at line 86 of file Moore.cpp.

References elementType, unwrap(), and wrap().

◆ mooreChandleTypeGet()

MlirType mooreChandleTypeGet ( MlirContext ctx)

Create a chandle type.

Definition at line 40 of file Moore.cpp.

References unwrap(), and wrap().

◆ mooreEventTypeGet()

MlirType mooreEventTypeGet ( MlirContext ctx)

Create a event type.

Create an event type.

Definition at line 45 of file Moore.cpp.

References unwrap(), and wrap().

◆ mooreIntTypeGetInt()

MlirType mooreIntTypeGetInt ( MlirContext ctx,
unsigned width )

Create a two-valued simple bit vector type.

Definition at line 50 of file Moore.cpp.

References unwrap(), and wrap().

◆ mooreIntTypeGetLogic()

MlirType mooreIntTypeGetLogic ( MlirContext ctx,
unsigned width )

Create a four-valued simple bit vector type.

Definition at line 55 of file Moore.cpp.

References unwrap(), and wrap().

◆ mooreIsFourValuedType()

bool mooreIsFourValuedType ( MlirType type)

Checks whether the passed UnpackedType is a four-valued type.

Definition at line 99 of file Moore.cpp.

References circt::moore::FourValued, and unwrap().

◆ mooreIsTwoValuedType()

bool mooreIsTwoValuedType ( MlirType type)

Checks whether the passed UnpackedType is a two-valued type.

Definition at line 95 of file Moore.cpp.

References circt::moore::TwoValued, and unwrap().

◆ mooreOpenArrayTypeGet()

MlirType mooreOpenArrayTypeGet ( MlirType elementType)

Create a packed open array type.

Definition at line 68 of file Moore.cpp.

References elementType, unwrap(), and wrap().

◆ mooreOpenUnpackedArrayTypeGet()

MlirType mooreOpenUnpackedArrayTypeGet ( MlirType elementType)

Create an unpacked open array type.

Definition at line 76 of file Moore.cpp.

References elementType, unwrap(), and wrap().

◆ mooreQueueTypeGet()

MlirType mooreQueueTypeGet ( MlirType elementType,
unsigned bound )

Create an unpacked queue type.

Definition at line 91 of file Moore.cpp.

References elementType, unwrap(), and wrap().

◆ mooreRealTypeGet()

MlirType mooreRealTypeGet ( MlirContext ctx,
unsigned width )

Create a real type.

Definition at line 60 of file Moore.cpp.

References circt::moore::f32, unwrap(), and wrap().

◆ mooreStringTypeGet()

MlirType mooreStringTypeGet ( MlirContext ctx)

Create a string type.

Definition at line 35 of file Moore.cpp.

References unwrap(), and wrap().

◆ mooreUnpackedArrayTypeGet()

MlirType mooreUnpackedArrayTypeGet ( unsigned size,
MlirType elementType )

Create an unpacked array type.

Definition at line 81 of file Moore.cpp.

References elementType, unwrap(), and wrap().

◆ mooreVoidTypeGet()

MlirType mooreVoidTypeGet ( MlirContext ctx)

Create a void type.

Definition at line 30 of file Moore.cpp.

References mooreVoidTypeGet(), unwrap(), and wrap().

Referenced by mooreVoidTypeGet().