CIRCT 22.0.0git
Loading...
Searching...
No Matches
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
15extern "C" {
16#endif
17
19 void *ptr;
20 size_t size;
21};
22
24
25//===----------------------------------------------------------------------===//
26// InstancePath API
27//===----------------------------------------------------------------------===//
28
29MLIR_CAPI_EXPORTED MlirOperation igraphInstancePathGet(IgraphInstancePath path,
30 size_t index);
31MLIR_CAPI_EXPORTED size_t igraphInstancePathSize(IgraphInstancePath path);
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif // CIRCT_C_SUPPORT_INSTANCEPATH_H
MLIR_CAPI_EXPORTED size_t igraphInstancePathSize(IgraphInstancePath path)
MLIR_CAPI_EXPORTED MlirOperation igraphInstancePathGet(IgraphInstancePath path, size_t index)