GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::jit_use Class Reference

#include "jit-ir.h"

Inheritance diagram for octave::jit_use:
Collaboration diagram for octave::jit_use:

Public Types

typedef jit_internal_list< jit_value, jit_usejit_ilist
 
typedef jit_internal_node< jit_value, jit_usePARENT_T
 

Public Member Functions

 jit_use (const jit_use &use)
 
 jit_use (void)
 
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=nullptr, 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 Member Functions

void remove (void)
 

Private Attributes

size_t m_index
 
jit_usem_next
 
jit_usem_prev
 
jit_instructionm_user
 
jit_valuem_value
 

Detailed Description

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

Member Typedef Documentation

◆ jit_ilist

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

◆ PARENT_T

Constructor & Destructor Documentation

◆ jit_use() [1/2]

octave::jit_use::jit_use ( void  )
inline

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

◆ jit_use() [2/2]

octave::jit_use::jit_use ( const jit_use use)
inline

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

Member Function Documentation

◆ index()

size_t octave::jit_use::index ( void  ) const
inline

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

Referenced by operator=(), and octave::jit_value::replace_with().

◆ next()

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

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

◆ operator=()

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

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

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

◆ prev()

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

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

◆ remove()

void octave::jit_internal_node< jit_value , jit_use >::remove ( void  )
inlineprivateinherited

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

◆ stash_value() [1/2]

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

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

◆ stash_value() [2/2]

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

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

◆ user()

jit_instruction* octave::jit_use::user ( void  ) const
inline

◆ user_parent()

jit_block * octave::jit_use::user_parent ( void  ) const

◆ user_parent_location()

std::list<jit_block *> octave::jit_use::user_parent_location ( void  ) const

◆ value()

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

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

Member Data Documentation

◆ m_index

size_t octave::jit_use::m_index
private

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

◆ m_next

jit_use * octave::jit_internal_node< jit_value , jit_use >::m_next
privateinherited

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

◆ m_prev

jit_use * octave::jit_internal_node< jit_value , jit_use >::m_prev
privateinherited

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

◆ m_user

jit_instruction* octave::jit_use::m_user
private

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

Referenced by user_parent().

◆ m_value

jit_value * octave::jit_internal_node< jit_value , jit_use >::m_value
privateinherited

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


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