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 llvm::Value *(* | convert_fn )(llvm::IRBuilderD &, llvm::Value *) |
Public Member Functions | |
jit_type (const std::string &aname, jit_type *aparent, llvm::Type *allvm_type, bool askip_paren, int aid) | |
size_t | depth (void) const |
void | mark_pointer_arg (jit_convention::type cc) |
void | mark_sret (jit_convention::type cc) |
const std::string & | name (void) const |
convert_fn | pack (jit_convention::type cc) |
llvm::Type * | packed_type (jit_convention::type cc) |
jit_type * | parent (void) const |
bool | pointer_arg (jit_convention::type cc) const |
void | set_pack (jit_convention::type cc, convert_fn fn) |
void | set_packed_type (jit_convention::type cc, llvm::Type *ty) |
void | set_unpack (jit_convention::type cc, convert_fn fn) |
bool | skip_paren (void) const |
bool | sret (jit_convention::type cc) const |
llvm::Type * | to_llvm (void) const |
llvm::Type * | to_llvm_arg (void) const |
int | type_id (void) const |
convert_fn | unpack (jit_convention::type cc) |
Private Attributes | |
llvm::Type * | llvm_type |
size_t | mdepth |
int | mid |
std::string | mname |
convert_fn | mpack [jit_convention::length] |
llvm::Type * | mpacked_type [jit_convention::length] |
jit_type * | mparent |
bool | mpointer_arg [jit_convention::length] |
bool | mskip_paren |
bool | msret [jit_convention::length] |
convert_fn | munpack [jit_convention::length] |
Definition at line 133 of file jit-typeinfo.h.
typedef llvm::Value*(* jit_type::convert_fn)(llvm::IRBuilderD &, llvm::Value *) |
Definition at line 137 of file jit-typeinfo.h.
jit_type::jit_type | ( | const std::string & | aname, |
jit_type * | aparent, | ||
llvm::Type * | allvm_type, | ||
bool | askip_paren, | ||
int | aid | ||
) |
Definition at line 505 of file jit-typeinfo.cc.
References jit_convention::length, llvm_type, mpack, mpacked_type, mpointer_arg, msret, and munpack.
|
inline |
Definition at line 157 of file jit-typeinfo.h.
|
inline |
Definition at line 177 of file jit-typeinfo.h.
Referenced by jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 169 of file jit-typeinfo.h.
Referenced by jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 143 of file jit-typeinfo.h.
Referenced by jit_typeinfo::add_binary_fcmp(), jit_typeinfo::add_binary_icmp(), jit_typeinfo::add_binary_op(), jit_typeinfo::add_print(), jit_typeinfo::create_identity(), and jit_print().
|
inline |
Definition at line 183 of file jit-typeinfo.h.
Referenced by jit_function::do_return().
|
inline |
Definition at line 194 of file jit-typeinfo.h.
Referenced by jit_function::call(), and jit_function::jit_function().
|
inline |
Definition at line 149 of file jit-typeinfo.h.
|
inline |
Definition at line 175 of file jit-typeinfo.h.
Referenced by jit_function::jit_function().
|
inline |
Definition at line 185 of file jit-typeinfo.h.
Referenced by jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 197 of file jit-typeinfo.h.
Referenced by jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 190 of file jit-typeinfo.h.
Referenced by jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 159 of file jit-typeinfo.h.
Referenced by jit_magic_end::resolve_context().
|
inline |
Definition at line 167 of file jit-typeinfo.h.
|
inline |
Definition at line 152 of file jit-typeinfo.h.
Referenced by jit_typeinfo::add_builtin(), jit_typeinfo::complex_new(), jit_convert_llvm::convert_loop(), jit_typeinfo::get_range(), jit_function_info::jit_function_info(), jit_typeinfo::jit_typeinfo(), jit_typeinfo::register_generic(), jit_value::type_name(), jit_typeinfo::type_of(), and jit_typeinfo::unpack_complex().
llvm::Type * jit_type::to_llvm_arg | ( | void | ) | const |
Definition at line 520 of file jit-typeinfo.cc.
References llvm_type.
|
inline |
Definition at line 146 of file jit-typeinfo.h.
Referenced by jit_typeinfo::create_identity(), and jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 188 of file jit-typeinfo.h.
Referenced by jit_function::call().
|
private |
Definition at line 202 of file jit-typeinfo.h.
Referenced by jit_type(), and to_llvm_arg().
|
private |
Definition at line 204 of file jit-typeinfo.h.
|
private |
Definition at line 203 of file jit-typeinfo.h.
|
private |
Definition at line 200 of file jit-typeinfo.h.
|
private |
Definition at line 210 of file jit-typeinfo.h.
Referenced by jit_type().
|
private |
Definition at line 213 of file jit-typeinfo.h.
Referenced by jit_type().
|
private |
Definition at line 201 of file jit-typeinfo.h.
|
private |
Definition at line 208 of file jit-typeinfo.h.
Referenced by jit_type().
|
private |
Definition at line 205 of file jit-typeinfo.h.
|
private |
Definition at line 207 of file jit-typeinfo.h.
Referenced by jit_type().
|
private |
Definition at line 211 of file jit-typeinfo.h.
Referenced by jit_type().