GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Private Attributes | List of all members
jit_block_list Class Reference

#include "jit-ir.h"

Collaboration diagram for jit_block_list:
Collaboration graph
[legend]

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 * > mlist
 

Detailed Description

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

Member Typedef Documentation

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

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

Member Function Documentation

jit_block* jit_block_list::back ( void  ) const
inline

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

Referenced by jit_convert_llvm::convert_function().

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

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

References jit_block::back().

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

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

iterator jit_block_list::erase ( iterator  iter)
inline

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

Referenced by jit_infer::remove_dead().

jit_block* jit_block_list::front ( void  ) const
inline

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

Referenced by jit_convert_llvm::convert_loop().

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

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

References insert_before().

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

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

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

References insert_after(), and jit_block::location().

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

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

References mlist, and jit_block::stash_location().

Referenced by insert_after(), and insert_before().

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

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

References insert_before(), and jit_block::location().

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

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

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

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

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

References begin(), and end().

void jit_block_list::push_back ( jit_block b)

Member Data Documentation

std::list<jit_block *> jit_block_list::mlist
private

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

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


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