Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Side by Side Diff: src/compiler/js-builtin-reducer.h

Issue 2073123002: [builtins] Introduce proper Float64Cos and Float64Sin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix missing breaks Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/js-builtin-reducer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 16 matching lines...) Expand all
27 ~JSBuiltinReducer() final {} 27 ~JSBuiltinReducer() final {}
28 28
29 Reduction Reduce(Node* node) final; 29 Reduction Reduce(Node* node) final;
30 30
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 ReduceMathAtanh(Node* node); 34 Reduction ReduceMathAtanh(Node* node);
35 Reduction ReduceMathCeil(Node* node); 35 Reduction ReduceMathCeil(Node* node);
36 Reduction ReduceMathClz32(Node* node); 36 Reduction ReduceMathClz32(Node* node);
37 Reduction ReduceMathCos(Node* node);
37 Reduction ReduceMathExp(Node* node); 38 Reduction ReduceMathExp(Node* node);
38 Reduction ReduceMathFloor(Node* node); 39 Reduction ReduceMathFloor(Node* node);
39 Reduction ReduceMathFround(Node* node); 40 Reduction ReduceMathFround(Node* node);
40 Reduction ReduceMathImul(Node* node); 41 Reduction ReduceMathImul(Node* node);
41 Reduction ReduceMathLog(Node* node); 42 Reduction ReduceMathLog(Node* node);
42 Reduction ReduceMathLog1p(Node* node); 43 Reduction ReduceMathLog1p(Node* node);
44 Reduction ReduceMathLog10(Node* node);
43 Reduction ReduceMathLog2(Node* node); 45 Reduction ReduceMathLog2(Node* node);
44 Reduction ReduceMathLog10(Node* node);
45 Reduction ReduceMathMax(Node* node); 46 Reduction ReduceMathMax(Node* node);
46 Reduction ReduceMathMin(Node* node); 47 Reduction ReduceMathMin(Node* node);
47 Reduction ReduceMathCbrt(Node* node); 48 Reduction ReduceMathCbrt(Node* node);
48 Reduction ReduceMathExpm1(Node* node); 49 Reduction ReduceMathExpm1(Node* node);
49 Reduction ReduceMathRound(Node* node); 50 Reduction ReduceMathRound(Node* node);
51 Reduction ReduceMathSin(Node* node);
50 Reduction ReduceMathSqrt(Node* node); 52 Reduction ReduceMathSqrt(Node* node);
51 Reduction ReduceMathTrunc(Node* node); 53 Reduction ReduceMathTrunc(Node* node);
52 Reduction ReduceStringFromCharCode(Node* node); 54 Reduction ReduceStringFromCharCode(Node* node);
53 55
54 Node* ToNumber(Node* value); 56 Node* ToNumber(Node* value);
55 Node* ToUint32(Node* value); 57 Node* ToUint32(Node* value);
56 58
57 Graph* graph() const; 59 Graph* graph() const;
58 JSGraph* jsgraph() const { return jsgraph_; } 60 JSGraph* jsgraph() const { return jsgraph_; }
59 Isolate* isolate() const; 61 Isolate* isolate() const;
60 CommonOperatorBuilder* common() const; 62 CommonOperatorBuilder* common() const;
61 SimplifiedOperatorBuilder* simplified() const; 63 SimplifiedOperatorBuilder* simplified() const;
62 64
63 JSGraph* const jsgraph_; 65 JSGraph* const jsgraph_;
64 TypeCache const& type_cache_; 66 TypeCache const& type_cache_;
65 }; 67 };
66 68
67 } // namespace compiler 69 } // namespace compiler
68 } // namespace internal 70 } // namespace internal
69 } // namespace v8 71 } // namespace v8
70 72
71 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ 73 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/js-builtin-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698