webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | List of all members
JSC::BytecodeGraph< Block > Class Template Reference

#include <BytecodeGraph.h>

Public Types

typedef Block CodeBlock
 
typedef Block::Instruction Instruction
 
typedef Vector< std::unique_ptr< BytecodeBasicBlock > > BasicBlocksVector
 
typedef WTF::IndexedContainerIterator< BytecodeGraph< Block > > iterator
 
typedef Block CodeBlock
 
typedef Block::Instruction Instruction
 
typedef Vector< std::unique_ptr< BytecodeBasicBlock > > BasicBlocksVector
 
typedef WTF::IndexedContainerIterator< BytecodeGraph< Block > > iterator
 

Public Member Functions

 BytecodeGraph (Block *, typename Block::UnpackedInstructions &)
 
Block * codeBlock () const
 
Block::UnpackedInstructions & instructions ()
 
WTF::IteratorRange< BasicBlocksVector::reverse_iterator > basicBlocksInReverseOrder ()
 
BytecodeBasicBlockfindBasicBlockForBytecodeOffset (unsigned bytecodeOffset)
 
BytecodeBasicBlockfindBasicBlockWithLeaderOffset (unsigned leaderOffset)
 
unsigned size () const
 
BytecodeBasicBlockat (unsigned index) const
 
BytecodeBasicBlockoperator[] (unsigned index) const
 
iterator begin () const
 
iterator end () const
 
BytecodeBasicBlockfirst ()
 
BytecodeBasicBlocklast ()
 
 BytecodeGraph (Block *, typename Block::UnpackedInstructions &)
 
Block * codeBlock () const
 
Block::UnpackedInstructions & instructions ()
 
WTF::IteratorRange< BasicBlocksVector::reverse_iterator > basicBlocksInReverseOrder ()
 
BytecodeBasicBlockfindBasicBlockForBytecodeOffset (unsigned bytecodeOffset)
 
BytecodeBasicBlockfindBasicBlockWithLeaderOffset (unsigned leaderOffset)
 
unsigned size () const
 
BytecodeBasicBlockat (unsigned index) const
 
BytecodeBasicBlockoperator[] (unsigned index) const
 
iterator begin () const
 
iterator end () const
 
BytecodeBasicBlockfirst ()
 
BytecodeBasicBlocklast ()
 

Static Public Member Functions

static bool blockContainsBytecodeOffset (BytecodeBasicBlock *block, unsigned bytecodeOffset)
 
static bool blockContainsBytecodeOffset (BytecodeBasicBlock *block, unsigned bytecodeOffset)
 

Member Typedef Documentation

◆ BasicBlocksVector [1/2]

template<typename Block>
typedef Vector<std::unique_ptr<BytecodeBasicBlock> > JSC::BytecodeGraph< Block >::BasicBlocksVector

◆ BasicBlocksVector [2/2]

template<typename Block>
typedef Vector<std::unique_ptr<BytecodeBasicBlock> > JSC::BytecodeGraph< Block >::BasicBlocksVector

◆ CodeBlock [1/2]

template<typename Block>
typedef Block JSC::BytecodeGraph< Block >::CodeBlock

◆ CodeBlock [2/2]

template<typename Block>
typedef Block JSC::BytecodeGraph< Block >::CodeBlock

◆ Instruction [1/2]

template<typename Block>
typedef Block::Instruction JSC::BytecodeGraph< Block >::Instruction

◆ Instruction [2/2]

template<typename Block>
typedef Block::Instruction JSC::BytecodeGraph< Block >::Instruction

◆ iterator [1/2]

template<typename Block>
typedef WTF::IndexedContainerIterator<BytecodeGraph<Block> > JSC::BytecodeGraph< Block >::iterator

◆ iterator [2/2]

template<typename Block>
typedef WTF::IndexedContainerIterator<BytecodeGraph<Block> > JSC::BytecodeGraph< Block >::iterator

Constructor & Destructor Documentation

◆ BytecodeGraph() [1/2]

template<typename Block>
JSC::BytecodeGraph< Block >::BytecodeGraph ( Block *  codeBlock,
typename Block::UnpackedInstructions &  instructions 
)
inline

◆ BytecodeGraph() [2/2]

template<typename Block>
JSC::BytecodeGraph< Block >::BytecodeGraph ( Block *  ,
typename Block::UnpackedInstructions &   
)
inline

Member Function Documentation

◆ at() [1/2]

template<typename Block>
BytecodeBasicBlock* JSC::BytecodeGraph< Block >::at ( unsigned  index) const
inline

◆ at() [2/2]

template<typename Block>
BytecodeBasicBlock* JSC::BytecodeGraph< Block >::at ( unsigned  index) const
inline

◆ basicBlocksInReverseOrder() [1/2]

template<typename Block>
WTF::IteratorRange<BasicBlocksVector::reverse_iterator> JSC::BytecodeGraph< Block >::basicBlocksInReverseOrder ( )
inline

◆ basicBlocksInReverseOrder() [2/2]

template<typename Block>
WTF::IteratorRange<BasicBlocksVector::reverse_iterator> JSC::BytecodeGraph< Block >::basicBlocksInReverseOrder ( )
inline

◆ begin() [1/2]

template<typename Block>
iterator JSC::BytecodeGraph< Block >::begin ( ) const
inline

◆ begin() [2/2]

template<typename Block>
iterator JSC::BytecodeGraph< Block >::begin ( ) const
inline

◆ blockContainsBytecodeOffset() [1/2]

template<typename Block>
static bool JSC::BytecodeGraph< Block >::blockContainsBytecodeOffset ( BytecodeBasicBlock block,
unsigned  bytecodeOffset 
)
inlinestatic

◆ blockContainsBytecodeOffset() [2/2]

template<typename Block>
static bool JSC::BytecodeGraph< Block >::blockContainsBytecodeOffset ( BytecodeBasicBlock block,
unsigned  bytecodeOffset 
)
inlinestatic

◆ codeBlock() [1/2]

template<typename Block>
Block* JSC::BytecodeGraph< Block >::codeBlock ( ) const
inline

◆ codeBlock() [2/2]

template<typename Block>
Block* JSC::BytecodeGraph< Block >::codeBlock ( ) const
inline

◆ end() [1/2]

template<typename Block>
iterator JSC::BytecodeGraph< Block >::end ( ) const
inline

◆ end() [2/2]

template<typename Block>
iterator JSC::BytecodeGraph< Block >::end ( ) const
inline

◆ findBasicBlockForBytecodeOffset() [1/2]

template<typename Block>
BytecodeBasicBlock* JSC::BytecodeGraph< Block >::findBasicBlockForBytecodeOffset ( unsigned  bytecodeOffset)
inline

◆ findBasicBlockForBytecodeOffset() [2/2]

template<typename Block>
BytecodeBasicBlock* JSC::BytecodeGraph< Block >::findBasicBlockForBytecodeOffset ( unsigned  bytecodeOffset)
inline

◆ findBasicBlockWithLeaderOffset() [1/2]

template<typename Block>
BytecodeBasicBlock* JSC::BytecodeGraph< Block >::findBasicBlockWithLeaderOffset ( unsigned  leaderOffset)
inline

◆ findBasicBlockWithLeaderOffset() [2/2]

template<typename Block>
BytecodeBasicBlock* JSC::BytecodeGraph< Block >::findBasicBlockWithLeaderOffset ( unsigned  leaderOffset)
inline

◆ first() [1/2]

template<typename Block>
BytecodeBasicBlock* JSC::BytecodeGraph< Block >::first ( )
inline

◆ first() [2/2]

template<typename Block>
BytecodeBasicBlock* JSC::BytecodeGraph< Block >::first ( void  )
inline

◆ instructions() [1/2]

template<typename Block>
Block::UnpackedInstructions& JSC::BytecodeGraph< Block >::instructions ( )
inline

◆ instructions() [2/2]

template<typename Block>
Block::UnpackedInstructions& JSC::BytecodeGraph< Block >::instructions ( )
inline

◆ last() [1/2]

template<typename Block>
BytecodeBasicBlock* JSC::BytecodeGraph< Block >::last ( void  )
inline

◆ last() [2/2]

template<typename Block>
BytecodeBasicBlock* JSC::BytecodeGraph< Block >::last ( )
inline

◆ operator[]() [1/2]

template<typename Block>
BytecodeBasicBlock* JSC::BytecodeGraph< Block >::operator[] ( unsigned  index) const
inline

◆ operator[]() [2/2]

template<typename Block>
BytecodeBasicBlock* JSC::BytecodeGraph< Block >::operator[] ( unsigned  index) const
inline

◆ size() [1/2]

template<typename Block>
unsigned JSC::BytecodeGraph< Block >::size ( ) const
inline

◆ size() [2/2]

template<typename Block>
unsigned JSC::BytecodeGraph< Block >::size ( ) const
inline

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