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

Go to the source code of this file.

Classes

struct  OMEvaluator
 A value type for use in C APIs that just wraps a pointer to an Evaluator. More...
struct  OMEvaluatorValue
 A value type for use in C APIs that just wraps a pointer to an Object. More...

Typedefs

typedef struct OMEvaluator OMEvaluator
typedef struct OMEvaluatorValue OMEvaluatorValue

Functions

 MLIR_DECLARE_CAPI_DIALECT_REGISTRATION (OM, om)
MLIR_CAPI_EXPORTED bool omTypeIsAAnyType (MlirType type)
 Is the Type an AnyType.
MLIR_CAPI_EXPORTED MlirTypeID omAnyTypeGetTypeID (void)
 Get the TypeID for an AnyType.
MLIR_CAPI_EXPORTED bool omTypeIsAClassType (MlirType type)
 Is the Type a ClassType.
MLIR_CAPI_EXPORTED MlirTypeID omClassTypeGetTypeID (void)
 Get the TypeID for a ClassType.
MLIR_CAPI_EXPORTED MlirIdentifier omClassTypeGetName (MlirType type)
 Get the name for a ClassType.
MLIR_CAPI_EXPORTED bool omTypeIsAFrozenBasePathType (MlirType type)
 Is the Type a FrozenBasePathType.
MLIR_CAPI_EXPORTED MlirTypeID omFrozenBasePathTypeGetTypeID (void)
 Get the TypeID for a FrozenBasePathType.
MLIR_CAPI_EXPORTED bool omTypeIsAFrozenPathType (MlirType type)
 Is the Type a FrozenPathType.
MLIR_CAPI_EXPORTED MlirTypeID omFrozenPathTypeGetTypeID (void)
 Get the TypeID for a FrozenPathType.
MLIR_CAPI_EXPORTED bool omTypeIsAListType (MlirType type)
 Is the Type a ListType.
MLIR_CAPI_EXPORTED MlirTypeID omListTypeGetTypeID (void)
 Get the TypeID for a ListType.
MLIR_CAPI_EXPORTED MlirType omListTypeGetElementType (MlirType type)
MLIR_CAPI_EXPORTED bool omTypeIsAOptionType (MlirType type)
 Is the Type an OptionType.
MLIR_CAPI_EXPORTED MlirTypeID omOptionTypeGetTypeID (void)
 Get the TypeID for an OptionType.
MLIR_CAPI_EXPORTED MlirType omOptionTypeGetElementType (MlirType type)
 Get the element type of an OptionType.
MLIR_CAPI_EXPORTED MlirType omOptionTypeGet (MlirType elementType)
 Get an OptionType.
MLIR_CAPI_EXPORTED bool omTypeIsAStringType (MlirType type)
 Is the Type a StringType.
MLIR_CAPI_EXPORTED MlirTypeID omStringTypeGetTypeID (void)
 Get the TypeID for a StringType.
MLIR_CAPI_EXPORTED MlirType omStringTypeGet (MlirContext ctx)
 Get a StringType.
MLIR_CAPI_EXPORTED OMEvaluator omEvaluatorNew (MlirModule mod)
 Construct an Evaluator with an IR module.
MLIR_CAPI_EXPORTED OMEvaluatorValue omEvaluatorInstantiate (OMEvaluator evaluator, MlirAttribute className, intptr_t nActualParams, OMEvaluatorValue *actualParams)
 Use the Evaluator to Instantiate an Object from its class name and actual parameters.
MLIR_CAPI_EXPORTED MlirModule omEvaluatorGetModule (OMEvaluator evaluator)
 Get the Module the Evaluator is built from.
MLIR_CAPI_EXPORTED bool omEvaluatorObjectIsNull (OMEvaluatorValue object)
 Query if the Object is null.
MLIR_CAPI_EXPORTED MlirType omEvaluatorObjectGetType (OMEvaluatorValue object)
 Get the Type from an Object, which will be a ClassType.
MLIR_CAPI_EXPORTED OMEvaluatorValue omEvaluatorObjectGetField (OMEvaluatorValue object, MlirAttribute name)
 Get a field from an Object, which must contain a field of that name.
MLIR_CAPI_EXPORTED unsigned omEvaluatorObjectGetHash (OMEvaluatorValue object)
 Get the object hash.
MLIR_CAPI_EXPORTED bool omEvaluatorObjectIsEq (OMEvaluatorValue object, OMEvaluatorValue other)
 Check equality of two objects.
MLIR_CAPI_EXPORTED MlirAttribute omEvaluatorObjectGetFieldNames (OMEvaluatorValue object)
 Get all the field names from an Object, can be empty if object has no fields.
MLIR_CAPI_EXPORTED MlirContext omEvaluatorValueGetContext (OMEvaluatorValue evaluatorValue)
MLIR_CAPI_EXPORTED MlirLocation omEvaluatorValueGetLoc (OMEvaluatorValue evaluatorValue)
MLIR_CAPI_EXPORTED bool omEvaluatorValueIsNull (OMEvaluatorValue evaluatorValue)
MLIR_CAPI_EXPORTED bool omEvaluatorValueIsAObject (OMEvaluatorValue evaluatorValue)
 Query if the EvaluatorValue is an Object.
MLIR_CAPI_EXPORTED bool omEvaluatorValueIsAPrimitive (OMEvaluatorValue evaluatorValue)
 Query if the EvaluatorValue is a Primitive.
MLIR_CAPI_EXPORTED MlirAttribute omEvaluatorValueGetPrimitive (OMEvaluatorValue evaluatorValue)
 Get the Primitive from an EvaluatorValue, which must contain a Primitive.
MLIR_CAPI_EXPORTED OMEvaluatorValue omEvaluatorValueFromPrimitive (MlirAttribute primitive)
 Get the EvaluatorValue from a Primitive value.
MLIR_CAPI_EXPORTED bool omEvaluatorValueIsAList (OMEvaluatorValue evaluatorValue)
 Query if the EvaluatorValue is an Object.
MLIR_CAPI_EXPORTED intptr_t omEvaluatorListGetNumElements (OMEvaluatorValue evaluatorValue)
 Get the length of the list.
MLIR_CAPI_EXPORTED OMEvaluatorValue omEvaluatorListGetElement (OMEvaluatorValue evaluatorValue, intptr_t pos)
 Get an element of the list.
MLIR_CAPI_EXPORTED bool omEvaluatorValueIsAOption (OMEvaluatorValue evaluatorValue)
 Query if the EvaluatorValue is an Option.
MLIR_CAPI_EXPORTED OMEvaluatorValue omEvaluatorOptionGetEmpty (MlirType optionType)
 Create an empty Option. The type must be an OptionType.
MLIR_CAPI_EXPORTED OMEvaluatorValue omEvaluatorOptionGet (MlirType optionType, OMEvaluatorValue payload)
 Create a present Option.
MLIR_CAPI_EXPORTED bool omEvaluatorOptionHasValue (OMEvaluatorValue evaluatorValue)
 Query whether a fully evaluated, non-unknown Option is present.
MLIR_CAPI_EXPORTED OMEvaluatorValue omEvaluatorOptionGetValue (OMEvaluatorValue evaluatorValue)
 Get the payload of a fully evaluated, non-unknown, present Option.
MLIR_CAPI_EXPORTED bool omEvaluatorValueIsABasePath (OMEvaluatorValue evaluatorValue)
 Query if the EvaluatorValue is a BasePath.
MLIR_CAPI_EXPORTED OMEvaluatorValue omEvaluatorBasePathGetEmpty (MlirContext context)
 Create an empty BasePath.
MLIR_CAPI_EXPORTED bool omEvaluatorValueIsAPath (OMEvaluatorValue evaluatorValue)
 Query if the EvaluatorValue is a Path.
MLIR_CAPI_EXPORTED MlirAttribute omEvaluatorPathGetAsString (OMEvaluatorValue evaluatorValue)
 Get a string representation of a Path.
MLIR_CAPI_EXPORTED bool omEvaluatorValueIsUnknown (OMEvaluatorValue evaluatorValue)
 Query if the EvaluatorValue is Unknown.
MLIR_CAPI_EXPORTED OMEvaluatorValue omEvaluatorUnknownGet (MlirContext context, MlirType type)
 Create an Unknown EvaluatorValue with the given type.
MLIR_CAPI_EXPORTED MlirType omEvaluatorValueGetType (OMEvaluatorValue evaluatorValue)
 Get the type of an EvaluatorValue.
MLIR_CAPI_EXPORTED bool omAttrIsAReferenceAttr (MlirAttribute attr)
MLIR_CAPI_EXPORTED MlirAttribute omReferenceAttrGetInnerRef (MlirAttribute attr)
MLIR_CAPI_EXPORTED bool omAttrIsAIntegerAttr (MlirAttribute attr)
MLIR_CAPI_EXPORTED MlirAttribute omIntegerAttrGetInt (MlirAttribute attr)
 Given an om::IntegerAttr, return the mlir::IntegerAttr.
MLIR_CAPI_EXPORTED MlirAttribute omIntegerAttrGet (MlirAttribute attr)
 Get an om::IntegerAttr from mlir::IntegerAttr.
MLIR_CAPI_EXPORTED MlirStringRef omIntegerAttrToString (MlirAttribute attr)
 Get a string representation of an om::IntegerAttr.
MLIR_CAPI_EXPORTED bool omAttrIsAListAttr (MlirAttribute attr)
MLIR_CAPI_EXPORTED intptr_t omListAttrGetNumElements (MlirAttribute attr)
MLIR_CAPI_EXPORTED MlirAttribute omListAttrGetElement (MlirAttribute attr, intptr_t pos)
MLIR_CAPI_EXPORTED MlirAttribute omListAttrGet (MlirType elementType, intptr_t numElements, const MlirAttribute *elements)

Typedef Documentation

◆ OMEvaluator

typedef struct OMEvaluator OMEvaluator

Definition at line 98 of file OM.h.

◆ OMEvaluatorValue

typedef struct OMEvaluatorValue OMEvaluatorValue

Definition at line 109 of file OM.h.

Function Documentation

◆ MLIR_DECLARE_CAPI_DIALECT_REGISTRATION()

MLIR_DECLARE_CAPI_DIALECT_REGISTRATION ( OM ,
om  )

References elementType.

◆ omAnyTypeGetTypeID()

MLIR_CAPI_EXPORTED MlirTypeID omAnyTypeGetTypeID ( void )

Get the TypeID for an AnyType.

Definition at line 36 of file OM.cpp.

References wrap().

◆ omAttrIsAIntegerAttr()

MLIR_CAPI_EXPORTED bool omAttrIsAIntegerAttr ( MlirAttribute attr)

Definition at line 380 of file OM.cpp.

References unwrap().

◆ omAttrIsAListAttr()

MLIR_CAPI_EXPORTED bool omAttrIsAListAttr ( MlirAttribute attr)

Definition at line 408 of file OM.cpp.

References unwrap().

◆ omAttrIsAReferenceAttr()

MLIR_CAPI_EXPORTED bool omAttrIsAReferenceAttr ( MlirAttribute attr)

Definition at line 367 of file OM.cpp.

References unwrap().

◆ omClassTypeGetName()

MLIR_CAPI_EXPORTED MlirIdentifier omClassTypeGetName ( MlirType type)

Get the name for a ClassType.

Definition at line 45 of file OM.cpp.

References unwrap(), and wrap().

◆ omClassTypeGetTypeID()

MLIR_CAPI_EXPORTED MlirTypeID omClassTypeGetTypeID ( void )

Get the TypeID for a ClassType.

Definition at line 42 of file OM.cpp.

References wrap().

◆ omEvaluatorBasePathGetEmpty()

MLIR_CAPI_EXPORTED OMEvaluatorValue omEvaluatorBasePathGetEmpty ( MlirContext context)

Create an empty BasePath.

Definition at line 330 of file OM.cpp.

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

◆ omEvaluatorGetModule()

MLIR_CAPI_EXPORTED MlirModule omEvaluatorGetModule ( OMEvaluator evaluator)

Get the Module the Evaluator is built from.

Definition at line 173 of file OM.cpp.

References unwrap(), and wrap().

◆ omEvaluatorInstantiate()

MLIR_CAPI_EXPORTED OMEvaluatorValue omEvaluatorInstantiate ( OMEvaluator evaluator,
MlirAttribute className,
intptr_t nActualParams,
OMEvaluatorValue * actualParams )

Use the Evaluator to Instantiate an Object from its class name and actual parameters.

Definition at line 145 of file OM.cpp.

References circt::om::Evaluator::instantiate(), unwrap(), and wrap().

◆ omEvaluatorListGetElement()

MLIR_CAPI_EXPORTED OMEvaluatorValue omEvaluatorListGetElement ( OMEvaluatorValue evaluatorValue,
intptr_t pos )

Get an element of the list.

Get an element of the list.

Definition at line 294 of file OM.cpp.

References unwrap(), and wrap().

◆ omEvaluatorListGetNumElements()

MLIR_CAPI_EXPORTED intptr_t omEvaluatorListGetNumElements ( OMEvaluatorValue evaluatorValue)

Get the length of the list.

Get the length of the list.

Definition at line 287 of file OM.cpp.

References unwrap().

◆ omEvaluatorNew()

MLIR_CAPI_EXPORTED OMEvaluator omEvaluatorNew ( MlirModule mod)

Construct an Evaluator with an IR module.

Definition at line 138 of file OM.cpp.

References unwrap(), and wrap().

◆ omEvaluatorObjectGetField()

MLIR_CAPI_EXPORTED OMEvaluatorValue omEvaluatorObjectGetField ( OMEvaluatorValue object,
MlirAttribute name )

Get a field from an Object, which must contain a field of that name.

Definition at line 210 of file OM.cpp.

References unwrap(), and wrap().

◆ omEvaluatorObjectGetFieldNames()

MLIR_CAPI_EXPORTED MlirAttribute omEvaluatorObjectGetFieldNames ( OMEvaluatorValue object)

Get all the field names from an Object, can be empty if object has no fields.

Get all the field names from an Object, can be empty if object has no fields.

Definition at line 205 of file OM.cpp.

References unwrap(), and wrap().

◆ omEvaluatorObjectGetHash()

MLIR_CAPI_EXPORTED unsigned omEvaluatorObjectGetHash ( OMEvaluatorValue object)

Get the object hash.

Get the object hash.

Definition at line 194 of file OM.cpp.

References llvm::hash_value(), and unwrap().

◆ omEvaluatorObjectGetType()

MLIR_CAPI_EXPORTED MlirType omEvaluatorObjectGetType ( OMEvaluatorValue object)

Get the Type from an Object, which will be a ClassType.

Definition at line 189 of file OM.cpp.

References unwrap(), and wrap().

◆ omEvaluatorObjectIsEq()

MLIR_CAPI_EXPORTED bool omEvaluatorObjectIsEq ( OMEvaluatorValue object,
OMEvaluatorValue other )

Check equality of two objects.

Check equality of two objects.

Definition at line 199 of file OM.cpp.

References unwrap().

◆ omEvaluatorObjectIsNull()

MLIR_CAPI_EXPORTED bool omEvaluatorObjectIsNull ( OMEvaluatorValue object)

Query if the Object is null.

Definition at line 183 of file OM.cpp.

◆ omEvaluatorOptionGet()

MLIR_CAPI_EXPORTED OMEvaluatorValue omEvaluatorOptionGet ( MlirType optionType,
OMEvaluatorValue payload )

Create a present Option.

The type must be an OptionType and the payload must be non-null and valid for its element type and context. Use omEvaluatorOptionGetEmpty to create an empty Option.

Definition at line 310 of file OM.cpp.

References unwrap(), and wrap().

◆ omEvaluatorOptionGetEmpty()

MLIR_CAPI_EXPORTED OMEvaluatorValue omEvaluatorOptionGetEmpty ( MlirType optionType)

Create an empty Option. The type must be an OptionType.

Definition at line 304 of file OM.cpp.

References unwrap(), and wrap().

◆ omEvaluatorOptionGetValue()

MLIR_CAPI_EXPORTED OMEvaluatorValue omEvaluatorOptionGetValue ( OMEvaluatorValue evaluatorValue)

Get the payload of a fully evaluated, non-unknown, present Option.

Definition at line 321 of file OM.cpp.

References unwrap(), and wrap().

◆ omEvaluatorOptionHasValue()

MLIR_CAPI_EXPORTED bool omEvaluatorOptionHasValue ( OMEvaluatorValue evaluatorValue)

Query whether a fully evaluated, non-unknown Option is present.

Definition at line 317 of file OM.cpp.

References unwrap().

◆ omEvaluatorPathGetAsString()

MLIR_CAPI_EXPORTED MlirAttribute omEvaluatorPathGetAsString ( OMEvaluatorValue evaluatorValue)

Get a string representation of a Path.

Definition at line 338 of file OM.cpp.

References unwrap(), and wrap().

◆ omEvaluatorUnknownGet()

MLIR_CAPI_EXPORTED OMEvaluatorValue omEvaluatorUnknownGet ( MlirContext context,
MlirType type )

Create an Unknown EvaluatorValue with the given type.

Create an Unknown EvaluatorValue with the given type.

Definition at line 349 of file OM.cpp.

References context, circt::om::evaluator::AttributeValue::get(), unwrap(), and wrap().

◆ omEvaluatorValueFromPrimitive()

MLIR_CAPI_EXPORTED OMEvaluatorValue omEvaluatorValueFromPrimitive ( MlirAttribute primitive)

Get the EvaluatorValue from a Primitive value.

Get the EvaluatorValue from a Primitive value.

Definition at line 268 of file OM.cpp.

References circt::om::evaluator::AttributeValue::get(), unwrap(), and wrap().

◆ omEvaluatorValueGetContext()

MLIR_CAPI_EXPORTED MlirContext omEvaluatorValueGetContext ( OMEvaluatorValue evaluatorValue)

Definition at line 231 of file OM.cpp.

References unwrap(), and wrap().

◆ omEvaluatorValueGetLoc()

MLIR_CAPI_EXPORTED MlirLocation omEvaluatorValueGetLoc ( OMEvaluatorValue evaluatorValue)

Definition at line 236 of file OM.cpp.

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

◆ omEvaluatorValueGetPrimitive()

MLIR_CAPI_EXPORTED MlirAttribute omEvaluatorValueGetPrimitive ( OMEvaluatorValue evaluatorValue)

Get the Primitive from an EvaluatorValue, which must contain a Primitive.

Definition at line 259 of file OM.cpp.

References assert(), omEvaluatorValueIsAPrimitive(), unwrap(), and wrap().

◆ omEvaluatorValueGetType()

MLIR_CAPI_EXPORTED MlirType omEvaluatorValueGetType ( OMEvaluatorValue evaluatorValue)

Get the type of an EvaluatorValue.

Definition at line 359 of file OM.cpp.

References unwrap(), and wrap().

◆ omEvaluatorValueIsABasePath()

MLIR_CAPI_EXPORTED bool omEvaluatorValueIsABasePath ( OMEvaluatorValue evaluatorValue)

Query if the EvaluatorValue is a BasePath.

Definition at line 326 of file OM.cpp.

References unwrap().

◆ omEvaluatorValueIsAList()

MLIR_CAPI_EXPORTED bool omEvaluatorValueIsAList ( OMEvaluatorValue evaluatorValue)

Query if the EvaluatorValue is an Object.

Query if the EvaluatorValue is an Object.

Definition at line 274 of file OM.cpp.

References unwrap().

Referenced by omEvaluatorValueGetList().

◆ omEvaluatorValueIsAObject()

MLIR_CAPI_EXPORTED bool omEvaluatorValueIsAObject ( OMEvaluatorValue evaluatorValue)

Query if the EvaluatorValue is an Object.

Definition at line 247 of file OM.cpp.

References unwrap().

◆ omEvaluatorValueIsAOption()

MLIR_CAPI_EXPORTED bool omEvaluatorValueIsAOption ( OMEvaluatorValue evaluatorValue)

Query if the EvaluatorValue is an Option.

Definition at line 300 of file OM.cpp.

References unwrap().

◆ omEvaluatorValueIsAPath()

MLIR_CAPI_EXPORTED bool omEvaluatorValueIsAPath ( OMEvaluatorValue evaluatorValue)

Query if the EvaluatorValue is a Path.

Definition at line 334 of file OM.cpp.

References unwrap().

◆ omEvaluatorValueIsAPrimitive()

MLIR_CAPI_EXPORTED bool omEvaluatorValueIsAPrimitive ( OMEvaluatorValue evaluatorValue)

Query if the EvaluatorValue is a Primitive.

Definition at line 253 of file OM.cpp.

References unwrap().

Referenced by omEvaluatorValueGetPrimitive().

◆ omEvaluatorValueIsNull()

MLIR_CAPI_EXPORTED bool omEvaluatorValueIsNull ( OMEvaluatorValue evaluatorValue)

Definition at line 241 of file OM.cpp.

References OMEvaluatorValue::ptr.

◆ omEvaluatorValueIsUnknown()

MLIR_CAPI_EXPORTED bool omEvaluatorValueIsUnknown ( OMEvaluatorValue evaluatorValue)

Query if the EvaluatorValue is Unknown.

Query if the EvaluatorValue is Unknown.

Definition at line 344 of file OM.cpp.

References unwrap().

◆ omFrozenBasePathTypeGetTypeID()

MLIR_CAPI_EXPORTED MlirTypeID omFrozenBasePathTypeGetTypeID ( void )

Get the TypeID for a FrozenBasePathType.

Definition at line 55 of file OM.cpp.

References wrap().

◆ omFrozenPathTypeGetTypeID()

MLIR_CAPI_EXPORTED MlirTypeID omFrozenPathTypeGetTypeID ( void )

Get the TypeID for a FrozenPathType.

Definition at line 65 of file OM.cpp.

References wrap().

◆ omIntegerAttrGet()

MLIR_CAPI_EXPORTED MlirAttribute omIntegerAttrGet ( MlirAttribute attr)

Get an om::IntegerAttr from mlir::IntegerAttr.

Definition at line 388 of file OM.cpp.

References unwrap(), and wrap().

◆ omIntegerAttrGetInt()

MLIR_CAPI_EXPORTED MlirAttribute omIntegerAttrGetInt ( MlirAttribute attr)

Given an om::IntegerAttr, return the mlir::IntegerAttr.

Definition at line 384 of file OM.cpp.

References unwrap(), and wrap().

◆ omIntegerAttrToString()

MLIR_CAPI_EXPORTED MlirStringRef omIntegerAttrToString ( MlirAttribute attr)

Get a string representation of an om::IntegerAttr.

Definition at line 395 of file OM.cpp.

References unwrap(), and wrap().

◆ omListAttrGet()

MLIR_CAPI_EXPORTED MlirAttribute omListAttrGet ( MlirType elementType,
intptr_t numElements,
const MlirAttribute * elements )

Definition at line 422 of file OM.cpp.

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

◆ omListAttrGetElement()

MLIR_CAPI_EXPORTED MlirAttribute omListAttrGetElement ( MlirAttribute attr,
intptr_t pos )

Definition at line 417 of file OM.cpp.

References unwrap(), and wrap().

◆ omListAttrGetNumElements()

MLIR_CAPI_EXPORTED intptr_t omListAttrGetNumElements ( MlirAttribute attr)

Definition at line 412 of file OM.cpp.

References unwrap().

◆ omListTypeGetElementType()

MLIR_CAPI_EXPORTED MlirType omListTypeGetElementType ( MlirType type)

Definition at line 76 of file OM.cpp.

References unwrap(), and wrap().

◆ omListTypeGetTypeID()

MLIR_CAPI_EXPORTED MlirTypeID omListTypeGetTypeID ( void )

Get the TypeID for a ListType.

Definition at line 73 of file OM.cpp.

References wrap().

◆ omOptionTypeGet()

MLIR_CAPI_EXPORTED MlirType omOptionTypeGet ( MlirType elementType)

Get an OptionType.

Definition at line 94 of file OM.cpp.

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

◆ omOptionTypeGetElementType()

MLIR_CAPI_EXPORTED MlirType omOptionTypeGetElementType ( MlirType type)

Get the element type of an OptionType.

Definition at line 89 of file OM.cpp.

References unwrap(), and wrap().

◆ omOptionTypeGetTypeID()

MLIR_CAPI_EXPORTED MlirTypeID omOptionTypeGetTypeID ( void )

Get the TypeID for an OptionType.

Definition at line 86 of file OM.cpp.

References wrap().

◆ omReferenceAttrGetInnerRef()

MLIR_CAPI_EXPORTED MlirAttribute omReferenceAttrGetInnerRef ( MlirAttribute attr)

Definition at line 371 of file OM.cpp.

References unwrap(), and wrap().

◆ omStringTypeGet()

MLIR_CAPI_EXPORTED MlirType omStringTypeGet ( MlirContext ctx)

Get a StringType.

Definition at line 104 of file OM.cpp.

References unwrap(), and wrap().

◆ omStringTypeGetTypeID()

MLIR_CAPI_EXPORTED MlirTypeID omStringTypeGetTypeID ( void )

Get the TypeID for a StringType.

Definition at line 109 of file OM.cpp.

References wrap().

◆ omTypeIsAAnyType()

MLIR_CAPI_EXPORTED bool omTypeIsAAnyType ( MlirType type)

Is the Type an AnyType.

Definition at line 33 of file OM.cpp.

References omTypeIsAAnyType(), and unwrap().

Referenced by omTypeIsAAnyType().

◆ omTypeIsAClassType()

MLIR_CAPI_EXPORTED bool omTypeIsAClassType ( MlirType type)

Is the Type a ClassType.

Definition at line 39 of file OM.cpp.

References unwrap().

◆ omTypeIsAFrozenBasePathType()

MLIR_CAPI_EXPORTED bool omTypeIsAFrozenBasePathType ( MlirType type)

Is the Type a FrozenBasePathType.

Definition at line 50 of file OM.cpp.

References unwrap().

◆ omTypeIsAFrozenPathType()

MLIR_CAPI_EXPORTED bool omTypeIsAFrozenPathType ( MlirType type)

Is the Type a FrozenPathType.

Definition at line 60 of file OM.cpp.

References unwrap().

◆ omTypeIsAListType()

MLIR_CAPI_EXPORTED bool omTypeIsAListType ( MlirType type)

Is the Type a ListType.

Definition at line 70 of file OM.cpp.

References unwrap().

◆ omTypeIsAOptionType()

MLIR_CAPI_EXPORTED bool omTypeIsAOptionType ( MlirType type)

Is the Type an OptionType.

Definition at line 81 of file OM.cpp.

References unwrap().

◆ omTypeIsAStringType()

MLIR_CAPI_EXPORTED bool omTypeIsAStringType ( MlirType type)

Is the Type a StringType.

Definition at line 99 of file OM.cpp.

References unwrap().