8281122: [IR Framework] Cleanup IR matching code in preparation for JDK-8280378

Reviewed-by: thartmann, kvn
This commit is contained in:
Christian Hagedorn 2022-03-03 07:17:56 +00:00
parent d0eb6fa220
commit 2da677793f
56 changed files with 2739 additions and 752 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2021, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -23,7 +23,7 @@
package compiler.lib.ir_framework;
import compiler.lib.ir_framework.driver.IRViolationException;
import compiler.lib.ir_framework.driver.irmatching.IRViolationException;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
@ -58,8 +58,8 @@ import java.lang.annotation.RetentionPolicy;
* If the specified preconditions fail, then the framework does not apply the IR rule. These preconditions can be
* set with {@link #applyIf()}, {@link #applyIfNot()}, {@link #applyIfAnd()}, or {@link #applyIfOr()}.
* <p>
* Examples on how to write tests with IR rules can be found in {@link jdk.test.lib.hotspot.ir_framework.examples.IRExample}
* and also as part of the internal testing in {@link jdk.test.lib.hotspot.ir_framework.tests.TestIRMatching}.
* Examples on how to write tests with IR rules can be found in {@link ir_framework.examples.IRExample}
* and also as part of the internal testing in {@link ir_framework.tests.TestIRMatching}.
*
* @see Test
* @see IRNode