Joos1W Compiler Framework
All Classes Functions Typedefs Pages
tir::GlobalVariable Class Referencefinal
Inheritance diagram for tir::GlobalVariable:

Public Member Functions

std::ostream & print (std::ostream &os) const override
 
bool isExternalLinkage () const override
 
- Public Member Functions inherited from tir::User
 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
 
void dump () const
 

Friends

class CompilationUnit
 

Additional Inherited Members

- Static Public Member Functions inherited from tir::Constant
static ConstantIntCreateInt (Context &ctx, uint8_t bits, uint32_t value)
 
static ConstantIntCreateBool (Context &ctx, bool value)
 
static ConstantIntCreateInt32 (Context &ctx, uint32_t value)
 
static ConstantNullPointerCreateNullPointer (Context &ctx)
 
- Protected Member Functions inherited from tir::GlobalObject
 GlobalObject (Context &ctx, Type *type)
 
- Protected Member Functions inherited from tir::Constant
 Constant (Context &ctx, Type *type)
 
virtual bool isNullPointer () const
 
virtual bool isNumeric () const
 
virtual bool isBoolean () const
 
- Protected Member Functions inherited from tir::User
void addChild (Value *operand)
 
void replaceChild (unsigned idx, Value *operand)
 
void destroy ()
 
bool isDestroyed () const
 

Detailed Description

Definition at line 111 of file Constant.h.


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