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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 Reduction ReduceMathLog1p(Node* node); | 43 Reduction ReduceMathLog1p(Node* node); |
44 Reduction ReduceMathLog10(Node* node); | 44 Reduction ReduceMathLog10(Node* node); |
45 Reduction ReduceMathLog2(Node* node); | 45 Reduction ReduceMathLog2(Node* node); |
46 Reduction ReduceMathMax(Node* node); | 46 Reduction ReduceMathMax(Node* node); |
47 Reduction ReduceMathMin(Node* node); | 47 Reduction ReduceMathMin(Node* node); |
48 Reduction ReduceMathCbrt(Node* node); | 48 Reduction ReduceMathCbrt(Node* node); |
49 Reduction ReduceMathExpm1(Node* node); | 49 Reduction ReduceMathExpm1(Node* node); |
50 Reduction ReduceMathRound(Node* node); | 50 Reduction ReduceMathRound(Node* node); |
51 Reduction ReduceMathSin(Node* node); | 51 Reduction ReduceMathSin(Node* node); |
52 Reduction ReduceMathSqrt(Node* node); | 52 Reduction ReduceMathSqrt(Node* node); |
| 53 Reduction ReduceMathTan(Node* node); |
53 Reduction ReduceMathTrunc(Node* node); | 54 Reduction ReduceMathTrunc(Node* node); |
54 Reduction ReduceStringFromCharCode(Node* node); | 55 Reduction ReduceStringFromCharCode(Node* node); |
55 | 56 |
56 Node* ToNumber(Node* value); | 57 Node* ToNumber(Node* value); |
57 Node* ToUint32(Node* value); | 58 Node* ToUint32(Node* value); |
58 | 59 |
59 Graph* graph() const; | 60 Graph* graph() const; |
60 JSGraph* jsgraph() const { return jsgraph_; } | 61 JSGraph* jsgraph() const { return jsgraph_; } |
61 Isolate* isolate() const; | 62 Isolate* isolate() const; |
62 CommonOperatorBuilder* common() const; | 63 CommonOperatorBuilder* common() const; |
63 SimplifiedOperatorBuilder* simplified() const; | 64 SimplifiedOperatorBuilder* simplified() const; |
64 | 65 |
65 JSGraph* const jsgraph_; | 66 JSGraph* const jsgraph_; |
66 TypeCache const& type_cache_; | 67 TypeCache const& type_cache_; |
67 }; | 68 }; |
68 | 69 |
69 } // namespace compiler | 70 } // namespace compiler |
70 } // namespace internal | 71 } // namespace internal |
71 } // namespace v8 | 72 } // namespace v8 |
72 | 73 |
73 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ | 74 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ |
OLD | NEW |