llir-opt
0.0.1
Low-Level Post-Link Optimiser for OCaml and C
|
Class to describe the origin of an object. More...
#include <passes/pre_eval/symbolic_heap.h>
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. | |
DataOrigin & | AsData () |
Return the data origin. | |
FrameOrigin & | AsFrame () |
Return the frame origin. | |
AllocOrigin & | AsAlloc () |
Return the alloc origin. | |
template<typename... Args> | |
Origin (Args... args) | |
Public Attributes | |
union SymbolicHeap::Origin::U | v_ |
Class to describe the origin of an object.