Lines Matching defs:cfg
1 //===- PostOrderCFGView.cpp - Post order view of CFG blocks ---------------===//
9 // This file implements post order view of the blocks in a CFG.
15 #include "clang/Analysis/CFG.h"
21 PostOrderCFGView::PostOrderCFGView(const CFG *cfg) {
22 Blocks.reserve(cfg->getNumBlockIDs());
23 CFGBlockSet BSet(cfg);
25 for (po_iterator I = po_iterator::begin(cfg, BSet),
26 E = po_iterator::end(cfg, BSet); I != E; ++I) {
34 const CFG *cfg = ctx.getCFG();
35 if (!cfg)
37 return std::make_unique<PostOrderCFGView>(cfg);