Loom C API
Public Loom compiler C API
Toggle main menu visibility
Loading...
Searching...
No Matches
target/amd/xdna/base.h
Go to the documentation of this file.
1
// Copyright 2026 The IREE Authors
2
//
3
// Licensed 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
#ifndef LOOMC_TARGET_AMD_XDNA_BASE_H_
8
#define LOOMC_TARGET_AMD_XDNA_BASE_H_
9
10
#include "
loomc/target.h
"
11
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
27
#define LOOMC_ARTIFACT_FORMAT_XDNA "xdna"
28
39
LOOMC_API_EXPORT
loomc_status_t
loomc_target_environment_create_xdna
(
40
loomc_allocator_t
allocator,
41
loomc_target_environment_t
** out_target_environment);
42
43
#ifdef __cplusplus
44
}
// extern "C"
45
#endif
46
47
#endif
// LOOMC_TARGET_AMD_XDNA_BASE_H_
LOOMC_API_EXPORT
#define LOOMC_API_EXPORT
Exports a public Loom C API symbol from a shared library build.
Definition
base.h:34
loomc_status_t
struct iree_status_handle_t * loomc_status_t
Opaque status handle.
Definition
base.h:55
loomc_allocator_t
Host allocator used for persistent Loom object storage.
Definition
base.h:390
loomc_target_environment_create_xdna
loomc_status_t loomc_target_environment_create_xdna(loomc_allocator_t allocator, loomc_target_environment_t **out_target_environment)
Creates a target environment containing the AIE2P XDNA compiler and emitter.
target.h
Prepared target environments and target lowering pipelines.
loomc_target_environment_t
struct loomc_target_environment_t loomc_target_environment_t
Prepared immutable target environment.
Definition
target.h:124
loomc
target
amd
xdna
base.h
Generated by
1.17.0