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

#include <dead-code-elimination-reducer.h>

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

Public Member Functions

 DeadCodeAnalysis (Graph &graph, Zone *phase_zone)
 
template<bool trace_analysis>
std::pair< FixedOpIndexSidetable< OperationState::Liveness >, SparseOpIndexSideTable< BlockIndex > > Run ()
 
template<bool trace_analysis>
void ProcessBlock (const Block &block, uint32_t *unprocessed_count)
 
bool is_leaf_function () const
 

Private Attributes

Graphgraph_
 
FixedOpIndexSidetable< OperationState::Livenessliveness_
 
FixedBlockSidetable< ControlStateentry_control_state_
 
SparseOpIndexSideTable< BlockIndexrewritable_branch_targets_
 
bool is_leaf_function_ = true
 

Detailed Description

Definition at line 178 of file dead-code-elimination-reducer.h.

Constructor & Destructor Documentation

◆ DeadCodeAnalysis()

v8::internal::compiler::turboshaft::DeadCodeAnalysis::DeadCodeAnalysis ( Graph & graph,
Zone * phase_zone )
inlineexplicit

Definition at line 180 of file dead-code-elimination-reducer.h.

Member Function Documentation

◆ is_leaf_function()

bool v8::internal::compiler::turboshaft::DeadCodeAnalysis::is_leaf_function ( ) const
inline

Definition at line 404 of file dead-code-elimination-reducer.h.

Here is the caller graph for this function:

◆ ProcessBlock()

template<bool trace_analysis>
void v8::internal::compiler::turboshaft::DeadCodeAnalysis::ProcessBlock ( const Block & block,
uint32_t * unprocessed_count )
inline

Definition at line 228 of file dead-code-elimination-reducer.h.

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

◆ Run()

template<bool trace_analysis>
std::pair< FixedOpIndexSidetable< OperationState::Liveness >, SparseOpIndexSideTable< BlockIndex > > v8::internal::compiler::turboshaft::DeadCodeAnalysis::Run ( )
inline

Definition at line 191 of file dead-code-elimination-reducer.h.

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

Member Data Documentation

◆ entry_control_state_

FixedBlockSidetable<ControlState> v8::internal::compiler::turboshaft::DeadCodeAnalysis::entry_control_state_
private

Definition at line 409 of file dead-code-elimination-reducer.h.

◆ graph_

Graph& v8::internal::compiler::turboshaft::DeadCodeAnalysis::graph_
private

Definition at line 407 of file dead-code-elimination-reducer.h.

◆ is_leaf_function_

bool v8::internal::compiler::turboshaft::DeadCodeAnalysis::is_leaf_function_ = true
private

Definition at line 414 of file dead-code-elimination-reducer.h.

◆ liveness_

FixedOpIndexSidetable<OperationState::Liveness> v8::internal::compiler::turboshaft::DeadCodeAnalysis::liveness_
private

Definition at line 408 of file dead-code-elimination-reducer.h.

◆ rewritable_branch_targets_

SparseOpIndexSideTable<BlockIndex> v8::internal::compiler::turboshaft::DeadCodeAnalysis::rewritable_branch_targets_
private

Definition at line 410 of file dead-code-elimination-reducer.h.


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