Files
gps/tools/local/circt/include/circt-c/Support/InstanceGraph.h
T
2026-07-12 11:01:51 +03:00

38 lines
1.1 KiB
C

//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef CIRCT_C_SUPPORT_INSTANCEGRAPH_H
#define CIRCT_C_SUPPORT_INSTANCEGRAPH_H
#include "mlir-c/IR.h"
#ifdef __cplusplus
extern "C" {
#endif
struct IgraphInstancePath {
void *ptr;
size_t size;
};
typedef struct IgraphInstancePath IgraphInstancePath;
//===----------------------------------------------------------------------===//
// InstancePath API
//===----------------------------------------------------------------------===//
MLIR_CAPI_EXPORTED MlirOperation igraphInstancePathGet(IgraphInstancePath path,
size_t index);
MLIR_CAPI_EXPORTED size_t igraphInstancePathSize(IgraphInstancePath path);
#ifdef __cplusplus
}
#endif
#endif // CIRCT_C_SUPPORT_INSTANCEPATH_H