llvm::IDFCalculator

Iterated dominance frontier calculator specialized for BasicBlock.

Synopsis

Declared in <llvm/Analysis/IteratedDominanceFrontier.h>

template<bool IsPostDom>
class IDFCalculator final
    : public IDFCalculatorBase<BasicBlock, IsPostDom>

Base Classes

NameDescription
IDFCalculatorBase<BasicBlock, IsPostDom>Determine the iterated dominance frontier, given a set of defining blocks, and optionally, a set of live-in blocks.

Type Aliases

NameDescription
ChildrenGetterTy Children-getter type used by the base calculator.
IDFCalculatorBase Base IDF calculator type specialized for BasicBlock.
OrderedNodeTy Node type oriented for dominance or post-dominance traversal.

Member Functions

NameDescription
IDFCalculator [constructor]Constructors
calculate Calculate iterated dominance frontiers.
resetLiveInBlocks Reset the live-in block set to be empty, and tell the IDF calculator to not use liveness anymore.
setDefiningBlocks Set the blocks in which the value is defined.
setLiveInBlocks Set the blocks in which the value is live on entry.