TT-MLIR
version_generated.h
Go to the documentation of this file.
1 // automatically generated by the FlatBuffers compiler, do not modify
2 
3 
4 #ifndef FLATBUFFERS_GENERATED_VERSION_TT_TARGET_H_
5 #define FLATBUFFERS_GENERATED_VERSION_TT_TARGET_H_
6 
7 #include "flatbuffers/flatbuffers.h"
8 
9 // Ensure the included flatbuffers.h is the same version as when this file was
10 // generated, otherwise it may not be compatible.
11 static_assert(FLATBUFFERS_VERSION_MAJOR == 24 &&
12  FLATBUFFERS_VERSION_MINOR == 3 &&
13  FLATBUFFERS_VERSION_REVISION == 25,
14  "Non-compatible flatbuffers version included");
15 
16 namespace tt {
17 namespace target {
18 
19 struct Version;
20 
21 FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(4) Version FLATBUFFERS_FINAL_CLASS {
22  private:
23  uint16_t major_;
24  uint16_t minor_;
25  uint32_t patch_;
26 
27  public:
28  struct Traits;
29  Version()
30  : major_(0),
31  minor_(0),
32  patch_(0) {
33  }
34  Version(uint16_t _major, uint16_t _minor, uint32_t _patch)
35  : major_(::flatbuffers::EndianScalar(_major)),
36  minor_(::flatbuffers::EndianScalar(_minor)),
37  patch_(::flatbuffers::EndianScalar(_patch)) {
38  }
39  uint16_t major() const {
40  return ::flatbuffers::EndianScalar(major_);
41  }
42  uint16_t minor() const {
43  return ::flatbuffers::EndianScalar(minor_);
44  }
45  uint32_t patch() const {
46  return ::flatbuffers::EndianScalar(patch_);
47  }
48 };
50 
52  using type = Version;
53 };
54 
55 } // namespace target
56 } // namespace tt
57 
58 #endif // FLATBUFFERS_GENERATED_VERSION_TT_TARGET_H_
FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(4) Dim2d FLATBUFFERS_FINAL_CLASS
Definition: types_generated.h:526
FLATBUFFERS_STRUCT_END(Dim2d, 8)
Definition: debug_info_generated.h:18
Definition: version_generated.h:51
Version type
Definition: version_generated.h:52