CIRCT 22.0.0git
Loading...
Searching...
No Matches
Functions
InstanceGraph.cpp File Reference
#include "circt-c/Support/InstanceGraph.h"
#include "circt/Support/InstanceGraph.h"
#include "mlir/CAPI/IR.h"
#include "mlir/CAPI/Support.h"
#include "mlir/CAPI/Utils.h"
#include <string>
Include dependency graph for InstanceGraph.cpp:

Go to the source code of this file.

Functions

ArrayRef< igraph::InstanceOpInterface > unwrap (IgraphInstancePath instancePath)
 
IgraphInstancePath wrap (ArrayRef< igraph::InstanceOpInterface > instancePath)
 
size_t igraphInstancePathSize (IgraphInstancePath instancePath)
 
MlirOperation igraphInstancePathGet (IgraphInstancePath instancePath, size_t index)
 

Function Documentation

◆ igraphInstancePathGet()

MlirOperation igraphInstancePathGet ( IgraphInstancePath  instancePath,
size_t  index 
)

Definition at line 43 of file InstanceGraph.cpp.

References assert(), IgraphInstancePath::ptr, unwrap(), and wrap().

◆ igraphInstancePathSize()

size_t igraphInstancePathSize ( IgraphInstancePath  instancePath)

Definition at line 39 of file InstanceGraph.cpp.

References unwrap().

◆ unwrap()

ArrayRef< igraph::InstanceOpInterface > unwrap ( IgraphInstancePath  instancePath)

◆ wrap()

IgraphInstancePath wrap ( ArrayRef< igraph::InstanceOpInterface >  instancePath)

Definition at line 29 of file InstanceGraph.cpp.

References IgraphInstancePath::size.

Referenced by igraphInstancePathGet().