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

#include <cfg.h>

Collaboration diagram for v8::internal::torque::ControlFlowGraph:

Public Member Functions

 ControlFlowGraph (Stack< const Type * > input_types)
 
BlockNewBlock (std::optional< Stack< const Type * > > input_types, bool is_deferred)
 
void PlaceBlock (Block *block)
 
template<typename UnaryPredicate >
void UnplaceBlockIf (UnaryPredicate &&predicate)
 
Blockstart () const
 
std::optional< Block * > end () const
 
void set_end (Block *end)
 
void SetReturnType (TypeVector t)
 
const std::vector< Block * > & blocks () const
 
size_t NumberOfBlockIds () const
 
std::size_t ParameterCount () const
 

Private Attributes

std::list< Blockblocks_
 
Blockstart_
 
std::vector< Block * > placed_blocks_
 
std::optional< Block * > end_
 
std::optional< TypeVectorreturn_type_
 
size_t next_block_id_ = 0
 

Detailed Description

Definition at line 95 of file cfg.h.

Constructor & Destructor Documentation

◆ ControlFlowGraph()

v8::internal::torque::ControlFlowGraph::ControlFlowGraph ( Stack< const Type * > input_types)
inlineexplicit

Definition at line 97 of file cfg.h.

Here is the call graph for this function:

Member Function Documentation

◆ blocks()

const std::vector< Block * > & v8::internal::torque::ControlFlowGraph::blocks ( ) const
inline

Definition at line 132 of file cfg.h.

Here is the caller graph for this function:

◆ end()

std::optional< Block * > v8::internal::torque::ControlFlowGraph::end ( ) const
inline

Definition at line 116 of file cfg.h.

Here is the caller graph for this function:

◆ NewBlock()

Block * v8::internal::torque::ControlFlowGraph::NewBlock ( std::optional< Stack< const Type * > > input_types,
bool is_deferred )
inline

Definition at line 102 of file cfg.h.

Here is the caller graph for this function:

◆ NumberOfBlockIds()

size_t v8::internal::torque::ControlFlowGraph::NumberOfBlockIds ( ) const
inline

Definition at line 133 of file cfg.h.

Here is the caller graph for this function:

◆ ParameterCount()

std::size_t v8::internal::torque::ControlFlowGraph::ParameterCount ( ) const
inline

Definition at line 134 of file cfg.h.

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

◆ PlaceBlock()

void v8::internal::torque::ControlFlowGraph::PlaceBlock ( Block * block)
inline

Definition at line 108 of file cfg.h.

Here is the caller graph for this function:

◆ set_end()

void v8::internal::torque::ControlFlowGraph::set_end ( Block * end)
inline

Definition at line 117 of file cfg.h.

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

◆ SetReturnType()

void v8::internal::torque::ControlFlowGraph::SetReturnType ( TypeVector t)
inline

Definition at line 118 of file cfg.h.

Here is the call graph for this function:

◆ start()

Block * v8::internal::torque::ControlFlowGraph::start ( ) const
inline

Definition at line 115 of file cfg.h.

Here is the caller graph for this function:

◆ UnplaceBlockIf()

template<typename UnaryPredicate >
void v8::internal::torque::ControlFlowGraph::UnplaceBlockIf ( UnaryPredicate && predicate)
inline

Definition at line 110 of file cfg.h.

Here is the caller graph for this function:

Member Data Documentation

◆ blocks_

std::list<Block> v8::internal::torque::ControlFlowGraph::blocks_
private

Definition at line 139 of file cfg.h.

◆ end_

std::optional<Block*> v8::internal::torque::ControlFlowGraph::end_
private

Definition at line 142 of file cfg.h.

◆ next_block_id_

size_t v8::internal::torque::ControlFlowGraph::next_block_id_ = 0
private

Definition at line 144 of file cfg.h.

◆ placed_blocks_

std::vector<Block*> v8::internal::torque::ControlFlowGraph::placed_blocks_
private

Definition at line 141 of file cfg.h.

◆ return_type_

std::optional<TypeVector> v8::internal::torque::ControlFlowGraph::return_type_
private

Definition at line 143 of file cfg.h.

◆ start_

Block* v8::internal::torque::ControlFlowGraph::start_
private

Definition at line 140 of file cfg.h.


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