#include "jit-ir.h"
Public Types | |
typedef PASS_T | pass_t |
Public Member Functions | |
jit_const (PASS_T avalue) | |
virtual void | accept (jit_ir_walker &walker) |
jit_use * | first_use (void) const |
jit_block * | first_use_block (void) |
bool | has_llvm (void) const |
bool | in_worklist (void) const |
jit_instruction * | last_use (void) const |
virtual bool | needs_release (void) const |
virtual std::ostream & | print (std::ostream &os, size_t indent=0) const |
std::string | print_string (void) |
virtual void | replace_with (jit_value *m_value) |
virtual std::ostream & | short_print (std::ostream &os) const |
void | stash_in_worklist (bool ain_worklist) |
void | stash_last_use (jit_instruction *alast_use) |
void | stash_llvm (llvm::Value *compiled) |
void | stash_type (jit_type *new_type) |
llvm::Value * | to_llvm (void) const |
jit_type * | type (void) const |
llvm::Type * | type_llvm (void) const |
const std::string & | type_name (void) const |
size_t | use_count (void) const |
PASS_T | value (void) const |
Protected Member Functions | |
std::ostream & | print_indent (std::ostream &os, size_t indent=0) const |
Protected Attributes | |
llvm::Value * | m_llvm_value |
Private Attributes | |
T | m_value |
typedef PASS_T octave::jit_const< T, EXTRACT_T, PASS_T, QUOTE >::pass_t |
|
inline |
|
virtual |
Implements octave::jit_value.
Definition at line 1477 of file jit-ir.h.
References octave::jit_ir_walker::visit().
|
inlineinherited |
Definition at line 140 of file jit-util.h.
Referenced by octave::jit_block::first_use(), octave::jit_value::first_use_block(), octave::jit_call::needs_release(), and octave::jit_value::replace_with().
|
inherited |
Definition at line 156 of file jit-ir.cc.
References octave::jit_internal_list< jit_value, jit_use >::first_use(), octave::jit_internal_node< LIST_T, NODE_T >::next(), octave::jit_use::user(), and octave::jit_use::user_parent().
Referenced by octave::jit_infer::release_temp().
|
inlineinherited |
|
inlineinherited |
Definition at line 192 of file jit-ir.h.
Referenced by octave::jit_infer::push_worklist().
|
inlineinherited |
|
inlinevirtualinherited |
Reimplemented in octave::jit_call.
Definition at line 237 of file jit-ir.h.
Referenced by octave::jit_infer::release_temp().
|
inlinevirtual |
Implements octave::jit_value.
Definition at line 536 of file jit-ir.h.
References octave::jit_print(), os, and type.
|
inlineprotectedinherited |
Definition at line 264 of file jit-ir.h.
Referenced by octave::jit_block::print(), octave::jit_error_check::print(), and octave::jit_magic_end::print().
|
inlineinherited |
|
virtualinherited |
Reimplemented in octave::jit_block.
Definition at line 171 of file jit-ir.cc.
References octave::jit_internal_list< jit_value, jit_use >::first_use(), octave::jit_use::index(), octave::jit_instruction::stash_argument(), octave::jit_use::user(), and value.
Referenced by octave::jit_phi::prune(), octave::jit_infer::release_dead_phi(), and octave::jit_block::replace_with().
|
inlinevirtualinherited |
Reimplemented in octave::jit_magic_end, octave::jit_assign_base, octave::jit_block, and octave::jit_instruction.
Definition at line 241 of file jit-ir.h.
References os.
Referenced by octave::jit_store_argument::print().
|
inlineinherited |
Definition at line 197 of file jit-ir.h.
Referenced by octave::jit_infer::push_worklist().
|
inlineinherited |
|
inlineinherited |
Definition at line 257 of file jit-ir.h.
References compiled.
Referenced by octave::jit_convert_llvm::convert(), and octave::jit_convert_llvm::visit().
|
inlineinherited |
Definition at line 221 of file jit-ir.h.
Referenced by octave::jit_phi::infer(), octave::jit_call::infer(), and octave::jit_magic_end::infer().
|
inlineinherited |
Definition at line 251 of file jit-ir.h.
Referenced by octave::jit_phi::to_llvm(), octave::jit_terminator::to_llvm(), and octave::jit_convert_llvm::visit().
|
inlineinherited |
Definition at line 209 of file jit-ir.h.
Referenced by octave::jit_typeinfo::do_end(), octave::jit_phi::infer(), octave::jit_call::infer(), octave::jit_magic_end::infer(), octave::jit_call::needs_release(), octave::jit_return::result_type(), octave::jit_instruction::short_print(), octave::jit_infer::simplify_phi(), and octave::jit_convert_llvm::visit().
|
inlineinherited |
Definition at line 211 of file jit-ir.h.
Referenced by octave::jit_convert_llvm::visit().
|
inlineinherited |
|
inlineinherited |
Definition at line 142 of file jit-util.h.
Referenced by octave::jit_call::infer(), and octave::jit_block::use_count().
|
inline |
Definition at line 534 of file jit-ir.h.
Referenced by octave::jit_typeinfo::do_end().
|
protectedinherited |
Definition at line 271 of file jit-ir.h.
Referenced by octave::jit_block::to_llvm().
|
private |