GNU Octave  4.4.1
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 136 of file jit-ir.h.

Member Typedef Documentation

◆ const_iterator

◆ iterator

Definition at line 141 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 148 of file jit-ir.h.

◆ end() [1/2]

◆ end() [2/2]

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

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

◆ erase()

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

Definition at line 154 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 68 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 75 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 81 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 88 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

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

References os.

Referenced by octave::jit_info::compile(), and octave::jit_function_info::jit_function_info().

◆ print_dom()

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

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

References begin(), end(), and os.

◆ push_back()

Member Data Documentation

◆ m_list

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

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

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


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