LLVM  14.0.0git
Classes | Namespaces
GenericIteratedDominanceFrontier.h File Reference
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/GenericDomTree.h"
#include <queue>
Include dependency graph for GenericIteratedDominanceFrontier.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  llvm::IDFCalculatorDetail::ChildrenGetterTy< NodeTy, IsPostDom >
 Generic utility class used for getting the children of a basic block. More...
class  llvm::IDFCalculatorBase< NodeTy, IsPostDom >
 Determine the iterated dominance frontier, given a set of defining blocks, and optionally, a set of live-in blocks. More...


 ---------------------— PointerInfo ------------------------------------—

Detailed Description

Compute iterated dominance frontiers using a linear time algorithm.

The algorithm used here is based on:

Sreedhar and Gao. A linear time algorithm for placing phi-nodes. In Proceedings of the 22nd ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages POPL '95. ACM, New York, NY, 62-73.

It has been modified to not explicitly use the DJ graph data structure and to directly compute pruned SSA using per-variable liveness information.

Definition in file GenericIteratedDominanceFrontier.h.