#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 | |
size_t | m_depth |
int | m_id |
llvm::Type * | m_llvm_type |
std::string | m_name |
convert_fn | m_pack [jit_convention::length] |
llvm::Type * | m_packed_type [jit_convention::length] |
jit_type * | m_parent |
bool | m_pointer_arg [jit_convention::length] |
bool | m_skip_paren |
bool | m_sret [jit_convention::length] |
convert_fn | m_unpack [jit_convention::length] |
Definition at line 139 of file jit-typeinfo.h.
typedef llvm::Value*(* octave::jit_type::convert_fn) (llvm::IRBuilderD &, llvm::Value *) |
Definition at line 144 of file jit-typeinfo.h.
octave::jit_type::jit_type | ( | const std::string & | aname, |
jit_type * | aparent, | ||
llvm::Type * | allvm_type, | ||
bool | askip_paren, | ||
int | aid | ||
) |
Definition at line 511 of file jit-typeinfo.cc.
References i, octave::jit_convention::length, m_llvm_type, m_pack, m_packed_type, m_pointer_arg, m_sret, and m_unpack.
|
inline |
Definition at line 164 of file jit-typeinfo.h.
Referenced by octave::jit_type_join().
|
inline |
Definition at line 184 of file jit-typeinfo.h.
Referenced by octave::jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 176 of file jit-typeinfo.h.
Referenced by octave::jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 150 of file jit-typeinfo.h.
Referenced by octave::jit_typeinfo::add_binary_fcmp(), octave::jit_typeinfo::add_binary_icmp(), octave::jit_typeinfo::add_binary_op(), octave::jit_typeinfo::add_print(), and octave::jit_print().
|
inline |
Definition at line 190 of file jit-typeinfo.h.
Referenced by octave::jit_function::do_return().
|
inline |
Definition at line 201 of file jit-typeinfo.h.
Referenced by octave::jit_function::jit_function().
|
inline |
Definition at line 156 of file jit-typeinfo.h.
Referenced by octave::jit_type_join().
|
inline |
Definition at line 182 of file jit-typeinfo.h.
Referenced by octave::jit_function::jit_function().
|
inline |
Definition at line 192 of file jit-typeinfo.h.
Referenced by octave::jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 204 of file jit-typeinfo.h.
Referenced by octave::jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 197 of file jit-typeinfo.h.
Referenced by octave::jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 166 of file jit-typeinfo.h.
Referenced by octave::jit_magic_end::resolve_context().
|
inline |
Definition at line 174 of file jit-typeinfo.h.
|
inline |
Definition at line 159 of file jit-typeinfo.h.
Referenced by octave::jit_typeinfo::complex_new(), octave::jit_typeinfo::get_index_llvm(), octave::jit_typeinfo::get_scalar_llvm(), octave::jit_function_info::jit_function_info(), octave::jit_typeinfo::jit_typeinfo(), octave::jit_typeinfo::register_generic(), and octave::jit_typeinfo::unpack_complex().
llvm::Type * octave::jit_type::to_llvm_arg | ( | void | ) | const |
Definition at line 526 of file jit-typeinfo.cc.
References m_llvm_type.
|
inline |
Definition at line 153 of file jit-typeinfo.h.
Referenced by octave::jit_typeinfo::do_cast(), and octave::jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 195 of file jit-typeinfo.h.
|
private |
Definition at line 213 of file jit-typeinfo.h.
|
private |
Definition at line 212 of file jit-typeinfo.h.
|
private |
Definition at line 211 of file jit-typeinfo.h.
Referenced by jit_type(), and to_llvm_arg().
|
private |
Definition at line 209 of file jit-typeinfo.h.
|
private |
Definition at line 219 of file jit-typeinfo.h.
Referenced by jit_type().
|
private |
Definition at line 222 of file jit-typeinfo.h.
Referenced by jit_type().
|
private |
Definition at line 210 of file jit-typeinfo.h.
|
private |
Definition at line 217 of file jit-typeinfo.h.
Referenced by jit_type().
|
private |
Definition at line 214 of file jit-typeinfo.h.
|
private |
Definition at line 216 of file jit-typeinfo.h.
Referenced by jit_type().
|
private |
Definition at line 220 of file jit-typeinfo.h.
Referenced by jit_type().