CIRCT
22.0.0git
Loading...
Searching...
No Matches
include
circt-c
Support
InstanceGraph.h
Go to the documentation of this file.
1
//===----------------------------------------------------------------------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef CIRCT_C_SUPPORT_INSTANCEGRAPH_H
10
#define CIRCT_C_SUPPORT_INSTANCEGRAPH_H
11
12
#include "mlir-c/IR.h"
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
struct
IgraphInstancePath
{
19
void
*
ptr
;
20
size_t
size
;
21
};
22
23
typedef
struct
IgraphInstancePath
IgraphInstancePath
;
24
25
//===----------------------------------------------------------------------===//
26
// InstancePath API
27
//===----------------------------------------------------------------------===//
28
29
MLIR_CAPI_EXPORTED MlirOperation
igraphInstancePathGet
(
IgraphInstancePath
path,
30
size_t
index);
31
MLIR_CAPI_EXPORTED
size_t
igraphInstancePathSize
(
IgraphInstancePath
path);
32
33
#ifdef __cplusplus
34
}
35
#endif
36
37
#endif
// CIRCT_C_SUPPORT_INSTANCEPATH_H
igraphInstancePathSize
MLIR_CAPI_EXPORTED size_t igraphInstancePathSize(IgraphInstancePath path)
Definition
InstanceGraph.cpp:39
igraphInstancePathGet
MLIR_CAPI_EXPORTED MlirOperation igraphInstancePathGet(IgraphInstancePath path, size_t index)
Definition
InstanceGraph.cpp:43
IgraphInstancePath
Definition
InstanceGraph.h:18
IgraphInstancePath::ptr
void * ptr
Definition
InstanceGraph.h:19
IgraphInstancePath::size
size_t size
Definition
InstanceGraph.h:20
Generated on Thu Sep 11 2025 00:09:46 for CIRCT by
1.9.8