GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "pt-jit.h"
Public Member Functions | |
jit_function_info (tree_jit &tjit, octave_user_function &fcn, const octave_value_list &ov_args) | |
bool | execute (const octave_value_list &ov_args, octave_value_list &retval) const |
bool | match (const octave_value_list &ov_args) const |
Private Types | |
typedef octave_base_value *(* | jited_function )(octave_base_value **) |
Private Attributes | |
std::vector< jit_type * > | argument_types |
jited_function | function |
|
private |
jit_function_info::jit_function_info | ( | tree_jit & | tjit, |
octave_user_function & | fcn, | ||
const octave_value_list & | ov_args | ||
) |
Definition at line 2016 of file pt-jit.cc.
References arg(), jit_function::argument(), argument_types, octave_user_function::body(), builder(), jit_function::call(), jit_typeinfo::cast(), jit_factory::constants(), jit_convert_llvm::convert_function(), jit_function::do_return(), jit_function::erase(), jit_typeinfo::get_any(), jit_typeinfo::get_any_ptr(), jit_convert::get_blocks(), tree_jit::get_engine(), jit_convert::get_factory(), tree_jit::get_module(), jit_convert::get_variable_map(), jit_infer::infer(), jit_convention::internal, jit_fail_exception::known(), jit_block_list::label(), octave_value_list::length(), octave_function::name(), jit_function::new_block(), tree_jit::optimize(), jit_block_list::print(), jit_function::result(), jit_type::to_llvm(), jit_function::to_llvm(), jit_typeinfo::type_of(), Vdebug_jit, tree_print_code::visit_octave_user_function_header(), tree_print_code::visit_octave_user_function_trailer(), and tree_print_code::visit_statement_list().
bool jit_function_info::execute | ( | const octave_value_list & | ov_args, |
octave_value_list & | retval | ||
) | const |
Definition at line 2132 of file pt-jit.cc.
References octave_base_value::grab(), octave_value_list::length(), and octave_value().
Referenced by tree_jit::do_execute().
bool jit_function_info::match | ( | const octave_value_list & | ov_args | ) | const |
Definition at line 2158 of file pt-jit.cc.
References argument_types, octave_value_list::length(), and jit_typeinfo::type_of().
Referenced by tree_jit::do_execute().
|
private |
Definition at line 406 of file pt-jit.h.
Referenced by jit_function_info(), and match().
|
private |