4 #ifndef FLATBUFFERS_GENERATED_SYSTEMDESC_TT_TARGET_H_
5 #define FLATBUFFERS_GENERATED_SYSTEMDESC_TT_TARGET_H_
7 #include "flatbuffers/flatbuffers.h"
11 static_assert(FLATBUFFERS_VERSION_MAJOR == 24 &&
12 FLATBUFFERS_VERSION_MINOR == 3 &&
13 FLATBUFFERS_VERSION_REVISION == 25,
14 "Non-compatible flatbuffers version included");
25 struct SystemDescRoot;
26 struct SystemDescRootBuilder;
28 struct SystemDescRoot FLATBUFFERS_FINAL_CLASS :
private ::flatbuffers::Table {
32 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
38 const tt::target::Version *
version()
const {
39 return GetStruct<const tt::target::Version *>(
VT_VERSION);
50 bool Verify(::flatbuffers::Verifier &verifier)
const {
51 return VerifyTableStart(verifier) &&
52 VerifyField<tt::target::Version>(verifier,
VT_VERSION, 4) &&
54 verifier.VerifyString(ttmlir_git_hash()) &&
56 verifier.VerifyString(product_identifier()) &&
58 verifier.VerifyTable(system_desc()) &&
65 ::flatbuffers::FlatBufferBuilder &
fbb_;
83 ::flatbuffers::Offset<SystemDescRoot>
Finish() {
85 auto o = ::flatbuffers::Offset<SystemDescRoot>(end);
91 ::flatbuffers::FlatBufferBuilder &_fbb,
92 const tt::target::Version *version =
nullptr,
93 ::flatbuffers::Offset<::flatbuffers::String> ttmlir_git_hash = 0,
94 ::flatbuffers::Offset<::flatbuffers::String> product_identifier = 0,
95 ::flatbuffers::Offset<tt::target::SystemDesc> system_desc = 0) {
110 ::flatbuffers::FlatBufferBuilder &_fbb,
111 const tt::target::Version *version =
nullptr,
112 const char *ttmlir_git_hash =
nullptr,
113 const char *product_identifier =
nullptr,
114 ::flatbuffers::Offset<tt::target::SystemDesc> system_desc = 0) {
115 auto ttmlir_git_hash__ = ttmlir_git_hash ? _fbb.CreateString(ttmlir_git_hash) : 0;
116 auto product_identifier__ = product_identifier ? _fbb.CreateString(product_identifier) : 0;
121 product_identifier__,
126 return ::flatbuffers::GetRoot<tt::target::SystemDescRoot>(buf);
130 return ::flatbuffers::GetSizePrefixedRoot<tt::target::SystemDescRoot>(buf);
138 return ::flatbuffers::BufferHasIdentifier(
143 return ::flatbuffers::BufferHasIdentifier(
148 ::flatbuffers::Verifier &verifier) {
153 ::flatbuffers::Verifier &verifier) {
162 ::flatbuffers::FlatBufferBuilder &fbb,
163 ::flatbuffers::Offset<tt::target::SystemDescRoot> root) {
168 ::flatbuffers::FlatBufferBuilder &fbb,
169 ::flatbuffers::Offset<tt::target::SystemDescRoot> root) {
bool SystemDescRootBufferHasIdentifier(const void *buf)
Definition: system_desc_generated.h:137
const char * SystemDescRootExtension()
Definition: system_desc_generated.h:157
bool VerifySystemDescRootBuffer(::flatbuffers::Verifier &verifier)
Definition: system_desc_generated.h:147
const tt::target::SystemDescRoot * GetSystemDescRoot(const void *buf)
Definition: system_desc_generated.h:125
bool SizePrefixedSystemDescRootBufferHasIdentifier(const void *buf)
Definition: system_desc_generated.h:142
void FinishSystemDescRootBuffer(::flatbuffers::FlatBufferBuilder &fbb, ::flatbuffers::Offset< tt::target::SystemDescRoot > root)
Definition: system_desc_generated.h:161
inline ::flatbuffers::Offset< SystemDescRoot > CreateSystemDescRootDirect(::flatbuffers::FlatBufferBuilder &_fbb, const tt::target::Version *version=nullptr, const char *ttmlir_git_hash=nullptr, const char *product_identifier=nullptr, ::flatbuffers::Offset< tt::target::SystemDesc > system_desc=0)
Definition: system_desc_generated.h:109
inline ::flatbuffers::Offset< SystemDescRoot > CreateSystemDescRoot(::flatbuffers::FlatBufferBuilder &_fbb, const tt::target::Version *version=nullptr, ::flatbuffers::Offset<::flatbuffers::String > ttmlir_git_hash=0, ::flatbuffers::Offset<::flatbuffers::String > product_identifier=0, ::flatbuffers::Offset< tt::target::SystemDesc > system_desc=0)
Definition: system_desc_generated.h:90
const tt::target::SystemDescRoot * GetSizePrefixedSystemDescRoot(const void *buf)
Definition: system_desc_generated.h:129
bool VerifySizePrefixedSystemDescRootBuffer(::flatbuffers::Verifier &verifier)
Definition: system_desc_generated.h:152
void FinishSizePrefixedSystemDescRootBuffer(::flatbuffers::FlatBufferBuilder &fbb, ::flatbuffers::Offset< tt::target::SystemDescRoot > root)
Definition: system_desc_generated.h:167
const char * SystemDescRootIdentifier()
Definition: system_desc_generated.h:133
Definition: debug_info_generated.h:18
const tt::target::SystemDesc * system_desc() const
Definition: system_desc_generated.h:47
const ::flatbuffers::String * ttmlir_git_hash() const
Definition: system_desc_generated.h:41
tt::target::SystemDescRootBinarySchema BinarySchema
Definition: system_desc_generated.h:30
SystemDescRootBuilder Builder
Definition: system_desc_generated.h:29
const tt::target::Version * version() const
Definition: system_desc_generated.h:38
const ::flatbuffers::String * product_identifier() const
Definition: system_desc_generated.h:44
bool Verify(::flatbuffers::Verifier &verifier) const
Definition: system_desc_generated.h:50
Definition: system_desc_bfbs_generated.h:12
Definition: system_desc_generated.h:63
SystemDescRoot Table
Definition: system_desc_generated.h:64
::flatbuffers::uoffset_t start_
Definition: system_desc_generated.h:66
::flatbuffers::FlatBufferBuilder & fbb_
Definition: system_desc_generated.h:65
void add_version(const tt::target::Version *version)
Definition: system_desc_generated.h:67
SystemDescRootBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: system_desc_generated.h:79
void add_product_identifier(::flatbuffers::Offset<::flatbuffers::String > product_identifier)
Definition: system_desc_generated.h:73
::flatbuffers::Offset< SystemDescRoot > Finish()
Definition: system_desc_generated.h:83
void add_ttmlir_git_hash(::flatbuffers::Offset<::flatbuffers::String > ttmlir_git_hash)
Definition: system_desc_generated.h:70
void add_system_desc(::flatbuffers::Offset< tt::target::SystemDesc > system_desc)
Definition: system_desc_generated.h:76
Definition: system_desc_generated.h:104
SystemDescRoot type
Definition: system_desc_generated.h:105
static constexpr auto Create
Definition: system_desc_generated.h:106
VT_VERSION
Definition: system_desc_generated.h:33
VT_PRODUCT_IDENTIFIER
Definition: system_desc_generated.h:35
VT_TTMLIR_GIT_HASH
Definition: system_desc_generated.h:34