GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "jit-typeinfo.h"
Public Types | |
typedef std::vector< jit_type * > | signature_vec |
Public Member Functions | |
void | add_overload (const jit_function &func) |
void | add_overload (const jit_function &func, const signature_vec &args) |
void | initialize (llvm::Module *amodule, llvm::ExecutionEngine *aengine) |
const std::string & | name (void) const |
const jit_function & | overload (const signature_vec &types) const |
const jit_function & | overload (jit_type *arg0) const |
const jit_function & | overload (jit_type *arg0, jit_type *arg1) const |
const jit_function & | overload (jit_type *arg0, jit_type *arg1, jit_type *arg2) const |
jit_type * | result (const signature_vec &types) const |
jit_type * | result (jit_type *arg0) const |
jit_type * | result (jit_type *arg0, jit_type *arg1) const |
jit_type * | result (jit_type *arg0, jit_type *arg1, jit_type *arg2) const |
void | stash_name (const std::string &aname) |
Protected Member Functions | |
llvm::Value * | create_arg_array (llvm::IRBuilderD &builder, const jit_function &fn, size_t start_idx, size_t end_idx) const |
virtual void | do_initialize (void) |
virtual jit_function * | generate (const signature_vec &types) const |
jit_function * | generate_matrix (const signature_vec &types) const |
Protected Attributes | |
llvm::ExecutionEngine * | engine |
llvm::Module * | module |
Private Attributes | |
jit_function | paren_scalar |
Definition at line 422 of file jit-typeinfo.h.
|
inherited |
Definition at line 324 of file jit-typeinfo.h.
|
inlineinherited |
Definition at line 328 of file jit-typeinfo.h.
Referenced by jit_typeinfo::add_print(), jit_typeinfo::jit_typeinfo(), jit_typeinfo::register_generic(), and jit_typeinfo::register_intrinsic().
|
inherited |
Definition at line 786 of file jit-typeinfo.cc.
References Array< T >::dims(), dv, dim_vector::length(), jit_operation::overloads, dim_vector::resize(), Array< T >::resize(), and jit_operation::to_idx().
|
protectedinherited |
Definition at line 929 of file jit-typeinfo.cc.
References jit_function::argument(), array(), and jit_typeinfo::get_scalar_llvm().
|
protectedvirtual |
Implements jit_index_operation.
Definition at line 1014 of file jit-typeinfo.cc.
References jit_convention::external, jit_typeinfo::get_index(), jit_typeinfo::get_matrix(), jit_typeinfo::get_scalar(), jit_typeinfo::get_scalar_ptr(), matrix, and octave_jit_paren_scalar_subsasgn().
|
protectedvirtualinherited |
Reimplemented from jit_operation.
Definition at line 912 of file jit-typeinfo.cc.
References jit_typeinfo::get_matrix(), jit_typeinfo::get_scalar(), and scalar.
|
protectedvirtual |
Implements jit_index_operation.
Definition at line 989 of file jit-typeinfo.cc.
References jit_function::argument(), array(), builder(), jit_function::do_return(), jit_typeinfo::get_index(), jit_typeinfo::get_matrix(), jit_convention::internal, jit_function::mark_can_error(), matrix, jit_function::new_block(), and value().
|
inlineinherited |
Definition at line 388 of file jit-typeinfo.h.
References initialize().
Referenced by jit_typeinfo::jit_typeinfo().
|
inlineinherited |
Definition at line 357 of file jit-typeinfo.h.
|
inherited |
Definition at line 817 of file jit-typeinfo.cc.
References Array< T >::dims(), jit_operation::do_generate(), dv, dim_vector::length(), jit_operation::overloads, jit_operation::to_idx(), and jit_function::valid().
Referenced by jit_typeinfo::do_end().
|
inlineinherited |
Definition at line 350 of file jit-typeinfo.h.
|
inlineinherited |
Definition at line 351 of file jit-typeinfo.h.
|
inlineinherited |
Definition at line 352 of file jit-typeinfo.h.
|
inlineinherited |
Definition at line 338 of file jit-typeinfo.h.
Referenced by jit_call::infer().
Definition at line 350 of file jit-typeinfo.h.
Definition at line 351 of file jit-typeinfo.h.
|
inlineinherited |
Definition at line 352 of file jit-typeinfo.h.
|
inlineinherited |
Definition at line 359 of file jit-typeinfo.h.
Referenced by jit_typeinfo::jit_typeinfo().
|
protectedinherited |
Definition at line 408 of file jit-typeinfo.h.
|
protectedinherited |
Definition at line 407 of file jit-typeinfo.h.
|
private |
Definition at line 430 of file jit-typeinfo.h.