ΒΆSmallVector<llvm::DomTreeNode*, 16>
collectChildrenInLoop(llvm::DomTreeNode* N,
                      const llvm::Loop* CurLoop)

Description

Does a BFS from a given node to all of its children inside a given loop. The returned vector of nodes includes the starting point.

Declared at: llvm/include/llvm/Transforms/Utils/LoopUtils.h:170

Parameters

llvm::DomTreeNode* N
const llvm::Loop* CurLoop