GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "jit-ir.h"
Public Types | |
typedef std::list< jit_block * > ::const_iterator | const_iterator |
typedef std::list< jit_block * > ::iterator | iterator |
Public Member Functions | |
jit_block * | back (void) const |
iterator | begin (void) |
const_iterator | begin (void) const |
iterator | end (void) |
const_iterator | end (void) const |
iterator | erase (iterator iter) |
jit_block * | front (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 |
typedef std::list<jit_block *>::const_iterator jit_block_list::const_iterator |
typedef std::list<jit_block *>::iterator jit_block_list::iterator |
Definition at line 152 of file jit-ir.h.
References jit_block::back().
Referenced by jit_convert_llvm::convert_function(), and jit_infer::final_block().
Definition at line 154 of file jit-ir.h.
Referenced by jit_convert_llvm::convert(), operator<<(), jit_infer::place_releases(), print_dom(), jit_infer::remove_dead(), and jit_infer::simplify_phi().
|
inline |
Definition at line 158 of file jit-ir.h.
Referenced by jit_convert_llvm::convert(), operator<<(), jit_infer::place_releases(), print_dom(), jit_infer::remove_dead(), and jit_infer::simplify_phi().
|
inline |
Definition at line 162 of file jit-ir.h.
Referenced by jit_infer::remove_dead().
Definition at line 164 of file jit-ir.h.
References jit_block::front().
Referenced by jit_convert_llvm::convert_loop(), and jit_infer::entry_block().
Definition at line 65 of file jit-ir.cc.
References insert_before().
Referenced by insert_after(), and jit_block::maybe_split().
Definition at line 72 of file jit-ir.cc.
References insert_after(), and jit_block::location().
Definition at line 78 of file jit-ir.cc.
References mlist, and jit_block::stash_location().
Referenced by insert_after(), and insert_before().
Definition at line 85 of file jit-ir.cc.
References insert_before(), and jit_block::location().
Definition at line 91 of file jit-ir.cc.
References jit_block::label(), and mlist.
Referenced by jit_info::compile(), jit_infer::construct_ssa(), jit_infer::infer(), and jit_function_info::jit_function_info().
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 122 of file jit-ir.cc.
References mlist, and jit_block::stash_location().
Referenced by jit_convert::create_checked_impl(), jit_convert::initialize(), jit_convert::jit_convert(), jit_convert::visit_binary_expression(), jit_convert::visit_if_command_list(), jit_convert::visit_simple_for_command(), and jit_convert::visit_while_command().
|
private |
Definition at line 182 of file jit-ir.h.
Referenced by insert_before(), label(), and push_back().