@@ -67,6 +67,13 @@ typedef StringMapEntry<Value*> ValueName;
67
67
// /
68
68
// / @brief LLVM Value Representation
69
69
class Value {
70
+ Type *VTy;
71
+ Use *UseList;
72
+
73
+ friend class ValueSymbolTable ; // Allow ValueSymbolTable to directly mod Name.
74
+ friend class ValueHandleBase ;
75
+ ValueName *Name;
76
+
70
77
const unsigned char SubclassID; // Subclass identifier (for isa/dyn_cast)
71
78
unsigned char HasValueHandle : 1 ; // Has a ValueHandle pointing to this?
72
79
protected:
@@ -77,6 +84,11 @@ class Value {
77
84
unsigned char SubclassOptionalData : 7 ;
78
85
79
86
private:
87
+ // / SubclassData - This member is defined by this class, but is not used for
88
+ // / anything. Subclasses can use it to hold whatever state they find useful.
89
+ // / This field is initialized to zero by the ctor.
90
+ unsigned short SubclassData;
91
+
80
92
template <typename UseT> // UseT == 'Use' or 'const Use'
81
93
class use_iterator_impl
82
94
: public std::iterator<std::forward_iterator_tag, UseT *, ptrdiff_t > {
@@ -167,18 +179,6 @@ class Value {
167
179
unsigned getOperandNo () const { return UI->getOperandNo (); }
168
180
};
169
181
170
- // / SubclassData - This member is defined by this class, but is not used for
171
- // / anything. Subclasses can use it to hold whatever state they find useful.
172
- // / This field is initialized to zero by the ctor.
173
- unsigned short SubclassData;
174
-
175
- Type *VTy;
176
- Use *UseList;
177
-
178
- friend class ValueSymbolTable ; // Allow ValueSymbolTable to directly mod Name.
179
- friend class ValueHandleBase ;
180
- ValueName *Name;
181
-
182
182
void operator =(const Value &) LLVM_DELETED_FUNCTION;
183
183
Value (const Value &) LLVM_DELETED_FUNCTION;
184
184
0 commit comments