v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::compiler::LoopTree Class Reference

#include <loop-analysis.h>

Inheritance diagram for v8::internal::compiler::LoopTree:
Collaboration diagram for v8::internal::compiler::LoopTree:

Classes

class  Loop
 

Public Member Functions

 LoopTree (size_t num_nodes, Zone *zone)
 
LoopContainingLoop (Node *node)
 
bool Contains (const Loop *loop, Node *node)
 
const ZoneVector< Loop * > & outer_loops () const
 
ZoneVector< const Loop * > inner_loops () const
 
int LoopNum (const Loop *loop) const
 
NodeRange HeaderNodes (const Loop *loop)
 
NodeHeaderNode (const Loop *loop)
 
NodeRange BodyNodes (const Loop *loop)
 
NodeRange ExitNodes (const Loop *loop)
 
NodeRange LoopNodes (const Loop *loop)
 
NodeGetLoopControl (const Loop *loop)
 
Zonezone () const
 
- Public Member Functions inherited from v8::internal::ZoneObject
void * operator new (size_t, Zone *)=delete
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)=delete
 

Private Member Functions

LoopNewLoop ()
 
void SetParent (Loop *parent, Loop *child)
 

Private Attributes

Zonezone_
 
ZoneVector< Loop * > outer_loops_
 
ZoneVector< Loopall_loops_
 
ZoneVector< int > node_to_loop_num_
 
ZoneVector< Node * > loop_nodes_
 

Friends

class LoopFinderImpl
 

Detailed Description

Definition at line 34 of file loop-analysis.h.

Constructor & Destructor Documentation

◆ LoopTree()

v8::internal::compiler::LoopTree::LoopTree ( size_t num_nodes,
Zone * zone )
inline

Definition at line 36 of file loop-analysis.h.

Member Function Documentation

◆ BodyNodes()

NodeRange v8::internal::compiler::LoopTree::BodyNodes ( const Loop * loop)
inline

Definition at line 121 of file loop-analysis.h.

Here is the caller graph for this function:

◆ ContainingLoop()

Loop * v8::internal::compiler::LoopTree::ContainingLoop ( Node * node)
inline

Definition at line 77 of file loop-analysis.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Contains()

bool v8::internal::compiler::LoopTree::Contains ( const Loop * loop,
Node * node )
inline

Definition at line 85 of file loop-analysis.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ExitNodes()

NodeRange v8::internal::compiler::LoopTree::ExitNodes ( const Loop * loop)
inline

Definition at line 127 of file loop-analysis.h.

Here is the caller graph for this function:

◆ GetLoopControl()

Node * v8::internal::compiler::LoopTree::GetLoopControl ( const Loop * loop)
inline

Definition at line 139 of file loop-analysis.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HeaderNode()

Node * v8::internal::compiler::LoopTree::HeaderNode ( const Loop * loop)

Definition at line 741 of file loop-analysis.cc.

Here is the call graph for this function:

◆ HeaderNodes()

NodeRange v8::internal::compiler::LoopTree::HeaderNodes ( const Loop * loop)
inline

Definition at line 112 of file loop-analysis.h.

Here is the caller graph for this function:

◆ inner_loops()

ZoneVector< const Loop * > v8::internal::compiler::LoopTree::inner_loops ( ) const
inline

Definition at line 96 of file loop-analysis.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoopNodes()

NodeRange v8::internal::compiler::LoopTree::LoopNodes ( const Loop * loop)
inline

Definition at line 133 of file loop-analysis.h.

Here is the caller graph for this function:

◆ LoopNum()

int v8::internal::compiler::LoopTree::LoopNum ( const Loop * loop) const
inline

Definition at line 107 of file loop-analysis.h.

Here is the caller graph for this function:

◆ NewLoop()

Loop * v8::internal::compiler::LoopTree::NewLoop ( )
inlineprivate

Definition at line 152 of file loop-analysis.h.

Here is the caller graph for this function:

◆ outer_loops()

const ZoneVector< Loop * > & v8::internal::compiler::LoopTree::outer_loops ( ) const
inline

Definition at line 93 of file loop-analysis.h.

Here is the caller graph for this function:

◆ SetParent()

void v8::internal::compiler::LoopTree::SetParent ( Loop * parent,
Loop * child )
inlineprivate

Definition at line 158 of file loop-analysis.h.

Here is the caller graph for this function:

◆ zone()

Zone * v8::internal::compiler::LoopTree::zone ( ) const
inline

Definition at line 147 of file loop-analysis.h.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ LoopFinderImpl

friend class LoopFinderImpl
friend

Definition at line 150 of file loop-analysis.h.

Member Data Documentation

◆ all_loops_

ZoneVector<Loop> v8::internal::compiler::LoopTree::all_loops_
private

Definition at line 170 of file loop-analysis.h.

◆ loop_nodes_

ZoneVector<Node*> v8::internal::compiler::LoopTree::loop_nodes_
private

Definition at line 172 of file loop-analysis.h.

◆ node_to_loop_num_

ZoneVector<int> v8::internal::compiler::LoopTree::node_to_loop_num_
private

Definition at line 171 of file loop-analysis.h.

◆ outer_loops_

ZoneVector<Loop*> v8::internal::compiler::LoopTree::outer_loops_
private

Definition at line 169 of file loop-analysis.h.

◆ zone_

Zone* v8::internal::compiler::LoopTree::zone_
private

Definition at line 168 of file loop-analysis.h.


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