GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::jit_block_list Class Reference

#include "jit-ir.h"

Collaboration diagram for octave::jit_block_list:

Public Types

typedef std::list< jit_block * >::const_iterator const_iterator
 
typedef std::list< jit_block * >::iterator iterator
 

Public Member Functions

jit_blockback (void) const
 
iterator begin (void)
 
const_iterator begin (void) const
 
iterator end (void)
 
const_iterator end (void) const
 
iterator erase (iterator iter)
 
jit_blockfront (void) const
 
void insert_after (iterator iter, jit_block *ablock)
 
void insert_after (jit_block *loc, jit_block *ablock)
 
void insert_before (iterator iter, jit_block *ablock)
 
void insert_before (jit_block *loc, jit_block *ablock)
 
void label (void)
 
std::ostream & print (std::ostream &os, const std::string &header) const
 
std::ostream & print_dom (std::ostream &os) const
 
void push_back (jit_block *b)
 

Private Attributes

std::list< jit_block * > m_list
 

Detailed Description

Definition at line 138 of file jit-ir.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 144 of file jit-ir.h.

◆ iterator

Definition at line 143 of file jit-ir.h.

Member Function Documentation

◆ back()

jit_block* octave::jit_block_list::back ( void  ) const
inline

◆ begin() [1/2]

◆ begin() [2/2]

const_iterator octave::jit_block_list::begin ( void  ) const
inline

Definition at line 150 of file jit-ir.h.

◆ end() [1/2]

◆ end() [2/2]

const_iterator octave::jit_block_list::end ( void  ) const
inline

Definition at line 154 of file jit-ir.h.

◆ erase()

iterator octave::jit_block_list::erase ( iterator  iter)
inline

Definition at line 156 of file jit-ir.h.

Referenced by octave::jit_infer::remove_dead().

◆ front()

jit_block* octave::jit_block_list::front ( void  ) const
inline

◆ insert_after() [1/2]

void octave::jit_block_list::insert_after ( iterator  iter,
jit_block ablock 
)

Definition at line 69 of file jit-ir.cc.

References insert_before().

Referenced by insert_after(), and octave::jit_block::maybe_split().

◆ insert_after() [2/2]

void octave::jit_block_list::insert_after ( jit_block loc,
jit_block ablock 
)

Definition at line 76 of file jit-ir.cc.

References insert_after(), and loc.

◆ insert_before() [1/2]

void octave::jit_block_list::insert_before ( iterator  iter,
jit_block ablock 
)

Definition at line 82 of file jit-ir.cc.

References m_list, and octave::jit_block::stash_location().

Referenced by insert_after(), and insert_before().

◆ insert_before() [2/2]

void octave::jit_block_list::insert_before ( jit_block loc,
jit_block ablock 
)

Definition at line 89 of file jit-ir.cc.

References insert_before(), and loc.

◆ label()

void octave::jit_block_list::label ( void  )

◆ print()

std::ostream & octave::jit_block_list::print ( std::ostream &  os,
const std::string &  header 
) const

◆ print_dom()

std::ostream & octave::jit_block_list::print_dom ( std::ostream &  os) const

Definition at line 112 of file jit-ir.cc.

References begin(), and end().

◆ push_back()

Member Data Documentation

◆ m_list

std::list<jit_block *> octave::jit_block_list::m_list
private

Definition at line 178 of file jit-ir.h.

Referenced by insert_before(), label(), and push_back().


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