10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_VM_OPTO_IDEALKIT_HPP
26 #define SHARE_VM_OPTO_IDEALKIT_HPP
27
28 #include "opto/addnode.hpp"
29 #include "opto/cfgnode.hpp"
30 #include "opto/connode.hpp"
31 #include "opto/divnode.hpp"
32 #include "opto/graphKit.hpp"
33 #include "opto/mulnode.hpp"
34 #include "opto/phaseX.hpp"
35 #include "opto/subnode.hpp"
36 #include "opto/type.hpp"
37
38 //-----------------------------------------------------------------------------
39 //----------------------------IdealKit-----------------------------------------
40 // Set of utilities for creating control flow and scalar SSA data flow.
41 // Control:
42 // if_then(left, relop, right)
43 // else_ (optional)
44 // end_if
45 // loop(iv variable, initial, relop, limit)
46 // - sets iv to initial for first trip
47 // - exits when relation on limit is true
48 // - the values of initial and limit should be loop invariant
49 // - no increment, must be explicitly coded
50 // - final value of iv is available after end_loop (until dead())
51 // end_loop
52 // make_label(number of gotos)
53 // goto_(label)
54 // bind(label)
55 // Data:
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_VM_OPTO_IDEALKIT_HPP
26 #define SHARE_VM_OPTO_IDEALKIT_HPP
27
28 #include "opto/addnode.hpp"
29 #include "opto/cfgnode.hpp"
30 #include "opto/castnode.hpp"
31 #include "opto/constnode.hpp"
32 #include "opto/divnode.hpp"
33 #include "opto/graphKit.hpp"
34 #include "opto/mulnode.hpp"
35 #include "opto/phaseX.hpp"
36 #include "opto/subnode.hpp"
37 #include "opto/threadnode.hpp"
38 #include "opto/type.hpp"
39
40 //-----------------------------------------------------------------------------
41 //----------------------------IdealKit-----------------------------------------
42 // Set of utilities for creating control flow and scalar SSA data flow.
43 // Control:
44 // if_then(left, relop, right)
45 // else_ (optional)
46 // end_if
47 // loop(iv variable, initial, relop, limit)
48 // - sets iv to initial for first trip
49 // - exits when relation on limit is true
50 // - the values of initial and limit should be loop invariant
51 // - no increment, must be explicitly coded
52 // - final value of iv is available after end_loop (until dead())
53 // end_loop
54 // make_label(number of gotos)
55 // goto_(label)
56 // bind(label)
57 // Data:
|