Skip to content

Commit

Permalink
move jdk.compiler.graal.truffle.compiler.* to jdk.compiler.graal.truf…
Browse files Browse the repository at this point in the history
…fle.*
  • Loading branch information
dougxc committed Oct 14, 2023
1 parent b714236 commit 463bd6b
Show file tree
Hide file tree
Showing 151 changed files with 352 additions and 353 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ protected void updateVerifiers(List<VerifyPhase<CoreProviders>> verifiers) {
*/
public boolean shouldCheckUsage(OptionDescriptor option) {
Class<?> declaringClass = option.getDeclaringClass();
if (declaringClass.getName().equals("jdk.compiler.graal.truffle.compiler.TruffleCompilerOptions")) {
if (declaringClass.getName().equals("jdk.compiler.graal.truffle.TruffleCompilerOptions")) {
/*
* These options are deprecated and will be removed in GraalVM 20.2.0. The
* TruffleIntrinsifyFrameAccess option has no replacement and is unused.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
public class OptionsVerifierTest {

private static Set<String> ALLOWLIST = new TreeSet<>(Arrays.asList(//
"jdk.compiler.graal.truffle.compiler.TruffleCompilerOptions"));
"jdk.compiler.graal.truffle.TruffleCompilerOptions"));

@Test
public void verifyOptions() throws IOException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@
import jdk.compiler.graal.replacements.ReplacementsImpl;
import jdk.compiler.graal.replacements.SnippetTemplate;
import jdk.compiler.graal.test.GraalTest.MethodSource;
import jdk.compiler.graal.truffle.compiler.PerformanceInformationHandler;
import jdk.compiler.graal.truffle.compiler.TruffleCompilerImpl;
import jdk.compiler.graal.truffle.compiler.phases.inlining.CallTree;
import jdk.compiler.graal.truffle.PerformanceInformationHandler;
import jdk.compiler.graal.truffle.TruffleCompilerImpl;
import jdk.compiler.graal.truffle.phases.inlining.CallTree;
import jdk.vm.ci.meta.Constant;
import jdk.vm.ci.meta.MetaAccessProvider;
import jdk.vm.ci.meta.PrimitiveConstant;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@

import jdk.compiler.graal.core.common.CompilationIdentifier;
import jdk.compiler.graal.nodes.StructuredGraph;
import jdk.compiler.graal.truffle.compiler.PartialEvaluator;
import jdk.compiler.graal.truffle.compiler.PostPartialEvaluationSuite;
import jdk.compiler.graal.truffle.compiler.TruffleCompilerImpl;
import jdk.compiler.graal.truffle.compiler.TruffleTierContext;
import jdk.compiler.graal.truffle.compiler.phases.inlining.AgnosticInliningPhase;
import jdk.compiler.graal.truffle.PartialEvaluator;
import jdk.compiler.graal.truffle.PostPartialEvaluationSuite;
import jdk.compiler.graal.truffle.TruffleCompilerImpl;
import jdk.compiler.graal.truffle.TruffleTierContext;
import jdk.compiler.graal.truffle.phases.inlining.AgnosticInliningPhase;
import org.graalvm.polyglot.Context;
import org.junit.Before;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

import jdk.compiler.graal.core.test.GraalCompilerTest;
import jdk.compiler.graal.nodes.graphbuilderconf.InvocationPlugins;
import jdk.compiler.graal.truffle.compiler.substitutions.TruffleInvocationPlugins;
import jdk.compiler.graal.truffle.substitutions.TruffleInvocationPlugins;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import jdk.compiler.graal.nodes.graphbuilderconf.InvocationPlugins;
import jdk.compiler.graal.options.OptionValues;
import jdk.compiler.graal.replacements.nodes.ArrayRegionEqualsNode;
import jdk.compiler.graal.truffle.compiler.substitutions.TruffleInvocationPlugins;
import jdk.compiler.graal.truffle.substitutions.TruffleInvocationPlugins;
import org.junit.Assert;
import org.junit.Assume;
import org.junit.Test;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

import jdk.compiler.graal.core.test.GraalCompilerTest;
import jdk.compiler.graal.nodes.graphbuilderconf.InvocationPlugins;
import jdk.compiler.graal.truffle.compiler.substitutions.TruffleInvocationPlugins;
import jdk.compiler.graal.truffle.substitutions.TruffleInvocationPlugins;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

import jdk.compiler.graal.core.test.GraalCompilerTest;
import jdk.compiler.graal.nodes.graphbuilderconf.InvocationPlugins;
import jdk.compiler.graal.truffle.compiler.substitutions.TruffleInvocationPlugins;
import jdk.compiler.graal.truffle.substitutions.TruffleInvocationPlugins;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

import jdk.compiler.graal.nodes.graphbuilderconf.InvocationPlugins;
import jdk.compiler.graal.serviceprovider.GraalServices;
import jdk.compiler.graal.truffle.compiler.substitutions.GraphBuilderInvocationPluginProvider;
import jdk.compiler.graal.truffle.compiler.substitutions.TruffleGraphBuilderPlugins;
import jdk.compiler.graal.truffle.substitutions.GraphBuilderInvocationPluginProvider;
import jdk.compiler.graal.truffle.substitutions.TruffleGraphBuilderPlugins;
import org.junit.Test;

import com.oracle.truffle.api.CompilerDirectives;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
import com.oracle.truffle.api.TruffleOptions;
import com.oracle.truffle.api.frame.VirtualFrame;
import jdk.compiler.graal.debug.TTY;
import jdk.compiler.graal.truffle.compiler.TruffleCompilerImpl;
import jdk.compiler.graal.truffle.TruffleCompilerImpl;
import org.graalvm.polyglot.Context;
import org.junit.Assert;
import org.junit.Assume;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
import jdk.compiler.graal.phases.common.FloatingReadPhase;
import jdk.compiler.graal.phases.common.HighTierLoweringPhase;
import jdk.compiler.graal.phases.common.LoweringPhase;
import jdk.compiler.graal.truffle.compiler.nodes.ObjectLocationIdentity;
import jdk.compiler.graal.truffle.compiler.substitutions.TruffleGraphBuilderPlugins;
import jdk.compiler.graal.truffle.nodes.ObjectLocationIdentity;
import jdk.compiler.graal.truffle.substitutions.TruffleGraphBuilderPlugins;
import org.junit.Test;

import jdk.vm.ci.meta.JavaKind;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
import jdk.compiler.graal.nodes.extended.UnsafeAccessNode;
import jdk.compiler.graal.nodes.java.LoadFieldNode;
import jdk.compiler.graal.nodes.java.StoreFieldNode;
import jdk.compiler.graal.truffle.compiler.nodes.ObjectLocationIdentity;
import jdk.compiler.graal.truffle.nodes.ObjectLocationIdentity;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
import org.graalvm.collections.EconomicMap;
import jdk.compiler.graal.debug.DebugContext;
import jdk.compiler.graal.nodes.EncodedGraph;
import jdk.compiler.graal.truffle.compiler.PartialEvaluator;
import jdk.compiler.graal.truffle.compiler.TruffleCompilation;
import jdk.compiler.graal.truffle.compiler.TruffleCompilerImpl;
import jdk.compiler.graal.truffle.PartialEvaluator;
import jdk.compiler.graal.truffle.TruffleCompilation;
import jdk.compiler.graal.truffle.TruffleCompilerImpl;
import org.graalvm.polyglot.Context;
import org.junit.Assert;
import org.junit.Test;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

import jdk.compiler.graal.nodes.calc.RoundNode;
import jdk.compiler.graal.nodes.graphbuilderconf.InvocationPlugins;
import jdk.compiler.graal.truffle.compiler.substitutions.TruffleGraphBuilderPlugins;
import jdk.compiler.graal.truffle.substitutions.TruffleGraphBuilderPlugins;
import org.junit.Assert;
import org.junit.Assume;
import org.junit.Test;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
import jdk.compiler.graal.options.OptionValues;
import jdk.compiler.graal.phases.common.CanonicalizerPhase;
import jdk.compiler.graal.phases.tiers.HighTierContext;
import jdk.compiler.graal.truffle.compiler.host.HostInliningPhase;
import jdk.compiler.graal.truffle.host.HostInliningPhase;
import jdk.compiler.graal.truffle.test.HostInliningTestFactory.IfNodeGen;
import org.graalvm.polyglot.Context;
import org.junit.Assert;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
import jdk.compiler.graal.api.directives.GraalDirectives;
import jdk.compiler.graal.truffle.test.nodes.AbstractTestNode;
import jdk.compiler.graal.truffle.test.nodes.RootTestNode;
import jdk.compiler.graal.truffle.compiler.PartialEvaluator;
import jdk.compiler.graal.truffle.compiler.phases.InstrumentPhase;
import jdk.compiler.graal.truffle.PartialEvaluator;
import jdk.compiler.graal.truffle.phases.InstrumentPhase;
import org.graalvm.polyglot.Context;
import org.junit.Assert;
import org.junit.Before;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@
import jdk.compiler.graal.phases.PhaseSuite;
import jdk.compiler.graal.phases.common.DeadCodeEliminationPhase;
import jdk.compiler.graal.phases.tiers.HighTierContext;
import jdk.compiler.graal.truffle.compiler.PartialEvaluator;
import jdk.compiler.graal.truffle.compiler.PerformanceInformationHandler;
import jdk.compiler.graal.truffle.compiler.TruffleCompilation;
import jdk.compiler.graal.truffle.compiler.TruffleCompilerImpl;
import jdk.compiler.graal.truffle.compiler.TruffleDebugJavaMethod;
import jdk.compiler.graal.truffle.compiler.TruffleTierContext;
import jdk.compiler.graal.truffle.compiler.phases.TruffleTier;
import jdk.compiler.graal.truffle.PartialEvaluator;
import jdk.compiler.graal.truffle.PerformanceInformationHandler;
import jdk.compiler.graal.truffle.TruffleCompilation;
import jdk.compiler.graal.truffle.TruffleCompilerImpl;
import jdk.compiler.graal.truffle.TruffleDebugJavaMethod;
import jdk.compiler.graal.truffle.TruffleTierContext;
import jdk.compiler.graal.truffle.phases.TruffleTier;
import org.junit.Assert;

import com.oracle.truffle.api.CallTarget;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
import jdk.compiler.graal.debug.DebugCloseable;
import jdk.compiler.graal.debug.DebugContext;
import jdk.compiler.graal.debug.DebugContext.Builder;
import jdk.compiler.graal.truffle.compiler.TruffleCompilation;
import jdk.compiler.graal.truffle.compiler.TruffleCompilerImpl;
import jdk.compiler.graal.truffle.TruffleCompilation;
import jdk.compiler.graal.truffle.TruffleCompilerImpl;
import org.graalvm.polyglot.Context;
import org.junit.Assert;
import org.junit.Before;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
import jdk.compiler.graal.phases.BasePhase;
import jdk.compiler.graal.phases.tiers.HighTierContext;
import jdk.compiler.graal.phases.tiers.Suites;
import jdk.compiler.graal.truffle.compiler.nodes.AnyExtendNode;
import jdk.compiler.graal.truffle.compiler.phases.PhiTransformPhase;
import jdk.compiler.graal.truffle.nodes.AnyExtendNode;
import jdk.compiler.graal.truffle.phases.PhiTransformPhase;
import jdk.compiler.graal.virtual.phases.ea.PartialEscapePhase;
import org.junit.Assert;
import org.junit.Test;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
import jdk.compiler.graal.core.common.CompilationIdentifier;
import jdk.compiler.graal.core.target.Backend;
import jdk.compiler.graal.phases.util.Providers;
import jdk.compiler.graal.truffle.compiler.KnownTruffleTypes;
import jdk.compiler.graal.truffle.compiler.TruffleCompilation;
import jdk.compiler.graal.truffle.compiler.TruffleCompilerImpl;
import jdk.compiler.graal.truffle.KnownTruffleTypes;
import jdk.compiler.graal.truffle.TruffleCompilation;
import jdk.compiler.graal.truffle.TruffleCompilerImpl;
import org.graalvm.polyglot.Context;
import org.junit.After;
import org.junit.Assume;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
import jdk.compiler.graal.core.CompilationWrapper;
import jdk.compiler.graal.core.GraalCompilerOptions;
import jdk.compiler.graal.test.SubprocessUtil;
import jdk.compiler.graal.truffle.compiler.TruffleCompilerImpl;
import jdk.compiler.graal.truffle.TruffleCompilerImpl;
import jdk.compiler.graal.truffle.test.TestWithPolyglotOptions;
import org.junit.Test;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
import jdk.compiler.graal.nodes.graphbuilderconf.GraphBuilderConfiguration;
import jdk.compiler.graal.nodes.graphbuilderconf.InvocationPlugins;
import jdk.compiler.graal.replacements.ConstantBindingParameterPlugin;
import jdk.compiler.graal.truffle.compiler.substitutions.TruffleInvocationPlugins;
import jdk.compiler.graal.truffle.substitutions.TruffleInvocationPlugins;

import jdk.vm.ci.aarch64.AArch64;
import jdk.vm.ci.amd64.AMD64;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package jdk.compiler.graal.truffle.compiler;
package jdk.compiler.graal.truffle;

import java.util.ArrayList;
import java.util.Arrays;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package jdk.compiler.graal.truffle.compiler;
package jdk.compiler.graal.truffle;

import com.oracle.truffle.compiler.TruffleCompilationSupport;
import com.oracle.truffle.compiler.TruffleCompilerOptionDescriptor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package jdk.compiler.graal.truffle.compiler;
package jdk.compiler.graal.truffle;

import jdk.compiler.graal.serviceprovider.ServiceProvider;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package jdk.compiler.graal.truffle.compiler;
package jdk.compiler.graal.truffle;

import jdk.compiler.graal.serviceprovider.ServiceProvider;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package jdk.compiler.graal.truffle.compiler;
package jdk.compiler.graal.truffle;

import java.io.PrintWriter;
import java.io.StringWriter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package jdk.compiler.graal.truffle.compiler;
package jdk.compiler.graal.truffle;

import jdk.compiler.graal.core.common.PermanentBailoutException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package jdk.compiler.graal.truffle.compiler;
package jdk.compiler.graal.truffle;

import java.lang.invoke.MethodHandle;
import java.lang.ref.Reference;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package jdk.compiler.graal.truffle.compiler;
package jdk.compiler.graal.truffle;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package jdk.compiler.graal.truffle.compiler;
package jdk.compiler.graal.truffle;

import jdk.compiler.graal.nodes.ValueNode;
import jdk.compiler.graal.nodes.graphbuilderconf.GraphBuilderContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package jdk.compiler.graal.truffle.compiler;
package jdk.compiler.graal.truffle;

import java.net.URI;
import java.nio.Buffer;
import java.util.function.Supplier;

import jdk.compiler.graal.truffle.compiler.phases.DeoptimizeOnExceptionPhase;
import jdk.compiler.graal.truffle.compiler.phases.InstrumentPhase;
import jdk.compiler.graal.truffle.compiler.substitutions.GraphBuilderInvocationPluginProvider;
import jdk.compiler.graal.truffle.compiler.substitutions.TruffleGraphBuilderPlugins;
import jdk.compiler.graal.truffle.phases.DeoptimizeOnExceptionPhase;
import jdk.compiler.graal.truffle.phases.InstrumentPhase;
import jdk.compiler.graal.truffle.substitutions.GraphBuilderInvocationPluginProvider;
import jdk.compiler.graal.truffle.substitutions.TruffleGraphBuilderPlugins;
import org.graalvm.collections.EconomicMap;
import jdk.compiler.graal.core.common.type.StampPair;
import jdk.compiler.graal.graph.Graph;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package jdk.compiler.graal.truffle.compiler;
package jdk.compiler.graal.truffle;

import jdk.compiler.graal.truffle.compiler.substitutions.GraphDecoderInvocationPluginProvider;
import jdk.compiler.graal.truffle.substitutions.GraphDecoderInvocationPluginProvider;
import jdk.vm.ci.code.Architecture;
import jdk.compiler.graal.nodes.graphbuilderconf.InvocationPlugins;
import jdk.compiler.graal.phases.util.Providers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package jdk.compiler.graal.truffle.compiler;
package jdk.compiler.graal.truffle;

import java.io.Closeable;
import java.util.ArrayList;
Expand All @@ -33,7 +33,7 @@
import java.util.Map;
import java.util.Set;

import jdk.compiler.graal.truffle.compiler.phases.TruffleTier;
import jdk.compiler.graal.truffle.phases.TruffleTier;
import org.graalvm.collections.EconomicMap;
import org.graalvm.collections.Equivalence;
import org.graalvm.collections.MapCursor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package jdk.compiler.graal.truffle.compiler;
package jdk.compiler.graal.truffle;

import jdk.compiler.graal.loop.phases.ConvertDeoptimizeToGuardPhase;
import jdk.compiler.graal.nodes.StructuredGraph;
Expand All @@ -33,8 +33,8 @@
import jdk.compiler.graal.phases.common.CanonicalizerPhase;
import jdk.compiler.graal.phases.common.ConditionalEliminationPhase;
import jdk.compiler.graal.phases.common.inlining.InliningUtil;
import jdk.compiler.graal.truffle.compiler.phases.FrameAccessVerificationPhase;
import jdk.compiler.graal.truffle.compiler.phases.PhiTransformPhase;
import jdk.compiler.graal.truffle.phases.FrameAccessVerificationPhase;
import jdk.compiler.graal.truffle.phases.PhiTransformPhase;
import jdk.compiler.graal.virtual.phases.ea.PartialEscapePhase;

public class PostPartialEvaluationSuite extends PhaseSuite<TruffleTierContext> {
Expand Down
Loading

0 comments on commit 463bd6b

Please sign in to comment.