#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 140 of file jit-typeinfo.h.
typedef llvm::Value*(* octave::jit_type::convert_fn) (llvm::IRBuilderD &, llvm::Value *) |
Definition at line 145 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 508 of file jit-typeinfo.cc.
References octave::jit_convention::length, m_llvm_type, m_pack, m_packed_type, m_pointer_arg, m_sret, and m_unpack.
|
inline |
Definition at line 165 of file jit-typeinfo.h.
Referenced by octave::jit_type_join().
|
inline |
Definition at line 185 of file jit-typeinfo.h.
Referenced by octave::jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 177 of file jit-typeinfo.h.
Referenced by octave::jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 151 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 191 of file jit-typeinfo.h.
Referenced by octave::jit_function::do_return().
|
inline |
Definition at line 202 of file jit-typeinfo.h.
Referenced by octave::jit_function::jit_function().
|
inline |
Definition at line 157 of file jit-typeinfo.h.
Referenced by octave::jit_type_join().
|
inline |
Definition at line 183 of file jit-typeinfo.h.
Referenced by octave::jit_function::jit_function().
|
inline |
Definition at line 193 of file jit-typeinfo.h.
Referenced by octave::jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 205 of file jit-typeinfo.h.
Referenced by octave::jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 198 of file jit-typeinfo.h.
Referenced by octave::jit_typeinfo::jit_typeinfo().
|
inline |
Definition at line 167 of file jit-typeinfo.h.
Referenced by octave::jit_magic_end::resolve_context().
|
inline |
Definition at line 175 of file jit-typeinfo.h.
|
inline |
Definition at line 160 of file jit-typeinfo.h.
Referenced by octave::jit_function_info::jit_function_info(), octave::jit_typeinfo::jit_typeinfo(), octave::jit_typeinfo::complex_new(), octave::jit_convert_llvm::convert_loop(), octave::jit_typeinfo::get_index_llvm(), octave::jit_typeinfo::get_scalar_llvm(), octave::jit_typeinfo::register_generic(), and octave::jit_typeinfo::unpack_complex().
llvm::Type * octave::jit_type::to_llvm_arg | ( | void | ) | const |
Definition at line 523 of file jit-typeinfo.cc.
References m_llvm_type.
|
inline |
Definition at line 154 of file jit-typeinfo.h.
Referenced by octave::jit_typeinfo::jit_typeinfo(), and octave::jit_typeinfo::do_cast().
|
inline |
Definition at line 196 of file jit-typeinfo.h.
|
private |
Definition at line 214 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.
Referenced by jit_type(), and to_llvm_arg().
|
private |
Definition at line 210 of file jit-typeinfo.h.
|
private |
Definition at line 220 of file jit-typeinfo.h.
Referenced by jit_type().
|
private |
Definition at line 223 of file jit-typeinfo.h.
Referenced by jit_type().
|
private |
Definition at line 211 of file jit-typeinfo.h.
|
private |
Definition at line 218 of file jit-typeinfo.h.
Referenced by jit_type().
|
private |
Definition at line 215 of file jit-typeinfo.h.
|
private |
Definition at line 217 of file jit-typeinfo.h.
Referenced by jit_type().
|
private |
Definition at line 221 of file jit-typeinfo.h.
Referenced by jit_type().