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_JS_BUILTIN_REDUCER_H_ | 5 #ifndef V8_COMPILER_JS_BUILTIN_REDUCER_H_ |
6 #define V8_COMPILER_JS_BUILTIN_REDUCER_H_ | 6 #define V8_COMPILER_JS_BUILTIN_REDUCER_H_ |
7 | 7 |
8 #include "src/compiler/graph-reducer.h" | 8 #include "src/compiler/graph-reducer.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 19 matching lines...) Expand all Loading... |
30 Reduction Reduce(Node* node) final; | 30 Reduction Reduce(Node* node) final; |
31 | 31 |
32 private: | 32 private: |
33 Reduction ReduceFunctionCall(Node* node); | 33 Reduction ReduceFunctionCall(Node* node); |
34 Reduction ReduceMathMax(Node* node); | 34 Reduction ReduceMathMax(Node* node); |
35 Reduction ReduceMathImul(Node* node); | 35 Reduction ReduceMathImul(Node* node); |
36 Reduction ReduceMathCeil(Node* node); | 36 Reduction ReduceMathCeil(Node* node); |
37 Reduction ReduceMathClz32(Node* node); | 37 Reduction ReduceMathClz32(Node* node); |
38 Reduction ReduceMathFloor(Node* node); | 38 Reduction ReduceMathFloor(Node* node); |
39 Reduction ReduceMathFround(Node* node); | 39 Reduction ReduceMathFround(Node* node); |
| 40 Reduction ReduceMathAtan(Node* node); |
| 41 Reduction ReduceMathAtan2(Node* node); |
40 Reduction ReduceMathLog(Node* node); | 42 Reduction ReduceMathLog(Node* node); |
41 Reduction ReduceMathLog1p(Node* node); | 43 Reduction ReduceMathLog1p(Node* node); |
42 Reduction ReduceMathRound(Node* node); | 44 Reduction ReduceMathRound(Node* node); |
43 Reduction ReduceMathSqrt(Node* node); | 45 Reduction ReduceMathSqrt(Node* node); |
44 Reduction ReduceMathTrunc(Node* node); | 46 Reduction ReduceMathTrunc(Node* node); |
45 Reduction ReduceStringFromCharCode(Node* node); | 47 Reduction ReduceStringFromCharCode(Node* node); |
46 | 48 |
47 Graph* graph() const; | 49 Graph* graph() const; |
48 JSGraph* jsgraph() const { return jsgraph_; } | 50 JSGraph* jsgraph() const { return jsgraph_; } |
49 Isolate* isolate() const; | 51 Isolate* isolate() const; |
50 CommonOperatorBuilder* common() const; | 52 CommonOperatorBuilder* common() const; |
51 MachineOperatorBuilder* machine() const; | 53 MachineOperatorBuilder* machine() const; |
52 SimplifiedOperatorBuilder* simplified() const; | 54 SimplifiedOperatorBuilder* simplified() const; |
53 | 55 |
54 JSGraph* const jsgraph_; | 56 JSGraph* const jsgraph_; |
55 TypeCache const& type_cache_; | 57 TypeCache const& type_cache_; |
56 }; | 58 }; |
57 | 59 |
58 } // namespace compiler | 60 } // namespace compiler |
59 } // namespace internal | 61 } // namespace internal |
60 } // namespace v8 | 62 } // namespace v8 |
61 | 63 |
62 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ | 64 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ |
OLD | NEW |