|
|
Initial steps towards cleaning up integer arithmetic IR.
Introduce base classes for binary and unary integer operations and move all shared logic (e.g. canonicalization) into these classes.
Start removing special cases dispatch from instructions patterns - it goes into Canonicalization pass.
Start removing duplication between instruction patterns where meaningful and possible.
Cleanup the notion of truncation in the operations: is_truncating implies !can_overflow, not the other way around.
BUG=
R=johnmccutchan@google.com, srdjan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=40375
Total comments: 15
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1032 lines, -1578 lines) |
Patch |
 |
M |
runtime/vm/assembler_arm.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/assembler_arm64.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/assembler_ia32.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/assembler_mips.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/assembler_x64.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
1 comment
|
Download
|
 |
M |
runtime/vm/flow_graph_optimizer.h
|
View
|
|
1 chunk |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_optimizer.cc
|
View
|
|
14 chunks |
+54 lines, -125 lines |
2 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_range_analysis.cc
|
View
|
|
4 chunks |
+61 lines, -96 lines |
1 comment
|
Download
|
 |
M |
runtime/vm/il_printer.cc
|
View
|
|
2 chunks |
+10 lines, -70 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language.h
|
View
|
|
9 chunks |
+261 lines, -403 lines |
2 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language.cc
|
View
|
|
10 chunks |
+344 lines, -134 lines |
7 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language_arm.cc
|
View
|
|
13 chunks |
+56 lines, -146 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language_arm64.cc
|
View
|
|
8 chunks |
+20 lines, -75 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language_ia32.cc
|
View
|
|
14 chunks |
+167 lines, -373 lines |
1 comment
|
Download
|
 |
M |
runtime/vm/intermediate_language_mips.cc
|
View
|
|
8 chunks |
+19 lines, -78 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language_x64.cc
|
View
|
|
7 chunks |
+22 lines, -69 lines |
1 comment
|
Download
|
 |
M |
runtime/vm/object.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.cc
|
View
|
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
Total messages: 7 (2 generated)
|