llir-opt  0.0.1
Low-Level Post-Link Optimiser for OCaml and C
Public Member Functions | Public Attributes | List of all members
ReferenceGraph::Node Struct Reference

Information about this node. More...

#include <core/analysis/reference_graph.h>

Public Member Functions

void Merge (const Node &that)
 Merge another node into this one.
 
void AddRead (Object *object)
 Add an inaccurate read.
 
void AddWrite (Object *object)
 Add an inaccurate write.
 
void dump (llvm::raw_ostream &os) const
 Dump a representation of the node.
 

Public Attributes

bool HasIndirectCalls = false
 Flag to indicate whether any reachable node has indirect calls.
 
bool HasRaise = false
 Flag to indicate whether any reachable node raises.
 
bool HasBarrier = false
 Check whether there are barriers.
 
std::unordered_set< Object * > ReadRanges
 Set of referenced symbols.
 
std::unordered_map< Object *, OffsetSet > ReadOffsets
 Set of referenced offsets in objects.
 
std::unordered_set< Object * > WrittenRanges
 Set of written symbols.
 
std::unordered_map< Object *, OffsetSet > WrittenOffsets
 Set of written offsets in symbols.
 
std::unordered_set< Global * > Escapes
 Set of symbols which escape.
 
std::unordered_set< Func * > Called
 Set of called functions.
 
std::unordered_set< Block * > Blocks
 Set of addressed blocks.
 

Detailed Description

Information about this node.


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