GNU Octave
3.8.0
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 | |
jit_index_operation (void) | |
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 (OCT_MAKE_DECL_LIST(jit_type *, arg, 1)) const |
const jit_function & | overload (OCT_MAKE_DECL_LIST(jit_type *, arg, 2)) const |
const jit_function & | overload (OCT_MAKE_DECL_LIST(jit_type *, arg, 3)) const |
jit_type * | result (const signature_vec &types) const |
jit_type * | result (OCT_MAKE_DECL_LIST(jit_type *, arg, 1)) const |
jit_type * | result (OCT_MAKE_DECL_LIST(jit_type *, arg, 2)) const |
jit_type * | result (OCT_MAKE_DECL_LIST(jit_type *, arg, 3)) 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)=0 |
virtual jit_function * | generate (const signature_vec &types) const |
virtual jit_function * | generate_matrix (const signature_vec &types) const =0 |
Protected Attributes | |
llvm::ExecutionEngine * | engine |
llvm::Module * | module |
Definition at line 388 of file jit-typeinfo.h.
|
inherited |
Definition at line 330 of file jit-typeinfo.h.
|
inline |
Definition at line 392 of file jit-typeinfo.h.
|
inlineinherited |
Definition at line 334 of file jit-typeinfo.h.
References jit_function::arguments().
Referenced by jit_typeinfo::add_print(), jit_typeinfo::jit_typeinfo(), jit_typeinfo::register_generic(), and jit_typeinfo::register_intrinsic().
|
inherited |
Definition at line 816 of file jit-typeinfo.cc.
References Array< T >::dims(), jit_operation::overloads, Array< T >::resize(), and jit_operation::to_idx().
|
protected |
Definition at line 959 of file jit-typeinfo.cc.
References jit_function::argument(), and jit_typeinfo::get_scalar_llvm().
Referenced by jit_paren_subsref::generate_matrix(), and jit_paren_subsasgn::generate_matrix().
Implemented in jit_paren_subsasgn, and jit_paren_subsref.
|
protectedvirtual |
Reimplemented from jit_operation.
Definition at line 942 of file jit-typeinfo.cc.
References generate_matrix(), jit_typeinfo::get_matrix(), jit_typeinfo::get_scalar(), and scalar().
|
protectedpure virtual |
Implemented in jit_paren_subsasgn, and jit_paren_subsref.
Referenced by generate().
|
inline |
Definition at line 394 of file jit-typeinfo.h.
Referenced by jit_typeinfo::jit_typeinfo().
|
inlineinherited |
Definition at line 363 of file jit-typeinfo.h.
|
inherited |
Definition at line 847 of file jit-typeinfo.cc.
References Array< T >::dims(), jit_operation::do_generate(), jit_operation::overloads, jit_operation::to_idx(), and jit_function::valid().
Referenced by jit_typeinfo::do_end().
|
inlineinherited |
Definition at line 356 of file jit-typeinfo.h.
|
inlineinherited |
Definition at line 357 of file jit-typeinfo.h.
|
inlineinherited |
Definition at line 358 of file jit-typeinfo.h.
|
inlineinherited |
Definition at line 344 of file jit-typeinfo.h.
References jit_function::result().
Referenced by jit_call::infer().
|
inlineinherited |
Definition at line 356 of file jit-typeinfo.h.
|
inlineinherited |
Definition at line 357 of file jit-typeinfo.h.
|
inlineinherited |
Definition at line 358 of file jit-typeinfo.h.
|
inlineinherited |
Definition at line 365 of file jit-typeinfo.h.
Referenced by jit_typeinfo::jit_typeinfo().
|
protected |
Definition at line 414 of file jit-typeinfo.h.
Referenced by jit_paren_subsref::do_initialize(), and jit_paren_subsasgn::do_initialize().
|
protected |
Definition at line 413 of file jit-typeinfo.h.
Referenced by jit_paren_subsref::do_initialize(), jit_paren_subsasgn::do_initialize(), jit_paren_subsref::generate_matrix(), and jit_paren_subsasgn::generate_matrix().