GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "jit-ir.h"
Public Member Functions | |
jit_argument (jit_type *atype, llvm::Value *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 *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_ty) |
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 |
Protected Member Functions | |
std::ostream & | print_indent (std::ostream &os, size_t indent=0) const |
Protected Attributes | |
llvm::Value * | llvm_value |
|
inline |
|
virtual |
|
inlineinherited |
Definition at line 120 of file jit-util.h.
Referenced by jit_value::first_use_block(), jit_call::needs_release(), jit_variable::print(), and jit_value::replace_with().
|
inherited |
Definition at line 153 of file jit-ir.cc.
References jit_internal_list< jit_value, jit_use >::first_use(), jit_internal_node< LIST_T, NODE_T >::next(), jit_use::user(), and jit_use::user_parent().
Referenced by jit_infer::release_temp().
|
inlineinherited |
Definition at line 245 of file jit-ir.h.
References jit_value::print().
|
inlineinherited |
Definition at line 191 of file jit-ir.h.
Referenced by jit_infer::push_worklist().
|
inlineinherited |
|
inlinevirtualinherited |
Reimplemented in jit_call.
Definition at line 236 of file jit-ir.h.
References jit_value::mlast_use.
Referenced by jit_infer::release_dead_phi(), and jit_infer::release_temp().
|
inlinevirtual |
Implements jit_value.
Definition at line 493 of file jit-ir.h.
References jit_print(), jit_value::print(), jit_value::print_indent(), jit_value::stash_llvm(), and jit_value::stash_type().
|
inlineprotectedinherited |
Definition at line 262 of file jit-ir.h.
References jit_value::llvm_value.
Referenced by jit_call::jit_call(), jit_store_argument::name(), print(), jit_block::print(), jit_error_check::print(), and jit_magic_end::print().
|
inlineinherited |
|
virtualinherited |
Reimplemented in jit_block.
Definition at line 168 of file jit-ir.cc.
References jit_internal_list< jit_value, jit_use >::first_use(), jit_use::index(), jit_instruction::stash_argument(), and jit_use::user().
Referenced by jit_phi::prune(), jit_infer::release_dead_phi(), and jit_block::replace_with().
|
inlinevirtualinherited |
Reimplemented in jit_magic_end, jit_assign_base, jit_block, and jit_instruction.
Definition at line 240 of file jit-ir.h.
Referenced by operator<<().
|
inlineinherited |
Definition at line 196 of file jit-ir.h.
References jit_value::min_worklist.
Referenced by jit_infer::infer(), and jit_infer::push_worklist().
|
inlineinherited |
|
inlineinherited |
Definition at line 256 of file jit-ir.h.
References jit_value::llvm_value.
Referenced by jit_convert_llvm::convert(), print(), and jit_convert_llvm::visit().
|
inlineinherited |
Definition at line 220 of file jit-ir.h.
Referenced by jit_phi::infer(), jit_call::infer(), jit_magic_end::infer(), print(), jit_const< T, EXTRACT_T, PASS_T, QUOTE >::print(), jit_assign::print(), and jit_extract_argument::print().
|
inlineinherited |
Definition at line 250 of file jit-ir.h.
References jit_value::llvm_value.
Referenced by jit_instruction::argument_type_llvm(), jit_phi::to_llvm(), jit_terminator::to_llvm(), and jit_convert_llvm::visit().
|
inlineinherited |
Definition at line 208 of file jit-ir.h.
Referenced by jit_typeinfo::do_end(), jit_phi::infer(), jit_call::infer(), jit_magic_end::infer(), jit_call::needs_release(), jit_instruction::print_argument(), jit_instruction::short_print(), jit_infer::simplify_phi(), jit_factory::track_value(), and jit_convert_llvm::visit().
|
inlineinherited |
Definition at line 210 of file jit-ir.h.
Referenced by jit_convert_llvm::visit().
|
inlineinherited |
Definition at line 215 of file jit-ir.h.
References jit_type::to_llvm(), and jit_value::ty.
|
inlineinherited |
Definition at line 122 of file jit-util.h.
Referenced by jit_call::infer().
|
protectedinherited |
Definition at line 269 of file jit-ir.h.
Referenced by jit_value::print_indent(), jit_value::stash_llvm(), jit_value::to_llvm(), and jit_block::to_llvm().