Class GraphUtils
java.lang.Object
org.teavm.common.GraphUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic GraphbuildDominatorGraph(DominatorTree domTree, int sz) static DominatorTreebuildDominatorTree(Graph graph) static DominatorTreebuildDominatorTree(Graph graph, int start) static int[]static int[]findBackEdges(Graph graph) static int[][]findDominanceFrontiers(Graph cfg, DominatorTree domTree) static int[][]static booleanisIrreducible(Graph graph) static StringprintToDot(Graph graph) static GraphremoveLoops(Graph graph) static voidsplitIrreducibleGraph(Graph graph, int[] weights, GraphSplittingBackend backend) static Graphsubgraph(Graph graph, IntPredicate filter)
-
Method Details
-
findBackEdges
-
removeLoops
-
isIrreducible
-
subgraph
-
findStronglyConnectedComponents
-
buildDominatorTree
-
buildDominatorTree
-
buildDominatorGraph
-
dfs
-
splitIrreducibleGraph
-
findDominanceFrontiers
-
printToDot
-