Search in sources :

Example 1 with FastBlockGraph

use of org.mapleir.ir.cfg.FastBlockGraph in project maple-ir by LLVM-but-worse.

the class BoissinotDestructor method traverseDominatorTree.

private SimpleDfs<BasicBlock> traverseDominatorTree() {
    FastBlockGraph dominatorTree = new FastBlockGraph();
    resolver.domc.makeTree(dominatorTree);
    dominatorTree.getEntries().add(dummyHead);
    return new SimpleDfs<>(dominatorTree, dummyHead, SimpleDfs.PRE | SimpleDfs.TOPO);
}
Also used : FastBlockGraph(org.mapleir.ir.cfg.FastBlockGraph) SimpleDfs(org.mapleir.stdlib.collections.graph.algorithms.SimpleDfs)

Aggregations

FastBlockGraph (org.mapleir.ir.cfg.FastBlockGraph)1 SimpleDfs (org.mapleir.stdlib.collections.graph.algorithms.SimpleDfs)1