OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_COMPILER_SIMPLIFIED_OPERATOR_H_ | 5 #ifndef V8_COMPILER_SIMPLIFIED_OPERATOR_H_ |
6 #define V8_COMPILER_SIMPLIFIED_OPERATOR_H_ | 6 #define V8_COMPILER_SIMPLIFIED_OPERATOR_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/compiler/machine-type.h" | 10 #include "src/compiler/machine-type.h" |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 139 |
140 const Operator* ChangeTaggedToInt32(); | 140 const Operator* ChangeTaggedToInt32(); |
141 const Operator* ChangeTaggedToUint32(); | 141 const Operator* ChangeTaggedToUint32(); |
142 const Operator* ChangeTaggedToFloat64(); | 142 const Operator* ChangeTaggedToFloat64(); |
143 const Operator* ChangeInt32ToTagged(); | 143 const Operator* ChangeInt32ToTagged(); |
144 const Operator* ChangeUint32ToTagged(); | 144 const Operator* ChangeUint32ToTagged(); |
145 const Operator* ChangeFloat64ToTagged(); | 145 const Operator* ChangeFloat64ToTagged(); |
146 const Operator* ChangeBoolToBit(); | 146 const Operator* ChangeBoolToBit(); |
147 const Operator* ChangeBitToBool(); | 147 const Operator* ChangeBitToBool(); |
148 | 148 |
| 149 const Operator* ObjectIsSmi(); |
| 150 const Operator* ObjectIsNonNegativeSmi(); |
| 151 |
149 const Operator* LoadField(const FieldAccess&); | 152 const Operator* LoadField(const FieldAccess&); |
150 const Operator* StoreField(const FieldAccess&); | 153 const Operator* StoreField(const FieldAccess&); |
151 | 154 |
152 // load-element [base + index], length | 155 // load-element [base + index], length |
153 const Operator* LoadElement(ElementAccess const&); | 156 const Operator* LoadElement(ElementAccess const&); |
154 | 157 |
155 // store-element [base + index], length, value | 158 // store-element [base + index], length, value |
156 const Operator* StoreElement(ElementAccess const&); | 159 const Operator* StoreElement(ElementAccess const&); |
157 | 160 |
158 private: | 161 private: |
159 Zone* zone() const { return zone_; } | 162 Zone* zone() const { return zone_; } |
160 | 163 |
161 const SimplifiedOperatorBuilderImpl& impl_; | 164 const SimplifiedOperatorBuilderImpl& impl_; |
162 Zone* const zone_; | 165 Zone* const zone_; |
163 | 166 |
164 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder); | 167 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder); |
165 }; | 168 }; |
166 | 169 |
167 } // namespace compiler | 170 } // namespace compiler |
168 } // namespace internal | 171 } // namespace internal |
169 } // namespace v8 | 172 } // namespace v8 |
170 | 173 |
171 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_H_ | 174 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_H_ |
OLD | NEW |