summaryrefslogtreecommitdiff
path: root/deps/v8/src/objects/turboshaft-types.h
blob: f4b7deb34ad4d2403de4ebda4e8445a3a2003503 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
// Copyright 2022 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef V8_OBJECTS_TURBOSHAFT_TYPES_H_
#define V8_OBJECTS_TURBOSHAFT_TYPES_H_

#include "src/common/globals.h"
#include "src/objects/heap-object.h"
#include "torque-generated/bit-fields.h"

// Has to be the last include (doesn't have include guards):
#include "src/objects/object-macros.h"

namespace v8::internal {

#include "torque-generated/src/objects/turboshaft-types-tq.inc"

class TurboshaftFloatSpecialValues {
 public:
  DEFINE_TORQUE_GENERATED_TURBOSHAFT_FLOAT_SPECIAL_VALUES()
};

class TurboshaftType
    : public TorqueGeneratedTurboshaftType<TurboshaftType, HeapObject> {
 public:
  TQ_OBJECT_CONSTRUCTORS(TurboshaftType)
};

class TurboshaftWord32Type
    : public TorqueGeneratedTurboshaftWord32Type<TurboshaftWord32Type,
                                                 TurboshaftType> {
 public:
  class BodyDescriptor;

  TQ_OBJECT_CONSTRUCTORS(TurboshaftWord32Type)
};

class TurboshaftWord32RangeType
    : public TorqueGeneratedTurboshaftWord32RangeType<TurboshaftWord32RangeType,
                                                      TurboshaftWord32Type> {
 public:
  class BodyDescriptor;

  TQ_OBJECT_CONSTRUCTORS(TurboshaftWord32RangeType)
};

class TurboshaftWord32SetType
    : public TorqueGeneratedTurboshaftWord32SetType<TurboshaftWord32SetType,
                                                    TurboshaftWord32Type> {
 public:
  class BodyDescriptor;

  TQ_OBJECT_CONSTRUCTORS(TurboshaftWord32SetType)
};

class TurboshaftWord64Type
    : public TorqueGeneratedTurboshaftWord64Type<TurboshaftWord64Type,
                                                 TurboshaftType> {
 public:
  class BodyDescriptor;

  TQ_OBJECT_CONSTRUCTORS(TurboshaftWord64Type)
};

class TurboshaftWord64RangeType
    : public TorqueGeneratedTurboshaftWord64RangeType<TurboshaftWord64RangeType,
                                                      TurboshaftWord64Type> {
 public:
  class BodyDescriptor;

  TQ_OBJECT_CONSTRUCTORS(TurboshaftWord64RangeType)
};

class TurboshaftWord64SetType
    : public TorqueGeneratedTurboshaftWord64SetType<TurboshaftWord64SetType,
                                                    TurboshaftWord64Type> {
 public:
  class BodyDescriptor;

  TQ_OBJECT_CONSTRUCTORS(TurboshaftWord64SetType)
};

class TurboshaftFloat64Type
    : public TorqueGeneratedTurboshaftFloat64Type<TurboshaftFloat64Type,
                                                  TurboshaftType> {
 public:
  class BodyDescriptor;

  TQ_OBJECT_CONSTRUCTORS(TurboshaftFloat64Type)
};

class TurboshaftFloat64RangeType
    : public TorqueGeneratedTurboshaftFloat64RangeType<
          TurboshaftFloat64RangeType, TurboshaftFloat64Type> {
 public:
  class BodyDescriptor;

  TQ_OBJECT_CONSTRUCTORS(TurboshaftFloat64RangeType)
};

class TurboshaftFloat64SetType
    : public TorqueGeneratedTurboshaftFloat64SetType<TurboshaftFloat64SetType,
                                                     TurboshaftFloat64Type> {
 public:
  class BodyDescriptor;

  TQ_OBJECT_CONSTRUCTORS(TurboshaftFloat64SetType)
};

}  // namespace v8::internal

#include "src/objects/object-macros-undef.h"

#endif  // V8_OBJECTS_TURBOSHAFT_TYPES_H_