GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "pt-jit.h"
Public Types | |
typedef std::map< std::string, const octave_value * > | vmap |
Public Member Functions | |
jit_info (tree_jit &tjit, tree &tee) | |
jit_info (tree_jit &tjit, tree &tee, const octave_value &for_bounds) | |
~jit_info (void) | |
bool | execute (const vmap &extra_vars=vmap()) const |
bool | match (const vmap &extra_vars=vmap()) const |
Private Types | |
typedef void(* | jited_function )(octave_base_value **) |
typedef jit_convert::type_bound | type_bound |
typedef jit_convert::type_bound_vector | type_bound_vector |
Private Member Functions | |
void | compile (tree_jit &tjit, tree &tee, jit_type *for_bounds=0) |
octave_value | find (const vmap &extra_vars, const std::string &vname) const |
Private Attributes | |
std::vector< std::pair < std::string, bool > > | arguments |
type_bound_vector | bounds |
llvm::ExecutionEngine * | engine |
jited_function | function |
llvm::Function * | llvm_function |
|
private |
|
private |
|
private |
typedef std::map<std::string, const octave_value *> jit_info::vmap |
jit_info::jit_info | ( | tree_jit & | tjit, |
tree & | tee, | ||
const octave_value & | for_bounds | ||
) |
Definition at line 2181 of file pt-jit.cc.
References compile(), and jit_typeinfo::type_of().
jit_info::~jit_info | ( | void | ) |
Definition at line 2187 of file pt-jit.cc.
References llvm_function.
Definition at line 2248 of file pt-jit.cc.
References arguments, bounds, jit_factory::constants(), jit_convert_llvm::convert_loop(), engine, jit_convert_llvm::get_arguments(), jit_convert::get_blocks(), jit_convert::get_bounds(), jit_convert::get_factory(), tree_jit::get_module(), jit_convert::get_variable_map(), jit_infer::infer(), jit_fail_exception::known(), jit_block_list::label(), llvm_function, tree_jit::optimize(), jit_block_list::print(), tree::str_print_code(), and Vdebug_jit.
Referenced by jit_info().
Definition at line 2194 of file pt-jit.cc.
References arguments, symbol_table::assign(), find(), octave_base_value::grab(), and octave_value::internal_rep().
Referenced by tree_jit::do_execute().
|
private |
Definition at line 2308 of file pt-jit.cc.
References symbol_table::varval().
Definition at line 2228 of file pt-jit.cc.
References bounds, find(), and jit_typeinfo::type_of().
Referenced by tree_jit::do_execute().
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 437 of file pt-jit.h.
Referenced by compile(), and ~jit_info().