annotate graal/com.oracle.graal.phases/src/com/oracle/graal/phases/tiers/SuitesProvider.java @ 19231:df89224ee04a

Add LowLevelSuites to SuitesProvider.
author Josef Eisl <josef.eisl@jku.at>
date Tue, 10 Feb 2015 10:29:39 +0100
parents f4f0a8a01ce0
children 292442bed972
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9968
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
1 /*
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
4 *
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
5 * This code is free software; you can redistribute it and/or modify it
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
6 * under the terms of the GNU General Public License version 2 only, as
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
7 * published by the Free Software Foundation.
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
8 *
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
9 * This code is distributed in the hope that it will be useful, but WITHOUT
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
12 * version 2 for more details (a copy is included in the LICENSE file that
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
13 * accompanied this code).
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
14 *
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License version
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
16 * 2 along with this work; if not, write to the Free Software Foundation,
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
18 *
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
20 * or visit www.oracle.com if you need additional information or have any
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
21 * questions.
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
22 */
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
23 package com.oracle.graal.phases.tiers;
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
24
19231
df89224ee04a Add LowLevelSuites to SuitesProvider.
Josef Eisl <josef.eisl@jku.at>
parents: 13585
diff changeset
25 import com.oracle.graal.lir.phases.*;
13585
f4f0a8a01ce0 remove PhasePlan
Lukas Stadler <lukas.stadler@jku.at>
parents: 9968
diff changeset
26 import com.oracle.graal.phases.*;
f4f0a8a01ce0 remove PhasePlan
Lukas Stadler <lukas.stadler@jku.at>
parents: 9968
diff changeset
27
9968
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
28 public interface SuitesProvider {
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
29
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
30 /**
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
31 * Get the default phase suites of this compiler.
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
32 */
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
33 Suites getDefaultSuites();
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
34
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
35 /**
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
36 * Create a new set of phase suites. Initially, the suites are the same as the
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
37 * {@link #getDefaultSuites default} suites.
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
38 */
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
39 Suites createSuites();
13585
f4f0a8a01ce0 remove PhasePlan
Lukas Stadler <lukas.stadler@jku.at>
parents: 9968
diff changeset
40
f4f0a8a01ce0 remove PhasePlan
Lukas Stadler <lukas.stadler@jku.at>
parents: 9968
diff changeset
41 /**
f4f0a8a01ce0 remove PhasePlan
Lukas Stadler <lukas.stadler@jku.at>
parents: 9968
diff changeset
42 * Get the default phase suite for creating new graphs.
f4f0a8a01ce0 remove PhasePlan
Lukas Stadler <lukas.stadler@jku.at>
parents: 9968
diff changeset
43 */
f4f0a8a01ce0 remove PhasePlan
Lukas Stadler <lukas.stadler@jku.at>
parents: 9968
diff changeset
44 PhaseSuite<HighTierContext> getDefaultGraphBuilderSuite();
f4f0a8a01ce0 remove PhasePlan
Lukas Stadler <lukas.stadler@jku.at>
parents: 9968
diff changeset
45
19231
df89224ee04a Add LowLevelSuites to SuitesProvider.
Josef Eisl <josef.eisl@jku.at>
parents: 13585
diff changeset
46 /**
df89224ee04a Add LowLevelSuites to SuitesProvider.
Josef Eisl <josef.eisl@jku.at>
parents: 13585
diff changeset
47 * Get the default phase suites of this compiler.
df89224ee04a Add LowLevelSuites to SuitesProvider.
Josef Eisl <josef.eisl@jku.at>
parents: 13585
diff changeset
48 */
df89224ee04a Add LowLevelSuites to SuitesProvider.
Josef Eisl <josef.eisl@jku.at>
parents: 13585
diff changeset
49 LowLevelSuites getDefaultLowLevelSuites();
df89224ee04a Add LowLevelSuites to SuitesProvider.
Josef Eisl <josef.eisl@jku.at>
parents: 13585
diff changeset
50
df89224ee04a Add LowLevelSuites to SuitesProvider.
Josef Eisl <josef.eisl@jku.at>
parents: 13585
diff changeset
51 /**
df89224ee04a Add LowLevelSuites to SuitesProvider.
Josef Eisl <josef.eisl@jku.at>
parents: 13585
diff changeset
52 * Create a new set of low-level phase suites. Initially, the suites are the same as the
df89224ee04a Add LowLevelSuites to SuitesProvider.
Josef Eisl <josef.eisl@jku.at>
parents: 13585
diff changeset
53 * {@link #getDefaultLowLevelSuites default} suites.
df89224ee04a Add LowLevelSuites to SuitesProvider.
Josef Eisl <josef.eisl@jku.at>
parents: 13585
diff changeset
54 */
df89224ee04a Add LowLevelSuites to SuitesProvider.
Josef Eisl <josef.eisl@jku.at>
parents: 13585
diff changeset
55 LowLevelSuites createLowLevelSuites();
df89224ee04a Add LowLevelSuites to SuitesProvider.
Josef Eisl <josef.eisl@jku.at>
parents: 13585
diff changeset
56
9968
3df534c97af1 Create Suites instance in runtime.
Roland Schatz <roland.schatz@oracle.com>
parents:
diff changeset
57 }