Home
last modified time | relevance | path

Searched refs:getNodes (Results 1 – 25 of 2431) sorted by relevance

12345678910>>...98

/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/tests/unittests/
H A DTypeAToTypeBFunctionConverterTest.cpp89 EXPECT_TRUE(std::find(F->getNodes().begin(), F->getNodes().end(), *result) != in TEST()
90 F->getNodes().end()); in TEST()
199 EXPECT_TRUE(std::find(F->getNodes().begin(), F->getNodes().end(), *result) != in TEST()
322 EXPECT_TRUE(std::find(F->getNodes().begin(), F->getNodes().end(), *result) != in TEST()
434 EXPECT_TRUE(std::find(F->getNodes().begin(), F->getNodes().end(), *result) != in TEST()
540 EXPECT_TRUE(std::find(F->getNodes().begin(), F->getNodes().end(), *result) != in TEST()
576 EXPECT_TRUE(std::find(F->getNodes().begin(), F->getNodes().end(), in TEST()
674 EXPECT_TRUE(std::find(F->getNodes().begin(), F->getNodes().end(), *result) != in TEST()
872 EXPECT_TRUE(std::find(F->getNodes().begin(), F->getNodes().end(), *result) != in TEST()
911 EXPECT_TRUE(std::find(F2->getNodes().begin(), F2->getNodes().end(), in TEST()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/ea/
H A DUnsafeCompareAndSwapVirtualizationTest.java49 assertTrue(graph.getNodes(LogicCompareAndSwapNode.TYPE).isEmpty()); in bothVirtualNoMatchTest()
61 assertTrue(graph.getNodes(LogicCompareAndSwapNode.TYPE).isEmpty()); in bothVirtualMatchTest()
73 assertTrue(graph.getNodes(LogicCompareAndSwapNode.TYPE).isEmpty()); in expectedVirtualMatchTest()
85 assertTrue(graph.getNodes(LogicCompareAndSwapNode.TYPE).isEmpty()); in expectedVirtualNoMatchTest()
96 assertTrue(graph.getNodes(LogicCompareAndSwapNode.TYPE).isEmpty()); in bothNonVirtualNoMatchTest()
107 assertTrue(graph.getNodes(LogicCompareAndSwapNode.TYPE).isEmpty()); in bothNonVirtualMatchTest()
118 assertTrue(graph.getNodes(LogicCompareAndSwapNode.TYPE).isEmpty()); in onlyInitialValueVirtualNoMatchTest()
130 assertTrue(graph.getNodes(LogicCompareAndSwapNode.TYPE).isEmpty()); in onlyInitialValueVirtualMatchTest()
141 assertTrue(graph.getNodes(LogicCompareAndSwapNode.TYPE).isEmpty()); in bothVirtualNoMatchArrayTest()
H A DEarlyReadEliminationTest.java93 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testSimple()
99 assertTrue(result.graph().getNodes().filter(ReadNode.class).isEmpty()); in testSimple()
128 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testParam()
142 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testMaterialized()
159 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testSimpleLoop()
164 assertTrue(result.graph().getNodes().filter(ReadNode.class).isEmpty()); in testSimpleLoop()
217 assertTrue(graph.getNodes().filter(LoadFieldNode.class).isEmpty()); in testPhi()
218 List<ReturnNode> returnNodes = graph.getNodes(ReturnNode.TYPE).snapshot(); in testPhi()
253 assertDeepEquals(2, graph.getNodes().filter(LoadFieldNode.class).count()); in testValueProxy()
258 assertDeepEquals(1, graph.getNodes(ReturnNode.TYPE).count()); in getReturn()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/ea/
H A DUnsafeCompareAndSwapVirtualizationTest.java49 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in bothVirtualNoMatchTest()
61 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in bothVirtualMatchTest()
73 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in expectedVirtualMatchTest()
85 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in expectedVirtualNoMatchTest()
96 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in bothNonVirtualNoMatchTest()
107 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in bothNonVirtualMatchTest()
118 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in onlyInitialValueVirtualNoMatchTest()
130 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in onlyInitialValueVirtualMatchTest()
141 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in bothVirtualNoMatchArrayTest()
H A DEarlyReadEliminationTest.java87 for (Node n : graph.getNodes()) { in testDeadBranches()
139 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testSimple()
145 assertTrue(result.graph().getNodes().filter(ReadNode.class).isEmpty()); in testSimple()
174 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testParam()
210 assertTrue(result.graph().getNodes().filter(ReadNode.class).isEmpty()); in testSimpleLoop()
263 assertTrue(graph.getNodes().filter(LoadFieldNode.class).isEmpty()); in testPhi()
264 List<ReturnNode> returnNodes = graph.getNodes(ReturnNode.TYPE).snapshot(); in testPhi()
281 assertDeepEquals(1, graph.getNodes().filter(StoreFieldNode.class).count()); in testSimpleStore()
299 assertDeepEquals(2, graph.getNodes().filter(LoadFieldNode.class).count()); in testValueProxy()
304 assertDeepEquals(1, graph.getNodes(ReturnNode.TYPE).count()); in getReturn()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/ea/
H A DUnsafeCompareAndSwapVirtualizationTest.java49 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in bothVirtualNoMatchTest()
61 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in bothVirtualMatchTest()
73 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in expectedVirtualMatchTest()
85 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in expectedVirtualNoMatchTest()
96 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in bothNonVirtualNoMatchTest()
107 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in bothNonVirtualMatchTest()
118 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in onlyInitialValueVirtualNoMatchTest()
130 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in onlyInitialValueVirtualMatchTest()
141 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in bothVirtualNoMatchArrayTest()
H A DEarlyReadEliminationTest.java87 for (Node n : graph.getNodes()) { in testDeadBranches()
139 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testSimple()
145 assertTrue(result.graph().getNodes().filter(ReadNode.class).isEmpty()); in testSimple()
174 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testParam()
210 assertTrue(result.graph().getNodes().filter(ReadNode.class).isEmpty()); in testSimpleLoop()
263 assertTrue(graph.getNodes().filter(LoadFieldNode.class).isEmpty()); in testPhi()
264 List<ReturnNode> returnNodes = graph.getNodes(ReturnNode.TYPE).snapshot(); in testPhi()
281 assertDeepEquals(1, graph.getNodes().filter(StoreFieldNode.class).count()); in testSimpleStore()
299 assertDeepEquals(2, graph.getNodes().filter(LoadFieldNode.class).count()); in testValueProxy()
304 assertDeepEquals(1, graph.getNodes(ReturnNode.TYPE).count()); in getReturn()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/ea/
H A DUnsafeCompareAndSwapVirtualizationTest.java49 assertTrue(graph.getNodes(LogicCompareAndSwapNode.TYPE).isEmpty()); in bothVirtualNoMatchTest()
61 assertTrue(graph.getNodes(LogicCompareAndSwapNode.TYPE).isEmpty()); in bothVirtualMatchTest()
73 assertTrue(graph.getNodes(LogicCompareAndSwapNode.TYPE).isEmpty()); in expectedVirtualMatchTest()
85 assertTrue(graph.getNodes(LogicCompareAndSwapNode.TYPE).isEmpty()); in expectedVirtualNoMatchTest()
96 assertTrue(graph.getNodes(LogicCompareAndSwapNode.TYPE).isEmpty()); in bothNonVirtualNoMatchTest()
107 assertTrue(graph.getNodes(LogicCompareAndSwapNode.TYPE).isEmpty()); in bothNonVirtualMatchTest()
118 assertTrue(graph.getNodes(LogicCompareAndSwapNode.TYPE).isEmpty()); in onlyInitialValueVirtualNoMatchTest()
130 assertTrue(graph.getNodes(LogicCompareAndSwapNode.TYPE).isEmpty()); in onlyInitialValueVirtualMatchTest()
141 assertTrue(graph.getNodes(LogicCompareAndSwapNode.TYPE).isEmpty()); in bothVirtualNoMatchArrayTest()
H A DEarlyReadEliminationTest.java93 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testSimple()
99 assertTrue(result.graph().getNodes().filter(ReadNode.class).isEmpty()); in testSimple()
128 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testParam()
142 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testMaterialized()
159 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testSimpleLoop()
164 assertTrue(result.graph().getNodes().filter(ReadNode.class).isEmpty()); in testSimpleLoop()
217 assertTrue(graph.getNodes().filter(LoadFieldNode.class).isEmpty()); in testPhi()
218 List<ReturnNode> returnNodes = graph.getNodes(ReturnNode.TYPE).snapshot(); in testPhi()
253 assertDeepEquals(2, graph.getNodes().filter(LoadFieldNode.class).count()); in testValueProxy()
258 assertDeepEquals(1, graph.getNodes(ReturnNode.TYPE).count()); in getReturn()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/ea/
H A DUnsafeCompareAndSwapVirtualizationTest.java49 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in bothVirtualNoMatchTest()
61 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in bothVirtualMatchTest()
73 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in expectedVirtualMatchTest()
85 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in expectedVirtualNoMatchTest()
96 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in bothNonVirtualNoMatchTest()
107 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in bothNonVirtualMatchTest()
118 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in onlyInitialValueVirtualNoMatchTest()
130 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in onlyInitialValueVirtualMatchTest()
141 assertTrue(graph.getNodes().filter(LogicCompareAndSwapNode.class).isEmpty()); in bothVirtualNoMatchArrayTest()
H A DEarlyReadEliminationTest.java87 for (Node n : graph.getNodes()) { in testDeadBranches()
139 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testSimple()
145 assertTrue(result.graph().getNodes().filter(ReadNode.class).isEmpty()); in testSimple()
174 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testParam()
210 assertTrue(result.graph().getNodes().filter(ReadNode.class).isEmpty()); in testSimpleLoop()
263 assertTrue(graph.getNodes().filter(LoadFieldNode.class).isEmpty()); in testPhi()
264 List<ReturnNode> returnNodes = graph.getNodes(ReturnNode.TYPE).snapshot(); in testPhi()
281 assertDeepEquals(1, graph.getNodes().filter(StoreFieldNode.class).count()); in testSimpleStore()
299 assertDeepEquals(2, graph.getNodes().filter(LoadFieldNode.class).count()); in testValueProxy()
304 assertDeepEquals(1, graph.getNodes(ReturnNode.TYPE).count()); in getReturn()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/
H A DLockEliminationTest.java76 assertDeepEquals(1, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testLock()
77 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testLock()
94 assertDeepEquals(1, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testSynchronizedMethod()
95 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testSynchronizedMethod()
114 assertDeepEquals(1, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testUnrolledSync()
115 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testUnrolledSync()
162 assertDeepEquals(3, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testEscapeAnalysis()
163 assertDeepEquals(3, graph.getNodes().filter(MonitorExitNode.class).count()); in testEscapeAnalysis()
167 assertDeepEquals(2, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testEscapeAnalysis()
168 assertDeepEquals(2, graph.getNodes().filter(MonitorExitNode.class).count()); in testEscapeAnalysis()
H A DGuardedIntrinsicTest.java158 Assert.assertEquals(1, parsedForCompile.getNodes().filter(LoadMethodNode.class).count()); in test01()
159 Assert.assertEquals(1, parsedForCompile.getNodes().filter(LoadHubNode.class).count()); in test01()
162 Assert.assertEquals(1, parsedForCompile.getNodes().filter(OpaqueNode.class).count()); in test01()
165 List<Node> invokes = graph.getNodes().filter(n -> n instanceof Invoke).snapshot(); in test01()
174 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadMethodNode.class).count()); in test02()
175 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadHubNode.class).count()); in test02()
177 Assert.assertEquals(0, parsedForCompile.getNodes().filter(InvokeNode.class).count()); in test02()
185 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadMethodNode.class).count()); in test03()
186 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadHubNode.class).count()); in test03()
197 Assert.assertEquals(1, parsedForCompile.getNodes().filter(LoadMethodNode.class).count()); in test04()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/
H A DLockEliminationTest.java75 assertDeepEquals(1, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testLock()
76 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testLock()
93 assertDeepEquals(1, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testSynchronizedMethod()
94 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testSynchronizedMethod()
113 assertDeepEquals(1, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testUnrolledSync()
114 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testUnrolledSync()
161 assertDeepEquals(3, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testEscapeAnalysis()
162 assertDeepEquals(3, graph.getNodes().filter(MonitorExitNode.class).count()); in testEscapeAnalysis()
166 assertDeepEquals(2, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testEscapeAnalysis()
167 assertDeepEquals(2, graph.getNodes().filter(MonitorExitNode.class).count()); in testEscapeAnalysis()
H A DGuardedIntrinsicTest.java158 Assert.assertEquals(1, parsedForCompile.getNodes().filter(LoadMethodNode.class).count()); in test01()
159 Assert.assertEquals(1, parsedForCompile.getNodes().filter(LoadHubNode.class).count()); in test01()
162 Assert.assertEquals(1, parsedForCompile.getNodes().filter(OpaqueNode.class).count()); in test01()
165 List<Node> invokes = graph.getNodes().filter(n -> n instanceof Invoke).snapshot(); in test01()
174 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadMethodNode.class).count()); in test02()
175 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadHubNode.class).count()); in test02()
177 Assert.assertEquals(0, parsedForCompile.getNodes().filter(InvokeNode.class).count()); in test02()
185 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadMethodNode.class).count()); in test03()
186 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadHubNode.class).count()); in test03()
197 Assert.assertEquals(1, parsedForCompile.getNodes().filter(LoadMethodNode.class).count()); in test04()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/
H A DLockEliminationTest.java76 assertDeepEquals(1, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testLock()
77 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testLock()
94 assertDeepEquals(1, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testSynchronizedMethod()
95 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testSynchronizedMethod()
114 assertDeepEquals(1, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testUnrolledSync()
115 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testUnrolledSync()
162 assertDeepEquals(3, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testEscapeAnalysis()
163 assertDeepEquals(3, graph.getNodes().filter(MonitorExitNode.class).count()); in testEscapeAnalysis()
167 assertDeepEquals(2, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testEscapeAnalysis()
168 assertDeepEquals(2, graph.getNodes().filter(MonitorExitNode.class).count()); in testEscapeAnalysis()
H A DGuardedIntrinsicTest.java158 Assert.assertEquals(1, parsedForCompile.getNodes().filter(LoadMethodNode.class).count()); in test01()
159 Assert.assertEquals(1, parsedForCompile.getNodes().filter(LoadHubNode.class).count()); in test01()
162 Assert.assertEquals(1, parsedForCompile.getNodes().filter(OpaqueNode.class).count()); in test01()
165 List<Node> invokes = graph.getNodes().filter(n -> n instanceof Invoke).snapshot(); in test01()
174 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadMethodNode.class).count()); in test02()
175 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadHubNode.class).count()); in test02()
177 Assert.assertEquals(0, parsedForCompile.getNodes().filter(InvokeNode.class).count()); in test02()
185 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadMethodNode.class).count()); in test03()
186 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadHubNode.class).count()); in test03()
197 Assert.assertEquals(1, parsedForCompile.getNodes().filter(LoadMethodNode.class).count()); in test04()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/
H A DLockEliminationTest.java74 assertDeepEquals(1, graph.getNodes().filter(MonitorEnterNode.class).count()); in testLock()
75 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testLock()
92 assertDeepEquals(1, graph.getNodes().filter(MonitorEnterNode.class).count()); in testSynchronizedMethod()
93 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testSynchronizedMethod()
112 assertDeepEquals(1, graph.getNodes().filter(MonitorEnterNode.class).count()); in testUnrolledSync()
113 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testUnrolledSync()
160 assertDeepEquals(3, graph.getNodes().filter(MonitorEnterNode.class).count()); in testEscapeAnalysis()
161 assertDeepEquals(3, graph.getNodes().filter(MonitorExitNode.class).count()); in testEscapeAnalysis()
165 assertDeepEquals(2, graph.getNodes().filter(MonitorEnterNode.class).count()); in testEscapeAnalysis()
166 assertDeepEquals(2, graph.getNodes().filter(MonitorExitNode.class).count()); in testEscapeAnalysis()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/
H A DLockEliminationTest.java74 assertDeepEquals(1, graph.getNodes().filter(MonitorEnterNode.class).count()); in testLock()
75 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testLock()
92 assertDeepEquals(1, graph.getNodes().filter(MonitorEnterNode.class).count()); in testSynchronizedMethod()
93 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testSynchronizedMethod()
112 assertDeepEquals(1, graph.getNodes().filter(MonitorEnterNode.class).count()); in testUnrolledSync()
113 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testUnrolledSync()
160 assertDeepEquals(3, graph.getNodes().filter(MonitorEnterNode.class).count()); in testEscapeAnalysis()
161 assertDeepEquals(3, graph.getNodes().filter(MonitorExitNode.class).count()); in testEscapeAnalysis()
165 assertDeepEquals(2, graph.getNodes().filter(MonitorEnterNode.class).count()); in testEscapeAnalysis()
166 assertDeepEquals(2, graph.getNodes().filter(MonitorExitNode.class).count()); in testEscapeAnalysis()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/
H A DLockEliminationTest.java75 assertDeepEquals(1, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testLock()
76 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testLock()
93 assertDeepEquals(1, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testSynchronizedMethod()
94 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testSynchronizedMethod()
113 assertDeepEquals(1, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testUnrolledSync()
114 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testUnrolledSync()
161 assertDeepEquals(3, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testEscapeAnalysis()
162 assertDeepEquals(3, graph.getNodes().filter(MonitorExitNode.class).count()); in testEscapeAnalysis()
166 assertDeepEquals(2, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testEscapeAnalysis()
167 assertDeepEquals(2, graph.getNodes().filter(MonitorExitNode.class).count()); in testEscapeAnalysis()
H A DGuardedIntrinsicTest.java158 Assert.assertEquals(1, parsedForCompile.getNodes().filter(LoadMethodNode.class).count()); in test01()
159 Assert.assertEquals(1, parsedForCompile.getNodes().filter(LoadHubNode.class).count()); in test01()
162 Assert.assertEquals(1, parsedForCompile.getNodes().filter(OpaqueNode.class).count()); in test01()
165 List<Node> invokes = graph.getNodes().filter(n -> n instanceof Invoke).snapshot(); in test01()
174 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadMethodNode.class).count()); in test02()
175 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadHubNode.class).count()); in test02()
177 Assert.assertEquals(0, parsedForCompile.getNodes().filter(InvokeNode.class).count()); in test02()
185 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadMethodNode.class).count()); in test03()
186 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadHubNode.class).count()); in test03()
197 Assert.assertEquals(1, parsedForCompile.getNodes().filter(LoadMethodNode.class).count()); in test04()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/
H A DLockEliminationTest.java74 assertDeepEquals(1, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testLock()
75 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testLock()
92 assertDeepEquals(1, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testSynchronizedMethod()
93 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testSynchronizedMethod()
112 assertDeepEquals(1, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testUnrolledSync()
113 assertDeepEquals(1, graph.getNodes().filter(MonitorExitNode.class).count()); in testUnrolledSync()
160 assertDeepEquals(3, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testEscapeAnalysis()
161 assertDeepEquals(3, graph.getNodes().filter(MonitorExitNode.class).count()); in testEscapeAnalysis()
165 assertDeepEquals(2, graph.getNodes().filter(RawMonitorEnterNode.class).count()); in testEscapeAnalysis()
166 assertDeepEquals(2, graph.getNodes().filter(MonitorExitNode.class).count()); in testEscapeAnalysis()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/ea/
H A DEarlyReadEliminationTest.java95 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testSimple()
101 assertTrue(result.graph().getNodes().filter(ReadNode.class).isEmpty()); in testSimple()
130 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testParam()
144 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testMaterialized()
166 assertTrue(result.graph().getNodes().filter(ReadNode.class).isEmpty()); in testSimpleLoop()
219 assertTrue(graph.getNodes().filter(LoadFieldNode.class).isEmpty()); in testPhi()
220 List<ReturnNode> returnNodes = graph.getNodes(ReturnNode.TYPE).snapshot(); in testPhi()
237 assertDeepEquals(1, graph.getNodes().filter(StoreFieldNode.class).count()); in testSimpleStore()
255 assertDeepEquals(2, graph.getNodes().filter(LoadFieldNode.class).count()); in testValueProxy()
260 assertDeepEquals(1, graph.getNodes(ReturnNode.TYPE).count()); in getReturn()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/ea/
H A DEarlyReadEliminationTest.java95 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testSimple()
101 assertTrue(result.graph().getNodes().filter(ReadNode.class).isEmpty()); in testSimple()
130 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testParam()
144 assertTrue(result.graph().getNodes().filter(LoadFieldNode.class).isEmpty()); in testMaterialized()
166 assertTrue(result.graph().getNodes().filter(ReadNode.class).isEmpty()); in testSimpleLoop()
219 assertTrue(graph.getNodes().filter(LoadFieldNode.class).isEmpty()); in testPhi()
220 List<ReturnNode> returnNodes = graph.getNodes(ReturnNode.TYPE).snapshot(); in testPhi()
237 assertDeepEquals(1, graph.getNodes().filter(StoreFieldNode.class).count()); in testSimpleStore()
255 assertDeepEquals(2, graph.getNodes().filter(LoadFieldNode.class).count()); in testValueProxy()
260 assertDeepEquals(1, graph.getNodes(ReturnNode.TYPE).count()); in getReturn()
[all …]
/dports/biology/scrm/scrm-1.7.4/src/
H A Dforest-debug.cc111 for (ConstNodeIterator it = getNodes()->iterator(); it.good(); ++it) { in calcTreeLength()
166 for (ConstNodeIterator it = getNodes()->iterator(); it.good(); ++it) { in checkInvariants()
237 for (ConstNodeIterator it = getNodes()->iterator(); it.good(); ++it) { in checkNodeProperties()
336 end_height = getNodes()->get(0)->height(); in printTree()
338 for (ConstNodeIterator ni = getNodes()->iterator(); ni.good(); ) { in printTree()
417 std::vector<Node const*> positions(this->getNodes()->size(), NULL); in determinePositions()
424 for (it = getNodes()->reverse_iterator(); it.good(); ++it) { in determinePositions()
514 for(size_t i = 0; i < this->getNodes()->size(); ++i) { in printNodes()
518 if (!getNodes()->get(i)->is_root()) in printNodes()
537 for (auto it = getNodes()->iterator(); it.good(); ++it) { in checkForNodeAtHeight()
[all …]

12345678910>>...98