llvm::addInnerLoopsToHeadersMap

Map each header in the nest of L to its loop in LoopHeaders.

Synopsis

Declared in <llvm/Support/GenericLoopInfoImpl.h>

template<
    class BlockT,
    class LoopT>
void
addInnerLoopsToHeadersMap(
    DenseMap<BlockT*, LoopT const*>& LoopHeaders,
    LoopInfoBase<BlockT, LoopT> const& LI,
    LoopT const& L);

Parameters

NameDescription
LoopHeadersMap from loop header block to the corresponding loop.
LILoop info that owns the nest (unused; kept for call-site context).
LRoot of the loop nest to record.