view visualizer/Graal/src/com/sun/hotspot/igv/graal/filters/beginend.filter @ 7378:88506cfc3bab

Canonicalize ((a - a % b) / b) into (a / b).
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Tue, 15 Jan 2013 17:53:31 +0100
parents 015fb895586b
children
line wrap: on
line source

var f = new CombineFilter("Combine Filter");
f.addRule(new CombineFilter.CombineRule(new Properties.RegexpPropertyMatcher("class", ".*"), new Properties.RegexpPropertyMatcher("class", "BeginNode"), false, "shortName"));
f.addRule(new CombineFilter.CombineRule(new Properties.RegexpPropertyMatcher("class", "EndNode"), new Properties.RegexpPropertyMatcher("class", ".*"), true, "shortName"));
f.apply(graph);