OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_CODE_ASSEMBLER_H_ | 5 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_ |
6 #define V8_COMPILER_CODE_ASSEMBLER_H_ | 6 #define V8_COMPILER_CODE_ASSEMBLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 V(ChangeFloat32ToFloat64) \ | 141 V(ChangeFloat32ToFloat64) \ |
142 V(ChangeFloat64ToUint32) \ | 142 V(ChangeFloat64ToUint32) \ |
143 V(ChangeInt32ToFloat64) \ | 143 V(ChangeInt32ToFloat64) \ |
144 V(ChangeInt32ToInt64) \ | 144 V(ChangeInt32ToInt64) \ |
145 V(ChangeUint32ToFloat64) \ | 145 V(ChangeUint32ToFloat64) \ |
146 V(ChangeUint32ToUint64) \ | 146 V(ChangeUint32ToUint64) \ |
147 V(RoundFloat64ToInt32) \ | 147 V(RoundFloat64ToInt32) \ |
148 V(Float64RoundDown) \ | 148 V(Float64RoundDown) \ |
149 V(Float64RoundUp) \ | 149 V(Float64RoundUp) \ |
150 V(Float64RoundTruncate) \ | 150 V(Float64RoundTruncate) \ |
151 V(Word32Clz) | 151 V(Word32Clz) \ |
| 152 V(Word32BinaryNot) |
152 | 153 |
153 // A "public" interface used by components outside of compiler directory to | 154 // A "public" interface used by components outside of compiler directory to |
154 // create code objects with TurboFan's backend. This class is mostly a thin shim | 155 // create code objects with TurboFan's backend. This class is mostly a thin shim |
155 // around the RawMachineAssembler, and its primary job is to ensure that the | 156 // around the RawMachineAssembler, and its primary job is to ensure that the |
156 // innards of the RawMachineAssembler and other compiler implementation details | 157 // innards of the RawMachineAssembler and other compiler implementation details |
157 // don't leak outside of the the compiler directory.. | 158 // don't leak outside of the the compiler directory.. |
158 // | 159 // |
159 // V8 components that need to generate low-level code using this interface | 160 // V8 components that need to generate low-level code using this interface |
160 // should include this header--and this header only--from the compiler directory | 161 // should include this header--and this header only--from the compiler directory |
161 // (this is actually enforced). Since all interesting data structures are | 162 // (this is actually enforced). Since all interesting data structures are |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 // Map of variables to the list of value nodes that have been added from each | 487 // Map of variables to the list of value nodes that have been added from each |
487 // merge path in their order of merging. | 488 // merge path in their order of merging. |
488 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; | 489 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; |
489 }; | 490 }; |
490 | 491 |
491 } // namespace compiler | 492 } // namespace compiler |
492 } // namespace internal | 493 } // namespace internal |
493 } // namespace v8 | 494 } // namespace v8 |
494 | 495 |
495 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ | 496 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ |
OLD | NEW |