Assert that loop L matches OtherL structurally for verification.
Declared in <llvm/Support/GenericLoopInfoImpl.h>
template<
class BlockT,
class LoopT>
static
void
compareLoops(
LoopT const* L,
LoopT const* OtherL,
DenseMap<BlockT*, LoopT const*>& OtherLoopHeaders);
| Name | Description |
|---|---|
| L | Loop from the LoopInfo under test. |
| OtherL | Corresponding loop from a freshly computed LoopInfo. |
| OtherLoopHeaders | Map of headers to loops in the computed LoopInfo; entries are erased as subloops are matched. |