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 20 matching lines...) Expand all Loading... |
31 private: | 31 private: |
32 Reduction ReduceMathAtan(Node* node); | 32 Reduction ReduceMathAtan(Node* node); |
33 Reduction ReduceMathAtan2(Node* node); | 33 Reduction ReduceMathAtan2(Node* node); |
34 Reduction ReduceMathCeil(Node* node); | 34 Reduction ReduceMathCeil(Node* node); |
35 Reduction ReduceMathClz32(Node* node); | 35 Reduction ReduceMathClz32(Node* node); |
36 Reduction ReduceMathFloor(Node* node); | 36 Reduction ReduceMathFloor(Node* node); |
37 Reduction ReduceMathFround(Node* node); | 37 Reduction ReduceMathFround(Node* node); |
38 Reduction ReduceMathImul(Node* node); | 38 Reduction ReduceMathImul(Node* node); |
39 Reduction ReduceMathLog(Node* node); | 39 Reduction ReduceMathLog(Node* node); |
40 Reduction ReduceMathLog1p(Node* node); | 40 Reduction ReduceMathLog1p(Node* node); |
| 41 Reduction ReduceMathLog2(Node* node); |
| 42 Reduction ReduceMathLog10(Node* node); |
41 Reduction ReduceMathMax(Node* node); | 43 Reduction ReduceMathMax(Node* node); |
42 Reduction ReduceMathMin(Node* node); | 44 Reduction ReduceMathMin(Node* node); |
43 Reduction ReduceMathRound(Node* node); | 45 Reduction ReduceMathRound(Node* node); |
44 Reduction ReduceMathSqrt(Node* node); | 46 Reduction ReduceMathSqrt(Node* node); |
45 Reduction ReduceMathTrunc(Node* node); | 47 Reduction ReduceMathTrunc(Node* node); |
46 Reduction ReduceStringFromCharCode(Node* node); | 48 Reduction ReduceStringFromCharCode(Node* node); |
47 | 49 |
48 Node* ToNumber(Node* value); | 50 Node* ToNumber(Node* value); |
49 Node* ToUint32(Node* value); | 51 Node* ToUint32(Node* value); |
50 | 52 |
51 Graph* graph() const; | 53 Graph* graph() const; |
52 JSGraph* jsgraph() const { return jsgraph_; } | 54 JSGraph* jsgraph() const { return jsgraph_; } |
53 Isolate* isolate() const; | 55 Isolate* isolate() const; |
54 CommonOperatorBuilder* common() const; | 56 CommonOperatorBuilder* common() const; |
55 SimplifiedOperatorBuilder* simplified() const; | 57 SimplifiedOperatorBuilder* simplified() const; |
56 | 58 |
57 JSGraph* const jsgraph_; | 59 JSGraph* const jsgraph_; |
58 TypeCache const& type_cache_; | 60 TypeCache const& type_cache_; |
59 }; | 61 }; |
60 | 62 |
61 } // namespace compiler | 63 } // namespace compiler |
62 } // namespace internal | 64 } // namespace internal |
63 } // namespace v8 | 65 } // namespace v8 |
64 | 66 |
65 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ | 67 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ |
OLD | NEW |