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 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 132 of file jit-typeinfo.h.
typedef llvm::Value*(* jit_type::convert_fn)(llvm::IRBuilderD &, llvm::Value *) |
Definition at line 136 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 534 of file jit-typeinfo.cc.
References jit_convention::length, llvm_type, mpack, mpacked_type, mpointer_arg, msret, and munpack.
Definition at line 156 of file jit-typeinfo.h.
Referenced by jit_typeinfo::do_join().
|
inline |
Definition at line 176 of file jit-typeinfo.h.
Referenced by jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 168 of file jit-typeinfo.h.
Referenced by jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 142 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(), jit_print(), and jit_value::type_name().
|
inline |
Definition at line 182 of file jit-typeinfo.h.
Referenced by jit_function::do_return().
|
inline |
Definition at line 193 of file jit-typeinfo.h.
Referenced by jit_function::call(), and jit_function::jit_function().
Definition at line 148 of file jit-typeinfo.h.
References jit_instruction::mparent.
Referenced by jit_typeinfo::do_join().
|
inline |
Definition at line 174 of file jit-typeinfo.h.
Referenced by jit_function::jit_function().
|
inline |
Definition at line 184 of file jit-typeinfo.h.
Referenced by jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 196 of file jit-typeinfo.h.
References jit_value::ty.
Referenced by jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 189 of file jit-typeinfo.h.
Referenced by jit_typeinfo::jit_typeinfo().
Definition at line 158 of file jit-typeinfo.h.
Referenced by jit_magic_end::resolve_context().
|
inline |
Definition at line 166 of file jit-typeinfo.h.
|
inline |
Definition at line 151 of file jit-typeinfo.h.
Referenced by jit_typeinfo::add_builtin(), jit_instruction::argument_type_llvm(), jit_typeinfo::complex_new(), jit_convert_llvm::convert_loop(), jit_typeinfo::get_index_llvm(), jit_typeinfo::get_scalar_llvm(), jit_function_info::jit_function_info(), jit_typeinfo::jit_typeinfo(), jit_typeinfo::register_generic(), jit_store_argument::result_llvm(), jit_value::type_llvm(), and jit_typeinfo::unpack_complex().
llvm::Type * jit_type::to_llvm_arg | ( | void | ) | const |
Definition at line 549 of file jit-typeinfo.cc.
References llvm_type.
Definition at line 145 of file jit-typeinfo.h.
References jit_instruction::mid.
Referenced by jit_typeinfo::create_identity(), jit_typeinfo::do_cast(), and jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 187 of file jit-typeinfo.h.
Referenced by jit_function::call().
|
private |
Definition at line 201 of file jit-typeinfo.h.
Referenced by jit_type(), and to_llvm_arg().
|
private |
Definition at line 203 of file jit-typeinfo.h.
|
private |
Definition at line 202 of file jit-typeinfo.h.
|
private |
Definition at line 199 of file jit-typeinfo.h.
|
private |
Definition at line 209 of file jit-typeinfo.h.
Referenced by jit_type().
|
private |
Definition at line 212 of file jit-typeinfo.h.
Referenced by jit_type().
|
private |
Definition at line 200 of file jit-typeinfo.h.
|
private |
Definition at line 207 of file jit-typeinfo.h.
Referenced by jit_type().
|
private |
Definition at line 204 of file jit-typeinfo.h.
|
private |
Definition at line 206 of file jit-typeinfo.h.
Referenced by jit_type().
|
private |
Definition at line 210 of file jit-typeinfo.h.
Referenced by jit_type().