8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
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_LIVE_HPP
26 #define SHARE_VM_OPTO_LIVE_HPP
27
28 #include "libadt/port.hpp"
29 #include "libadt/vectset.hpp"
30 #include "opto/block.hpp"
31 #include "opto/indexSet.hpp"
32 #include "opto/phase.hpp"
33 #include "opto/regmask.hpp"
34
35 class Block;
36 class PhaseCFG;
37 class VectorSet;
38 class IndexSet;
39
40 //------------------------------LRG_List---------------------------------------
41 // Map Node indices to Live RanGe indices.
42 // Array lookup in the optimized case.
43 typedef GrowableArray<uint> LRG_List;
44
45 //------------------------------PhaseLive--------------------------------------
46 // Compute live-in/live-out
47 class PhaseLive : public Phase {
48 // Array of Sets of values live at the start of a block.
|
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
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_LIVE_HPP
26 #define SHARE_VM_OPTO_LIVE_HPP
27
28 #include "libadt/vectset.hpp"
29 #include "opto/block.hpp"
30 #include "opto/indexSet.hpp"
31 #include "opto/phase.hpp"
32 #include "opto/regmask.hpp"
33
34 class Block;
35 class PhaseCFG;
36 class VectorSet;
37 class IndexSet;
38
39 //------------------------------LRG_List---------------------------------------
40 // Map Node indices to Live RanGe indices.
41 // Array lookup in the optimized case.
42 typedef GrowableArray<uint> LRG_List;
43
44 //------------------------------PhaseLive--------------------------------------
45 // Compute live-in/live-out
46 class PhaseLive : public Phase {
47 // Array of Sets of values live at the start of a block.
|