ΒΆtemplate <typename CallableT>
void visitDomSubTree(llvm::DominatorTree& DT,
                     llvm::BasicBlock* BB,
                     CallableT Callable)

Description

Helper to visit a dominator subtree, invoking a callable on each node. Returning false at any point will stop walking past that node of the tree.

Declared at: llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp:2025

Templates

CallableT

Parameters

llvm::DominatorTree& DT
llvm::BasicBlock* BB
CallableT Callable