CIRCT  18.0.0git
Functions
OM.cpp File Reference
#include "circt-c/Dialect/OM.h"
#include "circt/Dialect/OM/Evaluator/Evaluator.h"
#include "circt/Dialect/OM/OMAttributes.h"
#include "circt/Dialect/OM/OMDialect.h"
#include "mlir/CAPI/Registration.h"
#include "mlir/CAPI/Wrap.h"
#include "mlir/IR/Location.h"
#include "llvm/ADT/Hashing.h"
#include "llvm/Support/Casting.h"
Include dependency graph for OM.cpp:

Go to the source code of this file.

Functions

bool omTypeIsAClassType (MlirType type)
 Is the Type a ClassType. More...
 
MlirTypeID omClassTypeGetTypeID ()
 Get the TypeID for a ClassType. More...
 
MlirIdentifier omClassTypeGetName (MlirType type)
 Get the name for a ClassType. More...
 
bool omTypeIsAFrozenBasePathType (MlirType type)
 Is the Type a FrozenBasePathType. More...
 
MlirTypeID omFrozenBasePathTypeGetTypeID (void)
 Get the TypeID for a FrozenBasePathType. More...
 
bool omTypeIsAFrozenPathType (MlirType type)
 Is the Type a FrozenPathType. More...
 
MlirTypeID omFrozenPathTypeGetTypeID (void)
 Get the TypeID for a FrozenPathType. More...
 
bool omTypeIsAStringType (MlirType type)
 Is the Type a StringType. More...
 
MlirType omStringTypeGet (MlirContext ctx)
 Get a StringType. More...
 
MlirType omMapTypeGetKeyType (MlirType type)
 Return a key type of a map. More...
 
static OMEvaluatorValue wrap (EvaluatorValuePtr object)
 Define our own wrap and unwrap instead of using the usual macro. More...
 
static EvaluatorValuePtr unwrap (OMEvaluatorValue c)
 
OMEvaluator omEvaluatorNew (MlirModule mod)
 Construct an Evaluator with an IR module. More...
 
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. More...
 
MlirModule omEvaluatorGetModule (OMEvaluator evaluator)
 Get the Module the Evaluator is built from. More...
 
bool omEvaluatorObjectIsNull (OMEvaluatorValue object)
 Query if the Object is null. More...
 
MlirType omEvaluatorObjectGetType (OMEvaluatorValue object)
 Get the Type from an Object, which will be a ClassType. More...
 
unsigned omEvaluatorObjectGetHash (OMEvaluatorValue object)
 Get the hash for the object. More...
 
bool omEvaluatorObjectIsEq (OMEvaluatorValue object, OMEvaluatorValue other)
 Check if two objects are same. More...
 
MlirAttribute omEvaluatorObjectGetFieldNames (OMEvaluatorValue object)
 Get an ArrayAttr with the names of the fields in an Object. More...
 
MlirType omEvaluatorMapGetType (OMEvaluatorValue value)
 Get the Type from a Map, which will be a MapType. More...
 
MlirAttribute omEvaluatorMapGetKeys (OMEvaluatorValue object)
 Get an ArrayAttr with the keys in a Map. More...
 
OMEvaluatorValue omEvaluatorObjectGetField (OMEvaluatorValue object, MlirAttribute name)
 Get a field from an Object, which must contain a field of that name. More...
 
MlirContext omEvaluatorValueGetContext (OMEvaluatorValue evaluatorValue)
 
MlirLocation omEvaluatorValueGetLoc (OMEvaluatorValue evaluatorValue)
 
bool omEvaluatorValueIsNull (OMEvaluatorValue evaluatorValue)
 
bool omEvaluatorValueIsAObject (OMEvaluatorValue evaluatorValue)
 Query if the EvaluatorValue is an Object. More...
 
bool omEvaluatorValueIsAPrimitive (OMEvaluatorValue evaluatorValue)
 Query if the EvaluatorValue is a Primitive. More...
 
MlirAttribute omEvaluatorValueGetPrimitive (OMEvaluatorValue evaluatorValue)
 Get the Primitive from an EvaluatorValue, which must contain a Primitive. More...
 
OMEvaluatorValue omEvaluatorValueFromPrimitive (MlirAttribute primitive)
 Get the Primitive from an EvaluatorValue, which must contain a Primitive. More...
 
bool omEvaluatorValueIsAList (OMEvaluatorValue evaluatorValue)
 Query if the EvaluatorValue is a List. More...
 
OMEvaluatorValue omEvaluatorValueGetList (OMEvaluatorValue evaluatorValue)
 Get the List from an EvaluatorValue, which must contain a List. More...
 
intptr_t omEvaluatorListGetNumElements (OMEvaluatorValue evaluatorValue)
 Get the length of the List. More...
 
OMEvaluatorValue omEvaluatorListGetElement (OMEvaluatorValue evaluatorValue, intptr_t pos)
 Get an element of the List. More...
 
bool omEvaluatorValueIsATuple (OMEvaluatorValue evaluatorValue)
 Query if the EvaluatorValue is a Tuple. More...
 
intptr_t omEvaluatorTupleGetNumElements (OMEvaluatorValue evaluatorValue)
 Get the length of the Tuple. More...
 
OMEvaluatorValue omEvaluatorTupleGetElement (OMEvaluatorValue evaluatorValue, intptr_t pos)
 Get an element of the Tuple. More...
 
OMEvaluatorValue omEvaluatorMapGetElement (OMEvaluatorValue evaluatorValue, MlirAttribute attr)
 Get an element of the Map. More...
 
bool omEvaluatorValueIsAMap (OMEvaluatorValue evaluatorValue)
 Query if the EvaluatorValue is a map. More...
 
bool omEvaluatorValueIsABasePath (OMEvaluatorValue evaluatorValue)
 Query if the EvaluatorValue is a BasePath. More...
 
OMEvaluatorValue omEvaluatorBasePathGetEmpty (MlirContext context)
 Create an empty BasePath. More...
 
bool omEvaluatorValueIsAPath (OMEvaluatorValue evaluatorValue)
 Query if the EvaluatorValue is a Path. More...
 
MlirAttribute omEvaluatorPathGetAsString (OMEvaluatorValue evaluatorValue)
 Get a string representation of a Path. More...
 
bool omAttrIsAReferenceAttr (MlirAttribute attr)
 
MlirAttribute omReferenceAttrGetInnerRef (MlirAttribute referenceAttr)
 
bool omAttrIsAIntegerAttr (MlirAttribute attr)
 
MlirAttribute omIntegerAttrGetInt (MlirAttribute attr)
 Given an om::IntegerAttr, return the mlir::IntegerAttr. More...
 
MlirAttribute omIntegerAttrGet (MlirAttribute attr)
 Get an om::IntegerAttr from mlir::IntegerAttr. More...
 
bool omAttrIsAListAttr (MlirAttribute attr)
 
intptr_t omListAttrGetNumElements (MlirAttribute attr)
 
MlirAttribute omListAttrGetElement (MlirAttribute attr, intptr_t pos)
 
bool omAttrIsAMapAttr (MlirAttribute attr)
 
intptr_t omMapAttrGetNumElements (MlirAttribute attr)
 
MlirIdentifier omMapAttrGetElementKey (MlirAttribute attr, intptr_t pos)
 
MlirAttribute omMapAttrGetElementValue (MlirAttribute attr, intptr_t pos)
 

Function Documentation

◆ omAttrIsAIntegerAttr()

bool omAttrIsAIntegerAttr ( MlirAttribute  attr)

Definition at line 349 of file OM.cpp.

References unwrap().

◆ omAttrIsAListAttr()

bool omAttrIsAListAttr ( MlirAttribute  attr)

Definition at line 367 of file OM.cpp.

References unwrap().

◆ omAttrIsAMapAttr()

bool omAttrIsAMapAttr ( MlirAttribute  attr)

Definition at line 385 of file OM.cpp.

References unwrap().

◆ omAttrIsAReferenceAttr()

bool omAttrIsAReferenceAttr ( MlirAttribute  attr)

Definition at line 336 of file OM.cpp.

References unwrap().

◆ omClassTypeGetName()

MlirIdentifier omClassTypeGetName ( MlirType  type)

Get the name for a ClassType.

Definition at line 43 of file OM.cpp.

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

◆ omClassTypeGetTypeID()

MlirTypeID omClassTypeGetTypeID ( void  )

Get the TypeID for a ClassType.

Definition at line 40 of file OM.cpp.

References circt::esi::detail::getTypeID(), and wrap().

◆ omEvaluatorBasePathGetEmpty()

OMEvaluatorValue omEvaluatorBasePathGetEmpty ( MlirContext  context)

Create an empty BasePath.

Definition at line 319 of file OM.cpp.

References unwrap(), and wrap().

◆ omEvaluatorGetModule()

MlirModule omEvaluatorGetModule ( OMEvaluator  evaluator)

Get the Module the Evaluator is built from.

Definition at line 144 of file OM.cpp.

References unwrap(), and wrap().

◆ omEvaluatorInstantiate()

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 116 of file OM.cpp.

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

◆ omEvaluatorListGetElement()

OMEvaluatorValue omEvaluatorListGetElement ( OMEvaluatorValue  evaluatorValue,
intptr_t  pos 
)

Get an element of the List.

Get an element of the list.

Definition at line 274 of file OM.cpp.

References circt::calyx::direction::get(), unwrap(), and wrap().

◆ omEvaluatorListGetNumElements()

intptr_t omEvaluatorListGetNumElements ( OMEvaluatorValue  evaluatorValue)

Get the length of the List.

Get the length of the list.

Definition at line 267 of file OM.cpp.

References circt::calyx::direction::get(), and unwrap().

◆ omEvaluatorMapGetElement()

OMEvaluatorValue omEvaluatorMapGetElement ( OMEvaluatorValue  evaluatorValue,
MlirAttribute  attr 
)

Get an element of the Map.

Get an element of the map.

Definition at line 300 of file OM.cpp.

References circt::calyx::direction::get(), unwrap(), and wrap().

◆ omEvaluatorMapGetKeys()

MlirAttribute omEvaluatorMapGetKeys ( OMEvaluatorValue  object)

Get an ArrayAttr with the keys in a Map.

Definition at line 185 of file OM.cpp.

References circt::calyx::direction::get(), unwrap(), and wrap().

◆ omEvaluatorMapGetType()

MlirType omEvaluatorMapGetType ( OMEvaluatorValue  value)

Get the Type from a Map, which will be a MapType.

Definition at line 180 of file OM.cpp.

References circt::calyx::direction::get(), unwrap(), value, and wrap().

◆ omEvaluatorNew()

OMEvaluator omEvaluatorNew ( MlirModule  mod)

Construct an Evaluator with an IR module.

Definition at line 109 of file OM.cpp.

References unwrap(), and wrap().

◆ omEvaluatorObjectGetField()

OMEvaluatorValue omEvaluatorObjectGetField ( OMEvaluatorValue  object,
MlirAttribute  name 
)

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

Definition at line 190 of file OM.cpp.

References circt::calyx::direction::get(), unwrap(), and wrap().

◆ omEvaluatorObjectGetFieldNames()

MlirAttribute omEvaluatorObjectGetFieldNames ( OMEvaluatorValue  object)

Get an ArrayAttr with the names of the fields in an Object.

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

Definition at line 176 of file OM.cpp.

References circt::calyx::direction::get(), unwrap(), and wrap().

◆ omEvaluatorObjectGetHash()

unsigned omEvaluatorObjectGetHash ( OMEvaluatorValue  object)

Get the hash for the object.

Get the object hash.

Definition at line 165 of file OM.cpp.

References circt::calyx::direction::get(), circt::esi::hash_value(), and unwrap().

◆ omEvaluatorObjectGetType()

MlirType omEvaluatorObjectGetType ( OMEvaluatorValue  object)

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

Definition at line 160 of file OM.cpp.

References circt::calyx::direction::get(), unwrap(), and wrap().

◆ omEvaluatorObjectIsEq()

bool omEvaluatorObjectIsEq ( OMEvaluatorValue  object,
OMEvaluatorValue  other 
)

Check if two objects are same.

Check equality of two objects.

Definition at line 170 of file OM.cpp.

References circt::calyx::direction::get(), and unwrap().

◆ omEvaluatorObjectIsNull()

bool omEvaluatorObjectIsNull ( OMEvaluatorValue  object)

Query if the Object is null.

Definition at line 154 of file OM.cpp.

◆ omEvaluatorPathGetAsString()

MlirAttribute omEvaluatorPathGetAsString ( OMEvaluatorValue  evaluatorValue)

Get a string representation of a Path.

Definition at line 327 of file OM.cpp.

References circt::calyx::direction::get(), unwrap(), and wrap().

◆ omEvaluatorTupleGetElement()

OMEvaluatorValue omEvaluatorTupleGetElement ( OMEvaluatorValue  evaluatorValue,
intptr_t  pos 
)

Get an element of the Tuple.

Get an element of the tuple.

Definition at line 293 of file OM.cpp.

References circt::calyx::direction::get(), unwrap(), and wrap().

◆ omEvaluatorTupleGetNumElements()

intptr_t omEvaluatorTupleGetNumElements ( OMEvaluatorValue  evaluatorValue)

Get the length of the Tuple.

Get the size of the tuple.

Definition at line 286 of file OM.cpp.

References circt::calyx::direction::get(), and unwrap().

◆ omEvaluatorValueFromPrimitive()

OMEvaluatorValue omEvaluatorValueFromPrimitive ( MlirAttribute  primitive)

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

Get the EvaluatorValue from a Primitive value.

Definition at line 248 of file OM.cpp.

References unwrap(), and wrap().

◆ omEvaluatorValueGetContext()

MlirContext omEvaluatorValueGetContext ( OMEvaluatorValue  evaluatorValue)

Definition at line 211 of file OM.cpp.

References unwrap(), and wrap().

◆ omEvaluatorValueGetList()

OMEvaluatorValue omEvaluatorValueGetList ( OMEvaluatorValue  evaluatorValue)

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

TODO: This can be removed.

Definition at line 260 of file OM.cpp.

References assert(), and omEvaluatorValueIsAList().

◆ omEvaluatorValueGetLoc()

MlirLocation omEvaluatorValueGetLoc ( OMEvaluatorValue  evaluatorValue)

Definition at line 216 of file OM.cpp.

References unwrap(), and wrap().

◆ omEvaluatorValueGetPrimitive()

MlirAttribute omEvaluatorValueGetPrimitive ( OMEvaluatorValue  evaluatorValue)

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

Definition at line 239 of file OM.cpp.

References assert(), circt::calyx::direction::get(), getAttr(), omEvaluatorValueIsAPrimitive(), unwrap(), and wrap().

◆ omEvaluatorValueIsABasePath()

bool omEvaluatorValueIsABasePath ( OMEvaluatorValue  evaluatorValue)

Query if the EvaluatorValue is a BasePath.

Definition at line 315 of file OM.cpp.

References circt::calyx::direction::get(), and unwrap().

◆ omEvaluatorValueIsAList()

bool omEvaluatorValueIsAList ( OMEvaluatorValue  evaluatorValue)

Query if the EvaluatorValue is a List.

Query if the EvaluatorValue is an Object.

Definition at line 254 of file OM.cpp.

References circt::calyx::direction::get(), and unwrap().

Referenced by omEvaluatorValueGetList().

◆ omEvaluatorValueIsAMap()

bool omEvaluatorValueIsAMap ( OMEvaluatorValue  evaluatorValue)

Query if the EvaluatorValue is a map.

Query if the EvaluatorValue is a Map.

Definition at line 311 of file OM.cpp.

References circt::calyx::direction::get(), and unwrap().

◆ omEvaluatorValueIsAObject()

bool omEvaluatorValueIsAObject ( OMEvaluatorValue  evaluatorValue)

Query if the EvaluatorValue is an Object.

Definition at line 227 of file OM.cpp.

References circt::calyx::direction::get(), and unwrap().

◆ omEvaluatorValueIsAPath()

bool omEvaluatorValueIsAPath ( OMEvaluatorValue  evaluatorValue)

Query if the EvaluatorValue is a Path.

Definition at line 323 of file OM.cpp.

References circt::calyx::direction::get(), and unwrap().

◆ omEvaluatorValueIsAPrimitive()

bool omEvaluatorValueIsAPrimitive ( OMEvaluatorValue  evaluatorValue)

Query if the EvaluatorValue is a Primitive.

Definition at line 233 of file OM.cpp.

References circt::calyx::direction::get(), and unwrap().

Referenced by omEvaluatorValueGetPrimitive().

◆ omEvaluatorValueIsATuple()

bool omEvaluatorValueIsATuple ( OMEvaluatorValue  evaluatorValue)

Query if the EvaluatorValue is a Tuple.

Definition at line 281 of file OM.cpp.

References circt::calyx::direction::get(), and unwrap().

◆ omEvaluatorValueIsNull()

bool omEvaluatorValueIsNull ( OMEvaluatorValue  evaluatorValue)

Definition at line 221 of file OM.cpp.

References OMEvaluatorValue::ptr.

◆ omFrozenBasePathTypeGetTypeID()

MlirTypeID omFrozenBasePathTypeGetTypeID ( void  )

Get the TypeID for a FrozenBasePathType.

Definition at line 53 of file OM.cpp.

References circt::esi::detail::getTypeID(), and wrap().

◆ omFrozenPathTypeGetTypeID()

MlirTypeID omFrozenPathTypeGetTypeID ( void  )

Get the TypeID for a FrozenPathType.

Definition at line 63 of file OM.cpp.

References circt::esi::detail::getTypeID(), and wrap().

◆ omIntegerAttrGet()

MlirAttribute omIntegerAttrGet ( MlirAttribute  attr)

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

Definition at line 357 of file OM.cpp.

References circt::calyx::direction::get(), unwrap(), and wrap().

◆ omIntegerAttrGetInt()

MlirAttribute omIntegerAttrGetInt ( MlirAttribute  attr)

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

Definition at line 353 of file OM.cpp.

References unwrap(), and wrap().

◆ omListAttrGetElement()

MlirAttribute omListAttrGetElement ( MlirAttribute  attr,
intptr_t  pos 
)

Definition at line 376 of file OM.cpp.

References unwrap(), and wrap().

◆ omListAttrGetNumElements()

intptr_t omListAttrGetNumElements ( MlirAttribute  attr)

Definition at line 371 of file OM.cpp.

References unwrap().

◆ omMapAttrGetElementKey()

MlirIdentifier omMapAttrGetElementKey ( MlirAttribute  attr,
intptr_t  pos 
)

Definition at line 394 of file OM.cpp.

References unwrap(), and wrap().

◆ omMapAttrGetElementValue()

MlirAttribute omMapAttrGetElementValue ( MlirAttribute  attr,
intptr_t  pos 
)

Definition at line 399 of file OM.cpp.

References unwrap(), and wrap().

◆ omMapAttrGetNumElements()

intptr_t omMapAttrGetNumElements ( MlirAttribute  attr)

Definition at line 389 of file OM.cpp.

References unwrap().

◆ omMapTypeGetKeyType()

MlirType omMapTypeGetKeyType ( MlirType  type)

Return a key type of a map.

Definition at line 78 of file OM.cpp.

References unwrap(), and wrap().

◆ omReferenceAttrGetInnerRef()

MlirAttribute omReferenceAttrGetInnerRef ( MlirAttribute  referenceAttr)

Definition at line 340 of file OM.cpp.

References unwrap(), and wrap().

◆ omStringTypeGet()

MlirType omStringTypeGet ( MlirContext  ctx)

Get a StringType.

Definition at line 73 of file OM.cpp.

References circt::calyx::direction::get(), unwrap(), and wrap().

◆ omTypeIsAClassType()

bool omTypeIsAClassType ( MlirType  type)

Is the Type a ClassType.

Definition at line 37 of file OM.cpp.

References unwrap().

◆ omTypeIsAFrozenBasePathType()

bool omTypeIsAFrozenBasePathType ( MlirType  type)

Is the Type a FrozenBasePathType.

Definition at line 48 of file OM.cpp.

References unwrap().

◆ omTypeIsAFrozenPathType()

bool omTypeIsAFrozenPathType ( MlirType  type)

Is the Type a FrozenPathType.

Definition at line 58 of file OM.cpp.

References unwrap().

◆ omTypeIsAStringType()

bool omTypeIsAStringType ( MlirType  type)

Is the Type a StringType.

Definition at line 68 of file OM.cpp.

References unwrap().

◆ unwrap()

static EvaluatorValuePtr unwrap ( OMEvaluatorValue  c)
inlinestatic

Definition at line 100 of file OM.cpp.

References OMEvaluatorValue::ptr.

Referenced by chirrtlTypeGetCMemoryPort(), circtESIAnyTypeGet(), circtESIAppendMlirFile(), circtESIAppIDAttrGet(), circtESIAppIDAttrGetIndex(), circtESIAppIDAttrGetName(), circtESIAppIDAttrPathGet(), circtESIAppIDAttrPathGetComponent(), circtESIAppIDAttrPathGetNumComponents(), circtESIAppIDAttrPathGetRoot(), circtESIAppIDIndexFree(), circtESIAppIDIndexGet(), circtESIAppIDIndexGetAppIDPath(), circtESIAppIDIndexGetChildAppIDsOf(), circtESIAttributeIsAnAppIDAttr(), circtESIAttributeIsAnAppIDPathAttr(), circtESIBundleTypeGet(), circtESIBundleTypeGetChannel(), circtESIBundleTypeGetNumChannels(), circtESIBundleTypeGetResettable(), circtESIChannelGetInner(), circtESIChannelGetSignaling(), circtESIChannelTypeGet(), circtESIListTypeGet(), circtESIListTypeGetElementType(), circtESILookup(), circtESIRegisterGlobalServiceGenerator(), circtESITypeIsABundleType(), circtESITypeIsAChannelType(), circtESITypeIsAListType(), circtESITypeIsAnAnyType(), circtMSFTAttributeIsALocationVectorAttribute(), circtMSFTAttributeIsAPhysicalBoundsAttr(), circtMSFTAttributeIsAPhysLocationAttribute(), circtMSFTCreatePlacementDB(), circtMSFTCreatePrimitiveDB(), circtMSFTDeletePlacementDB(), circtMSFTDeletePrimitiveDB(), circtMSFTLocationVectorAttrGet(), circtMSFTLocationVectorAttrGetElement(), circtMSFTLocationVectorAttrGetNumElements(), circtMSFTLocationVectorAttrGetType(), circtMSFTPhysicalBoundsAttrGet(), circtMSFTPhysLocationAttrGet(), circtMSFTPhysLocationAttrGetNum(), circtMSFTPhysLocationAttrGetPrimitiveType(), circtMSFTPhysLocationAttrGetX(), circtMSFTPhysLocationAttrGetY(), circtMSFTPlacementDBGetInstanceAt(), circtMSFTPlacementDBGetNearestFreeInColumn(), circtMSFTPlacementDBMovePlacement(), circtMSFTPlacementDBPlace(), circtMSFTPlacementDBRemovePlacement(), circtMSFTPlacementDBWalkPlacements(), circtMSFTPrimitiveDBAddPrimitive(), circtMSFTPrimitiveDBIsValidLocation(), circtMSFTReplaceAllUsesWith(), firrtlAttrGetConvention(), firrtlAttrGetEventControl(), firrtlAttrGetMemDir(), firrtlAttrGetMemInit(), firrtlAttrGetNameKind(), firrtlAttrGetParamDecl(), firrtlAttrGetPortDirs(), firrtlAttrGetRUW(), firrtlTypeGetAnalog(), firrtlTypeGetAsyncReset(), firrtlTypeGetBundle(), firrtlTypeGetClock(), firrtlTypeGetReset(), firrtlTypeGetSInt(), firrtlTypeGetVector(), firtoolOptionsDestroy(), hwArrayTypeGet(), hwArrayTypeGetElementType(), hwArrayTypeGetSize(), hwAttrIsAInnerRefAttr(), hwAttrIsAInnerSymAttr(), hwAttrIsAOutputFileAttr(), hwAttrIsAParamDeclAttr(), hwAttrIsAParamDeclRefAttr(), hwAttrIsAParamVerbatimAttr(), hwGetBitWidth(), hwInnerRefAttrGet(), hwInnerRefAttrGetModule(), hwInnerRefAttrGetName(), hwInnerSymAttrGet(), hwInnerSymAttrGetSymName(), hwInOutTypeGet(), hwInOutTypeGetElementType(), hwModuleTypeGet(), hwModuleTypeGetInputName(), hwModuleTypeGetInputType(), hwModuleTypeGetNumInputs(), hwModuleTypeGetNumOutputs(), hwModuleTypeGetOutputName(), hwModuleTypeGetOutputType(), hwOutputFileGetFromFileName(), hwParamDeclAttrGet(), hwParamDeclAttrGetName(), hwParamDeclAttrGetType(), hwParamDeclAttrGetValue(), hwParamDeclRefAttrGet(), hwParamDeclRefAttrGetName(), hwParamDeclRefAttrGetType(), hwParamIntTypeGet(), hwParamIntTypeGetWidthAttr(), hwParamVerbatimAttrGet(), hwStructTypeGet(), hwStructTypeGetField(), hwStructTypeGetFieldIndex(), hwStructTypeGetFieldNum(), hwStructTypeGetNumFields(), hwTypeAliasTypeGet(), hwTypeAliasTypeGetCanonicalType(), hwTypeAliasTypeGetInnerType(), hwTypeAliasTypeGetName(), hwTypeAliasTypeGetScope(), hwTypeIsAArrayType(), hwTypeIsAInOut(), hwTypeIsAIntType(), hwTypeIsAModuleType(), hwTypeIsAStructType(), hwTypeIsATypeAliasType(), hwTypeIsAValueType(), instantiateSystemVerilogMemory(), llhdAttrIsATimeAttr(), llhdPointerTypeGet(), llhdPointerTypeGetElementType(), llhdSignalTypeGet(), llhdSignalTypeGetElementType(), llhdTimeAttrGet(), llhdTimeAttrGetDelta(), llhdTimeAttrGetEpsilon(), llhdTimeAttrGetSeconds(), llhdTimeAttrGetTimeUnit(), llhdTimeTypeGet(), llhdTypeIsAPointerType(), llhdTypeIsASignalType(), llhdTypeIsATimeType(), mlirExportFIRRTL(), mlirExportSplitVerilog(), mlirExportVerilog(), mlirMSFTAddPhysLocationAttr(), mooreChandleTypeGet(), mooreEnumTypeGet(), mooreEnumTypeGetWithBase(), mooreEventTypeGet(), mooreGetSimpleBitVectorSize(), mooreIntTypeGet(), mooreIntTypeGetInt(), mooreIntTypeGetLogic(), mooreIntTypeGetTime(), mooreIsFourValuedType(), mooreIsSimpleBitVectorType(), moorePackedRangeDimTypeGet(), moorePackedUnsizedDimTypeGet(), mooreRealTypeGet(), mooreSimpleBitVectorTypeGet(), mooreStringTypeGet(), mooreUnpackedArrayDimTypeGet(), mooreUnpackedAssocDimTypeGet(), mooreUnpackedAssocDimTypeGetWithIndex(), mooreUnpackedQueueDimTypeGet(), mooreUnpackedQueueDimTypeGetWithBound(), mooreUnpackedRangeDimTypeGet(), mooreUnpackedUnsizedDimTypeGet(), mooreVoidTypeGet(), omAttrIsAIntegerAttr(), omAttrIsAListAttr(), omAttrIsAMapAttr(), omAttrIsAReferenceAttr(), omClassTypeGetName(), omEvaluatorBasePathGetEmpty(), omEvaluatorGetModule(), omEvaluatorInstantiate(), omEvaluatorListGetElement(), omEvaluatorListGetNumElements(), omEvaluatorMapGetElement(), omEvaluatorMapGetKeys(), omEvaluatorMapGetType(), omEvaluatorNew(), omEvaluatorObjectGetField(), omEvaluatorObjectGetFieldNames(), omEvaluatorObjectGetHash(), omEvaluatorObjectGetType(), omEvaluatorObjectIsEq(), omEvaluatorPathGetAsString(), omEvaluatorTupleGetElement(), omEvaluatorTupleGetNumElements(), omEvaluatorValueFromPrimitive(), omEvaluatorValueGetContext(), omEvaluatorValueGetLoc(), omEvaluatorValueGetPrimitive(), omEvaluatorValueIsABasePath(), omEvaluatorValueIsAList(), omEvaluatorValueIsAMap(), omEvaluatorValueIsAObject(), omEvaluatorValueIsAPath(), omEvaluatorValueIsAPrimitive(), omEvaluatorValueIsATuple(), omIntegerAttrGet(), omIntegerAttrGetInt(), omListAttrGetElement(), omListAttrGetNumElements(), omMapAttrGetElementKey(), omMapAttrGetElementValue(), omMapAttrGetNumElements(), omMapTypeGetKeyType(), omReferenceAttrGetInnerRef(), omStringTypeGet(), omTypeIsAClassType(), omTypeIsAFrozenBasePathType(), omTypeIsAFrozenPathType(), omTypeIsAStringType(), operationTypeDupIntRepProc(), operationTypeFreeIntRepProc(), operationTypeUpdateStringProc(), seqClockTypeGet(), seqTypeIsAClock(), svAttrIsASVAttributeAttr(), svSVAttributeAttrGet(), svSVAttributeAttrGetEmitAsComment(), svSVAttributeAttrGetExpression(), and svSVAttributeAttrGetName().

◆ wrap()

static OMEvaluatorValue wrap ( EvaluatorValuePtr  object)
inlinestatic