GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Private Attributes | List of all members
jit_use Class Reference

#include "jit-ir.h"

Inheritance diagram for jit_use:
Inheritance graph
[legend]
Collaboration diagram for jit_use:
Collaboration graph
[legend]

Public Types

typedef jit_internal_list
< jit_value, jit_use
jit_ilist
 
typedef jit_internal_node
< jit_value, jit_use
PARENT_T
 

Public Member Functions

 jit_use (void)
 
 jit_use (const jit_use &use)
 
size_t index (void) const
 
jit_usenext (void) const
 
jit_useoperator= (const jit_use &use)
 
jit_useprev (void) const
 
void stash_value (jit_value *avalue)
 
void stash_value (jit_value *avalue, jit_instruction *auser=0, size_t aindex=-1)
 
jit_instructionuser (void) const
 
jit_blockuser_parent (void) const
 
std::list< jit_block * > user_parent_location (void) const
 
jit_valuevalue (void) const
 

Private Attributes

size_t mindex
 
jit_instructionmuser
 

Detailed Description

Definition at line 279 of file jit-ir.h.

Member Typedef Documentation

Definition at line 135 of file jit-util.h.

Definition at line 285 of file jit-ir.h.

Constructor & Destructor Documentation

jit_use::jit_use ( void  )
inline

Definition at line 287 of file jit-ir.h.

jit_use::jit_use ( const jit_use use)
inline

Definition at line 290 of file jit-ir.h.

Member Function Documentation

size_t jit_use::index ( void  ) const
inline

Definition at line 301 of file jit-ir.h.

References index(), user(), and jit_internal_node< LIST_T, NODE_T >::value().

Referenced by index(), and jit_value::replace_with().

jit_use * jit_internal_node< jit_value , jit_use >::next ( void  ) const
inlineinherited

Definition at line 166 of file jit-util.h.

jit_use& jit_use::operator= ( const jit_use use)
inline

Definition at line 295 of file jit-ir.h.

jit_use * jit_internal_node< jit_value , jit_use >::prev ( void  ) const
inlineinherited

Definition at line 168 of file jit-util.h.

void jit_internal_node< jit_value , jit_use >::stash_value ( jit_value avalue)
inlineinherited

Definition at line 143 of file jit-util.h.

void jit_use::stash_value ( jit_value avalue,
jit_instruction auser = 0,
size_t  aindex = -1 
)
inline

Definition at line 309 of file jit-ir.h.

jit_instruction* jit_use::user ( void  ) const
inline
jit_block * jit_use::user_parent ( void  ) const

Definition at line 143 of file jit-ir.cc.

References muser, and jit_instruction::parent().

Referenced by jit_value::first_use_block(), and jit_block::update_idom().

std::list<jit_block *> jit_use::user_parent_location ( void  ) const
jit_value * jit_internal_node< jit_value , jit_use >::value ( void  ) const
inlineinherited

Definition at line 141 of file jit-util.h.

Member Data Documentation

size_t jit_use::mindex
private

Definition at line 318 of file jit-ir.h.

jit_instruction* jit_use::muser
private

Definition at line 317 of file jit-ir.h.

Referenced by user_parent().


The documentation for this class was generated from the following files: