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  static FLATBUFFERS_CONSTEXPR_CPP11 const char *GetFullyQualifiedName() {
30  return "tt.target.Version";
31  }
32  Version()
33  : major_(0),
34  minor_(0),
35  patch_(0) {
36  }
37  Version(uint16_t _major, uint16_t _minor, uint32_t _patch)
38  : major_(::flatbuffers::EndianScalar(_major)),
39  minor_(::flatbuffers::EndianScalar(_minor)),
40  patch_(::flatbuffers::EndianScalar(_patch)) {
41  }
42  uint16_t major() const {
43  return ::flatbuffers::EndianScalar(major_);
44  }
45  uint16_t minor() const {
46  return ::flatbuffers::EndianScalar(minor_);
47  }
48  uint32_t patch() const {
49  return ::flatbuffers::EndianScalar(patch_);
50  }
51 };
53 
55  using type = Version;
56 };
57 
58 } // namespace target
59 } // namespace tt
60 
61 #endif // FLATBUFFERS_GENERATED_VERSION_TT_TARGET_H_
FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(4) Dim2d FLATBUFFERS_FINAL_CLASS
Definition: types_generated.h:389
FLATBUFFERS_STRUCT_END(Dim2d, 8)
Definition: debug_info_generated.h:18
Definition: version_generated.h:54
Version type
Definition: version_generated.h:55