llir-opt  0.0.1
Low-Level Post-Link Optimiser for OCaml and C
Public Member Functions | Friends | List of all members
Use Class Referencefinal

#include <core/use.h>

Public Member Functions

 Use ()
 Creates an empty use.
 
 Use (Ref< Value > val, User *user)
 Creates a new use in an object for a value.
 
 ~Use ()
 Destroys a use.
 
 Use (const Use &)=delete
 Do not allow copy constructors.
 
 Use (Use &&)=delete
 Do not allow move constructors.
 
Useoperator= (Ref< Value > val)
 Assign a new value.
 
Useoperator= (const Use &)=delete
 Do not allow assignment.
 
Useoperator= (Use &&)=delete
 Do not allow move assignment.
 
UsergetUser () const
 Returns the user attached to this use.
 
UsegetNext () const
 Returns the next use.
 
Ref< Valueget ()
 
ConstRef< Valueget () const
 
 operator Ref< Value > & ()
 
 operator ConstRef< Value > () const
 
Ref< Valueoperator* ()
 
ConstRef< Valueoperator* () const
 
Ref< Valueoperator-> ()
 
ConstRef< Valueoperator-> () const
 
 operator bool () const
 

Friends

class Value
 
class User
 

Detailed Description

Use site of a value.


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