Home | History | Annotate | Download | only in Analysis

Lines Matching refs:cfg

1 //===- PostOrderCFGView.cpp - Post order view of CFG blocks -------*- C++ --*-//
10 // This file implements post order view of the blocks in a CFG.
20 PostOrderCFGView::PostOrderCFGView(const CFG *cfg) {
21 Blocks.reserve(cfg->getNumBlockIDs());
22 CFGBlockSet BSet(cfg);
24 for (po_iterator I = po_iterator::begin(cfg, BSet),
25 E = po_iterator::end(cfg, BSet); I != E; ++I) {
32 const CFG *cfg = ctx.getCFG();
33 if (!cfg)
35 return new PostOrderCFGView(cfg);