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

#include <pretenuring-propagation-reducer.h>

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

Public Member Functions

 PretenuringPropagationAnalyzer (Zone *phase_zone, Graph &mutable_input_graph)
 
void Run ()
 

Private Member Functions

void ProcessStore (const StoreOp &store)
 
void ProcessPhi (const PhiOp &phi)
 
void ProcessAllocate (const AllocateOp &allocate)
 
bool PushContainedValues (OpIndex base)
 
void OldifySubgraph (OpIndex old_alloc)
 
void BuildStoreInputGraph ()
 
void PropagateAllocationTypes ()
 
ZoneVector< OpIndex > * FindOrCreate (OpIndex idx)
 
ZoneVector< OpIndex > * Create (OpIndex idx)
 
ZoneVector< OpIndex > * TryFind (OpIndex idx)
 

Private Attributes

Zonezone_
 
Graphinput_graph_
 
ZoneVector< OpIndexold_allocs_
 
ZoneAbslFlatHashMap< OpIndex, ZoneVector< OpIndex > * > store_graph_
 
ZoneAbslFlatHashSet< OpIndexold_phis_
 
ZoneVector< OpIndexqueue_
 

Detailed Description

Definition at line 151 of file pretenuring-propagation-reducer.h.

Constructor & Destructor Documentation

◆ PretenuringPropagationAnalyzer()

v8::internal::compiler::turboshaft::PretenuringPropagationAnalyzer::PretenuringPropagationAnalyzer ( Zone * phase_zone,
Graph & mutable_input_graph )
inline

Definition at line 153 of file pretenuring-propagation-reducer.h.

Member Function Documentation

◆ BuildStoreInputGraph()

void v8::internal::compiler::turboshaft::PretenuringPropagationAnalyzer::BuildStoreInputGraph ( )
private

Definition at line 123 of file pretenuring-propagation-reducer.cc.

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

◆ Create()

ZoneVector< OpIndex > * v8::internal::compiler::turboshaft::PretenuringPropagationAnalyzer::Create ( OpIndex idx)
inlineprivate

Definition at line 180 of file pretenuring-propagation-reducer.h.

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

◆ FindOrCreate()

ZoneVector< OpIndex > * v8::internal::compiler::turboshaft::PretenuringPropagationAnalyzer::FindOrCreate ( OpIndex idx)
inlineprivate

Definition at line 174 of file pretenuring-propagation-reducer.h.

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

◆ OldifySubgraph()

void v8::internal::compiler::turboshaft::PretenuringPropagationAnalyzer::OldifySubgraph ( OpIndex old_alloc)
private

Definition at line 96 of file pretenuring-propagation-reducer.cc.

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

◆ ProcessAllocate()

void v8::internal::compiler::turboshaft::PretenuringPropagationAnalyzer::ProcessAllocate ( const AllocateOp & allocate)
private

Definition at line 72 of file pretenuring-propagation-reducer.cc.

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

◆ ProcessPhi()

void v8::internal::compiler::turboshaft::PretenuringPropagationAnalyzer::ProcessPhi ( const PhiOp & phi)
private

Definition at line 44 of file pretenuring-propagation-reducer.cc.

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

◆ ProcessStore()

void v8::internal::compiler::turboshaft::PretenuringPropagationAnalyzer::ProcessStore ( const StoreOp & store)
private

Definition at line 17 of file pretenuring-propagation-reducer.cc.

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

◆ PropagateAllocationTypes()

void v8::internal::compiler::turboshaft::PretenuringPropagationAnalyzer::PropagateAllocationTypes ( )
private

Definition at line 117 of file pretenuring-propagation-reducer.cc.

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

◆ PushContainedValues()

bool v8::internal::compiler::turboshaft::PretenuringPropagationAnalyzer::PushContainedValues ( OpIndex base)
private

Definition at line 82 of file pretenuring-propagation-reducer.cc.

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

◆ Run()

void v8::internal::compiler::turboshaft::PretenuringPropagationAnalyzer::Run ( )

Definition at line 144 of file pretenuring-propagation-reducer.cc.

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

◆ TryFind()

ZoneVector< OpIndex > * v8::internal::compiler::turboshaft::PretenuringPropagationAnalyzer::TryFind ( OpIndex idx)
inlineprivate

Definition at line 187 of file pretenuring-propagation-reducer.h.

Here is the caller graph for this function:

Member Data Documentation

◆ input_graph_

Graph& v8::internal::compiler::turboshaft::PretenuringPropagationAnalyzer::input_graph_
private

Definition at line 194 of file pretenuring-propagation-reducer.h.

◆ old_allocs_

ZoneVector<OpIndex> v8::internal::compiler::turboshaft::PretenuringPropagationAnalyzer::old_allocs_
private

Definition at line 195 of file pretenuring-propagation-reducer.h.

◆ old_phis_

ZoneAbslFlatHashSet<OpIndex> v8::internal::compiler::turboshaft::PretenuringPropagationAnalyzer::old_phis_
private

Definition at line 208 of file pretenuring-propagation-reducer.h.

◆ queue_

ZoneVector<OpIndex> v8::internal::compiler::turboshaft::PretenuringPropagationAnalyzer::queue_
private

Definition at line 213 of file pretenuring-propagation-reducer.h.

◆ store_graph_

ZoneAbslFlatHashMap<OpIndex, ZoneVector<OpIndex>*> v8::internal::compiler::turboshaft::PretenuringPropagationAnalyzer::store_graph_
private

Definition at line 202 of file pretenuring-propagation-reducer.h.

◆ zone_

Zone* v8::internal::compiler::turboshaft::PretenuringPropagationAnalyzer::zone_
private

Definition at line 193 of file pretenuring-propagation-reducer.h.


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