GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "jit-typeinfo.h"
Classes | |
struct | signature_cmp |
Public Types | |
typedef std::vector< jit_type * > | signature_vec |
Public Member Functions | |
virtual | ~jit_operation (void) |
void | add_overload (const jit_function &func) |
void | add_overload (const jit_function &func, const signature_vec &args) |
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 | |
virtual jit_function * | generate (const signature_vec &types) const |
Private Types | |
typedef std::map< const signature_vec *, jit_function *, signature_cmp > | generated_map |
Private Member Functions | |
const jit_function & | do_generate (const signature_vec &types) const |
Array< octave_idx_type > | to_idx (const signature_vec &types) const |
Private Attributes | |
generated_map | generated |
std::string | mname |
std::vector< Array < jit_function > > | overloads |
Definition at line 319 of file jit-typeinfo.h.
|
private |
Definition at line 373 of file jit-typeinfo.h.
typedef std::vector<jit_type *> jit_operation::signature_vec |
Definition at line 324 of file jit-typeinfo.h.
|
virtual |
Definition at line 810 of file jit-typeinfo.cc.
References generated.
|
inline |
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().
void jit_operation::add_overload | ( | const jit_function & | func, |
const signature_vec & | args | ||
) |
Definition at line 821 of file jit-typeinfo.cc.
References Array< T >::dims(), overloads, Array< T >::resize(), and to_idx().
|
private |
Definition at line 899 of file jit-typeinfo.cc.
References find(), generate(), and generated.
Referenced by overload().
|
protectedvirtual |
Reimplemented in jit_index_operation.
Definition at line 917 of file jit-typeinfo.cc.
Referenced by do_generate().
|
inline |
Definition at line 357 of file jit-typeinfo.h.
const jit_function & jit_operation::overload | ( | const signature_vec & | types | ) | const |
Definition at line 852 of file jit-typeinfo.cc.
References Array< T >::dims(), do_generate(), overloads, to_idx(), and jit_function::valid().
Referenced by jit_typeinfo::do_end().
|
inline |
Definition at line 350 of file jit-typeinfo.h.
|
inline |
Definition at line 351 of file jit-typeinfo.h.
|
inline |
Definition at line 352 of file jit-typeinfo.h.
|
inline |
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.
Definition at line 352 of file jit-typeinfo.h.
|
inline |
Definition at line 359 of file jit-typeinfo.h.
Referenced by jit_typeinfo::jit_typeinfo().
|
private |
Definition at line 877 of file jit-typeinfo.cc.
References max().
Referenced by add_overload(), and overload().
|
mutableprivate |
Definition at line 375 of file jit-typeinfo.h.
Referenced by do_generate(), and ~jit_operation().
|
private |
Definition at line 379 of file jit-typeinfo.h.
|
private |
Definition at line 377 of file jit-typeinfo.h.
Referenced by add_overload(), and overload().