GNU Octave
4.0.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 |
|
inline |
Definition at line 147 of file jit-ir.h.
Referenced by jit_convert_llvm::convert_function().
|
inline |
Definition at line 149 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 151 of file jit-ir.h.
References jit_block::back().
|
inline |
Definition at line 153 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 157 of file jit-ir.h.
Referenced by jit_infer::remove_dead().
|
inline |
Definition at line 159 of file jit-ir.h.
Referenced by jit_convert_llvm::convert_loop().
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().
void jit_block_list::label | ( | void | ) |
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 |
void jit_block_list::push_back | ( | jit_block * | b | ) |
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_do_until_command(), jit_convert::visit_if_command_list(), jit_convert::visit_simple_for_command(), jit_convert::visit_switch_command(), and jit_convert::visit_while_command().
|
private |
Definition at line 177 of file jit-ir.h.
Referenced by insert_before(), label(), and push_back().