llir-opt  0.0.1
Low-Level Post-Link Optimiser for OCaml and C
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
SymbolicHeap::Origin Class Referencefinal

Class to describe the origin of an object. More...

#include <passes/pre_eval/symbolic_heap.h>

Collaboration diagram for SymbolicHeap::Origin:
Collaboration graph
[legend]

Classes

struct  AllocOrigin
 Heap object. More...
 
struct  DataOrigin
 Data object. More...
 
struct  FrameOrigin
 Frame object. More...
 
union  U
 ID of the object kind. More...
 

Public Types

enum  Kind { DATA, FRAME, ALLOC }
 Enumeration of object kinds.
 

Public Member Functions

Kind GetKind () const
 Return the kind of the object.
 
DataOriginAsData ()
 Return the data origin.
 
FrameOriginAsFrame ()
 Return the frame origin.
 
AllocOriginAsAlloc ()
 Return the alloc origin.
 
template<typename... Args>
 Origin (Args... args)
 

Public Attributes

union SymbolicHeap::Origin::U v_
 

Detailed Description

Class to describe the origin of an object.


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