20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
|
25 #include "precompiled.hpp" |
|
26 #include "compiler/compileLog.hpp" |
|
27 #include "memory/allocation.inline.hpp" |
|
28 #include "opto/addnode.hpp" |
|
29 #include "opto/callnode.hpp" |
|
30 #include "opto/cfgnode.hpp" |
|
31 #include "opto/connode.hpp" |
|
32 #include "opto/loopnode.hpp" |
|
33 #include "opto/matcher.hpp" |
|
34 #include "opto/mulnode.hpp" |
|
35 #include "opto/opcodes.hpp" |
|
36 #include "opto/phaseX.hpp" |
|
37 #include "opto/subnode.hpp" |
|
38 #include "runtime/sharedRuntime.hpp" |
|
39 |
25 // Portions of code courtesy of Clifford Click |
40 // Portions of code courtesy of Clifford Click |
26 |
41 |
27 // Optimization - Graph Style |
42 // Optimization - Graph Style |
28 |
43 |
29 #include "incls/_precompiled.incl" |
|
30 #include "incls/_subnode.cpp.incl" |
|
31 #include "math.h" |
44 #include "math.h" |
32 |
45 |
33 //============================================================================= |
46 //============================================================================= |
34 //------------------------------Identity--------------------------------------- |
47 //------------------------------Identity--------------------------------------- |
35 // If right input is a constant 0, return the left input. |
48 // If right input is a constant 0, return the left input. |