GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "pt-jit.h"
Public Member Functions | |
~tree_jit (void) | |
llvm::ExecutionEngine * | get_engine (void) const |
llvm::Module * | get_module (void) const |
void | optimize (llvm::Function *fn) |
Static Public Member Functions | |
static bool | execute (tree_simple_for_command &cmd, const octave_value &bounds) |
static bool | execute (tree_while_command &cmd) |
static bool | execute (octave_user_function &fcn, const octave_value_list &args, octave_value_list &retval) |
Private Member Functions | |
tree_jit (void) | |
bool | do_execute (tree_simple_for_command &cmd, const octave_value &bounds) |
bool | do_execute (tree_while_command &cmd) |
bool | do_execute (octave_user_function &fcn, const octave_value_list &args, octave_value_list &retval) |
bool | enabled (void) |
bool | initialize (void) |
size_t | trip_count (const octave_value &bounds) const |
Static Private Member Functions | |
static tree_jit & | instance (void) |
Private Attributes | |
llvm::ExecutionEngine * | engine |
llvm::Module * | module |
llvm::PassManager * | module_pass_manager |
llvm::FunctionPassManager * | pass_manager |
|
private |
Definition at line 2099 of file pt-jit.cc.
References enabled(), jit_info::execute(), tree_simple_for_command::get_info(), initialize(), jit_info::match(), tree_simple_for_command::stash_info(), and trip_count().
Referenced by execute().
|
private |
Definition at line 2123 of file pt-jit.cc.
References enabled(), jit_info::execute(), tree_while_command::get_info(), initialize(), jit_info::match(), and tree_while_command::stash_info().
|
private |
Definition at line 2140 of file pt-jit.cc.
References enabled(), jit_function_info::execute(), octave_user_function::get_info(), initialize(), jit_function_info::match(), and octave_user_function::stash_info().
|
private |
Definition at line 2158 of file pt-jit.cc.
References bp_table::have_breakpoints(), Vdebug_on_error, Vdebug_on_interrupt, and Vjit_enable.
Referenced by do_execute().
|
static |
Definition at line 2027 of file pt-jit.cc.
References do_execute(), and instance().
Referenced by octave_user_function::do_multi_index_op(), tree_evaluator::visit_do_until_command(), tree_evaluator::visit_simple_for_command(), and tree_evaluator::visit_while_command().
|
static |
Definition at line 2033 of file pt-jit.cc.
References do_execute(), and instance().
|
static |
Definition at line 2039 of file pt-jit.cc.
References do_execute(), and instance().
|
inline |
Definition at line 360 of file pt-jit.h.
Referenced by jit_function_info::jit_function_info().
|
inline |
Definition at line 362 of file pt-jit.h.
Referenced by jit_info::compile(), and jit_function_info::jit_function_info().
|
private |
Definition at line 2053 of file pt-jit.cc.
References engine, jit_typeinfo::initialize(), module, module_pass_manager, and pass_manager.
Referenced by do_execute().
|
staticprivate |
void tree_jit::optimize | ( | llvm::Function * | fn | ) |
Definition at line 2182 of file pt-jit.cc.
References error(), fout(), module, module_pass_manager, pass_manager, and Vdebug_jit.
Referenced by jit_info::compile(), and jit_function_info::jit_function_info().
|
private |
Definition at line 2168 of file pt-jit.cc.
References octave_value::is_range(), Range::nelem(), and octave_value::range_value().
Referenced by do_execute().
|
private |
Definition at line 391 of file pt-jit.h.
Referenced by initialize().
|
private |
Definition at line 383 of file pt-jit.h.
Referenced by initialize(), and optimize().
|
private |
Definition at line 388 of file pt-jit.h.
Referenced by initialize(), and optimize().
|
private |
Definition at line 389 of file pt-jit.h.
Referenced by initialize(), and optimize().