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 | |
~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 1915 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 1939 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 1956 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().
Definition at line 1974 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 1848 of file pt-jit.cc.
References do_execute(), and instance().
Referenced by octave_user_function::do_multi_index_op(), tree_evaluator::visit_simple_for_command(), and tree_evaluator::visit_while_command().
|
static |
Definition at line 1854 of file pt-jit.cc.
References do_execute(), and instance().
|
static |
Definition at line 1860 of file pt-jit.cc.
References do_execute(), and instance().
|
inline |
Definition at line 363 of file pt-jit.h.
Referenced by jit_function_info::jit_function_info().
|
inline |
Definition at line 365 of file pt-jit.h.
Referenced by jit_info::compile(), and jit_function_info::jit_function_info().
Definition at line 1874 of file pt-jit.cc.
References engine, module, module_pass_manager, and pass_manager.
Referenced by do_execute().
void tree_jit::optimize | ( | llvm::Function * | fn | ) |
Definition at line 1998 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 1984 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 389 of file pt-jit.h.
Referenced by initialize().
|
private |
Definition at line 386 of file pt-jit.h.
Referenced by initialize(), and optimize().
|
private |
Definition at line 387 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().