Loom C API
Public Loom compiler C API
Toggle main menu visibility
Loading...
Searching...
No Matches
target/spirv/emit.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_SPIRV_EMIT_H_
8
#define LOOMC_TARGET_SPIRV_EMIT_H_
9
10
#include "
loomc/emit.h
"
11
#include "
loomc/target/spirv/base.h
"
12
42
43
#ifdef __cplusplus
44
extern
"C"
{
45
#endif
46
53
typedef
struct
loomc_spirv_emit_options_t
{
56
loomc_structure_type_t
type
;
57
59
loomc_host_size_t
structure_size
;
60
62
const
void
*
next
;
63
}
loomc_spirv_emit_options_t
;
64
65
#ifdef __cplusplus
66
}
// extern "C"
67
#endif
68
69
#endif
// LOOMC_TARGET_SPIRV_EMIT_H_
loomc_host_size_t
size_t loomc_host_size_t
Host allocation and container size type.
Definition
base.h:45
loomc_structure_type_t
loomc_structure_type_t
Structure type values used by extensible public descriptors.
Definition
base.h:181
emit.h
Target artifact emission from prepared Loom modules.
loomc_spirv_emit_options_t
SPIR-V binary emission options.
Definition
target/spirv/emit.h:53
loomc_spirv_emit_options_t::structure_size
loomc_host_size_t structure_size
Size of this structure in bytes.
Definition
target/spirv/emit.h:59
loomc_spirv_emit_options_t::type
loomc_structure_type_t type
Structure type.
Definition
target/spirv/emit.h:56
loomc_spirv_emit_options_t::next
const void * next
Next invocation option extension.
Definition
target/spirv/emit.h:62
base.h
SPIR-V target package identity and environment creation.
loomc
target
spirv
emit.h
Generated by
1.17.0