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

#include <core/object.h>

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

Public Member Functions

 ~Object ()
 Deletes the data segment.
 
void removeFromParent ()
 Removes the segment from the parent.
 
void eraseFromParent ()
 Removes an parent from the data section.
 
DatagetParent () const
 Returns a pointer to the parent section.
 
void remove (iterator it)
 Removes an atom.
 
void erase (iterator it)
 Erases an atom.
 
void AddAtom (Atom *atom, Atom *before=nullptr)
 Adds an atom to the atom.
 
bool empty () const
 
size_t size () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
reverse_iterator rend ()
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rend () const
 
void dump (llvm::raw_ostream &os=llvm::errs()) const
 Dump the object.
 
ValueLoad (uint64_t offset, Type type)
 Load a value from an offset.
 
bool Store (uint64_t offset, Ref< Value > value, Type type)
 Store a value to an offset.
 
void SetThreadLocal (bool flag=true)
 Set the thread local flag.
 
bool IsThreadLocal () const
 Check whether the object is thread-local.
 

Friends

struct llvm::ilist_traits< Object >
 
class SymbolTableListTraits< Atom >
 

Detailed Description

The data segment of a program.


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