Joos1W Compiler Framework
All Classes Functions Typedefs Pages
tir::User Class Reference
Inheritance diagram for tir::User:

Public Member Functions

 User (Context &ctx, Type *type)
 
auto children () const
 
auto numChildren () const
 
ValuegetChild (unsigned idx) const
 
- Public Member Functions inherited from tir::Value
 Value (Context &ctx, Type *type)
 
tir::Contextctx ()
 
auto users ()
 
auto users () const
 
Typetype () const
 
void addUser (User *user)
 
void removeUser (User *user)
 
std::string_view name () const
 
auto nameOpt () const
 
void replaceAllUsesWith (Value *newValue)
 
void setName (std::string_view name)
 
std::ostream & printName (std::ostream &os) const
 
virtual std::ostream & print (std::ostream &) const =0
 
void dump () const
 

Protected Member Functions

void addChild (Value *operand)
 
void replaceChild (unsigned idx, Value *operand)
 
void destroy ()
 
bool isDestroyed () const
 

Friends

class Value
 

Detailed Description

Definition at line 61 of file Value.h.


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