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

#include <analyzer-iterator.h>

Collaboration diagram for v8::internal::compiler::turboshaft::AnalyzerIterator:

Classes

struct  StackNode
 

Public Member Functions

 AnalyzerIterator (Zone *phase_zone, const Graph &graph, const LoopFinder &loop_finder)
 
bool HasNext () const
 
const BlockNext ()
 
void MarkLoopForRevisit ()
 
void MarkLoopForRevisitSkipHeader ()
 

Private Member Functions

void PopOutdated ()
 
bool IsOutdated (StackNode node) const
 

Private Attributes

const Graphgraph_
 
const LoopFinderloop_finder_
 
uint64_t current_generation_ = kGenerationForFirstVisit
 
StackNode curr_ = {nullptr, 0}
 
FixedBlockSidetable< uint64_t > visited_
 
ZoneVector< StackNodestack_
 

Static Private Attributes

static constexpr uint64_t kNotVisitedGeneration = 0
 
static constexpr uint64_t kGenerationForFirstVisit = 1
 

Detailed Description

Definition at line 76 of file analyzer-iterator.h.

Constructor & Destructor Documentation

◆ AnalyzerIterator()

v8::internal::compiler::turboshaft::AnalyzerIterator::AnalyzerIterator ( Zone * phase_zone,
const Graph & graph,
const LoopFinder & loop_finder )
inline

Definition at line 78 of file analyzer-iterator.h.

Member Function Documentation

◆ HasNext()

bool v8::internal::compiler::turboshaft::AnalyzerIterator::HasNext ( ) const
inline

Definition at line 87 of file analyzer-iterator.h.

Here is the caller graph for this function:

◆ IsOutdated()

bool v8::internal::compiler::turboshaft::AnalyzerIterator::IsOutdated ( StackNode node) const
inlineprivate

Definition at line 108 of file analyzer-iterator.h.

Here is the caller graph for this function:

◆ MarkLoopForRevisit()

void v8::internal::compiler::turboshaft::AnalyzerIterator::MarkLoopForRevisit ( )

Definition at line 60 of file analyzer-iterator.cc.

Here is the caller graph for this function:

◆ MarkLoopForRevisitSkipHeader()

void v8::internal::compiler::turboshaft::AnalyzerIterator::MarkLoopForRevisitSkipHeader ( )

Definition at line 69 of file analyzer-iterator.cc.

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

◆ Next()

const Block * v8::internal::compiler::turboshaft::AnalyzerIterator::Next ( )

Definition at line 19 of file analyzer-iterator.cc.

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

◆ PopOutdated()

void v8::internal::compiler::turboshaft::AnalyzerIterator::PopOutdated ( )
private

Definition at line 9 of file analyzer-iterator.cc.

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

Member Data Documentation

◆ curr_

StackNode v8::internal::compiler::turboshaft::AnalyzerIterator::curr_ = {nullptr, 0}
private

Definition at line 118 of file analyzer-iterator.h.

◆ current_generation_

uint64_t v8::internal::compiler::turboshaft::AnalyzerIterator::current_generation_ = kGenerationForFirstVisit
private

Definition at line 115 of file analyzer-iterator.h.

◆ graph_

const Graph& v8::internal::compiler::turboshaft::AnalyzerIterator::graph_
private

Definition at line 112 of file analyzer-iterator.h.

◆ kGenerationForFirstVisit

uint64_t v8::internal::compiler::turboshaft::AnalyzerIterator::kGenerationForFirstVisit = 1
staticconstexprprivate

Definition at line 105 of file analyzer-iterator.h.

◆ kNotVisitedGeneration

uint64_t v8::internal::compiler::turboshaft::AnalyzerIterator::kNotVisitedGeneration = 0
staticconstexprprivate

Definition at line 104 of file analyzer-iterator.h.

◆ loop_finder_

const LoopFinder& v8::internal::compiler::turboshaft::AnalyzerIterator::loop_finder_
private

Definition at line 113 of file analyzer-iterator.h.

◆ stack_

ZoneVector<StackNode> v8::internal::compiler::turboshaft::AnalyzerIterator::stack_
private

Definition at line 129 of file analyzer-iterator.h.

◆ visited_

FixedBlockSidetable<uint64_t> v8::internal::compiler::turboshaft::AnalyzerIterator::visited_
private

Definition at line 123 of file analyzer-iterator.h.


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