| 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 const Operator* ChangeTaggedToFloat64(); | 156 const Operator* ChangeTaggedToFloat64(); |
| 157 const Operator* ChangeInt32ToTagged(); | 157 const Operator* ChangeInt32ToTagged(); |
| 158 const Operator* ChangeUint32ToTagged(); | 158 const Operator* ChangeUint32ToTagged(); |
| 159 const Operator* ChangeFloat64ToTagged(); | 159 const Operator* ChangeFloat64ToTagged(); |
| 160 const Operator* ChangeBoolToBit(); | 160 const Operator* ChangeBoolToBit(); |
| 161 const Operator* ChangeBitToBool(); | 161 const Operator* ChangeBitToBool(); |
| 162 | 162 |
| 163 const Operator* ObjectIsSmi(); | 163 const Operator* ObjectIsSmi(); |
| 164 const Operator* ObjectIsNonNegativeSmi(); | 164 const Operator* ObjectIsNonNegativeSmi(); |
| 165 | 165 |
| 166 const Operator* Allocate(PretenureFlag pretenure = NOT_TENURED); |
| 167 |
| 166 const Operator* LoadField(FieldAccess const&); | 168 const Operator* LoadField(FieldAccess const&); |
| 167 const Operator* StoreField(FieldAccess const&); | 169 const Operator* StoreField(FieldAccess const&); |
| 168 | 170 |
| 169 // load-buffer buffer, offset, length | 171 // load-buffer buffer, offset, length |
| 170 const Operator* LoadBuffer(BufferAccess); | 172 const Operator* LoadBuffer(BufferAccess); |
| 171 | 173 |
| 172 // store-buffer buffer, offset, length, value | 174 // store-buffer buffer, offset, length, value |
| 173 const Operator* StoreBuffer(BufferAccess); | 175 const Operator* StoreBuffer(BufferAccess); |
| 174 | 176 |
| 175 // load-element [base + index], length | 177 // load-element [base + index], length |
| 176 const Operator* LoadElement(ElementAccess const&); | 178 const Operator* LoadElement(ElementAccess const&); |
| 177 | 179 |
| 178 // store-element [base + index], length, value | 180 // store-element [base + index], length, value |
| 179 const Operator* StoreElement(ElementAccess const&); | 181 const Operator* StoreElement(ElementAccess const&); |
| 180 | 182 |
| 181 private: | 183 private: |
| 182 Zone* zone() const { return zone_; } | 184 Zone* zone() const { return zone_; } |
| 183 | 185 |
| 184 const SimplifiedOperatorGlobalCache& cache_; | 186 const SimplifiedOperatorGlobalCache& cache_; |
| 185 Zone* const zone_; | 187 Zone* const zone_; |
| 186 | 188 |
| 187 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder); | 189 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder); |
| 188 }; | 190 }; |
| 189 | 191 |
| 190 } // namespace compiler | 192 } // namespace compiler |
| 191 } // namespace internal | 193 } // namespace internal |
| 192 } // namespace v8 | 194 } // namespace v8 |
| 193 | 195 |
| 194 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_H_ | 196 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_H_ |
| OLD | NEW |