llir-opt  0.0.1
Low-Level Post-Link Optimiser for OCaml and C
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
LoopNesting::Loop Class Reference

Structure representing a loop. More...

#include <core/analysis/loop_nesting.h>

Collaboration diagram for LoopNesting::Loop:
Collaboration graph
[legend]

Public Types

using LoopIter = std::vector< Loop * >::iterator
 Iterator over loop children.
 
using BlockIter = std::vector< const Block * >::iterator
 Iterator over loop children.
 

Public Member Functions

const BlockGetHeader () const
 Returns the loop header.
 
LoopIter loop_begin ()
 
LoopIter loop_end ()
 
llvm::iterator_range< LoopIterloops ()
 
BlockIter block_begin ()
 
BlockIter block_end ()
 
llvm::iterator_range< BlockIterblocks ()
 

Public Attributes

const Blockheader_
 Header of the loop.
 
std::vector< Loop * > loops_
 Loops in the loop.
 
std::vector< const Block * > blocks_
 Nodes in the loop.
 

Friends

class LoopNesting
 

Detailed Description

Structure representing a loop.


The documentation for this class was generated from the following file: