llir-opt
0.0.1
Low-Level Post-Link Optimiser for OCaml and C
|
Structure representing a loop. More...
#include <core/analysis/loop_nesting.h>
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 Block * | GetHeader () const |
Returns the loop header. | |
LoopIter | loop_begin () |
LoopIter | loop_end () |
llvm::iterator_range< LoopIter > | loops () |
BlockIter | block_begin () |
BlockIter | block_end () |
llvm::iterator_range< BlockIter > | blocks () |
Public Attributes | |
const Block * | header_ |
Header of the loop. | |
std::vector< Loop * > | loops_ |
Loops in the loop. | |
std::vector< const Block * > | blocks_ |
Nodes in the loop. | |
Friends | |
class | LoopNesting |
Structure representing a loop.