LLVM  10.0.0svn
Public Types | Public Member Functions | List of all members
llvm::jitlink::Edge Class Reference

Represents fixups and constraints in the LinkGraph. More...

#include "llvm/ExecutionEngine/JITLink/JITLink.h"

Public Types

enum  GenericEdgeKind : Kind { Invalid, FirstKeepAlive, KeepAlive = FirstKeepAlive, FirstRelocation }
 
using Kind = uint8_t
 
using OffsetT = uint32_t
 
using AddendT = int64_t
 

Public Member Functions

 Edge (Kind K, OffsetT Offset, Symbol &Target, AddendT Addend)
 
OffsetT getOffset () const
 
Kind getKind () const
 
void setKind (Kind K)
 
bool isRelocation () const
 
Kind getRelocation () const
 
bool isKeepAlive () const
 
SymbolgetTarget () const
 
void setTarget (Symbol &Target)
 
AddendT getAddend () const
 
void setAddend (AddendT Addend)
 

Detailed Description

Represents fixups and constraints in the LinkGraph.

Definition at line 57 of file JITLink.h.

Member Typedef Documentation

◆ AddendT

Definition at line 69 of file JITLink.h.

◆ Kind

using llvm::jitlink::Edge::Kind = uint8_t

Definition at line 59 of file JITLink.h.

◆ OffsetT

Definition at line 68 of file JITLink.h.

Member Enumeration Documentation

◆ GenericEdgeKind

Enumerator
Invalid 
FirstKeepAlive 
KeepAlive 
FirstRelocation 

Definition at line 61 of file JITLink.h.

Constructor & Destructor Documentation

◆ Edge()

llvm::jitlink::Edge::Edge ( Kind  K,
OffsetT  Offset,
Symbol Target,
AddendT  Addend 
)
inline

Definition at line 71 of file JITLink.h.

Member Function Documentation

◆ getAddend()

AddendT llvm::jitlink::Edge::getAddend ( ) const
inline

◆ getKind()

Kind llvm::jitlink::Edge::getKind ( ) const
inline

◆ getOffset()

OffsetT llvm::jitlink::Edge::getOffset ( ) const
inline

◆ getRelocation()

Kind llvm::jitlink::Edge::getRelocation ( ) const
inline

Definition at line 78 of file JITLink.h.

References assert().

◆ getTarget()

Symbol& llvm::jitlink::Edge::getTarget ( ) const
inline

◆ isKeepAlive()

bool llvm::jitlink::Edge::isKeepAlive ( ) const
inline

Definition at line 82 of file JITLink.h.

◆ isRelocation()

bool llvm::jitlink::Edge::isRelocation ( ) const
inline

Definition at line 77 of file JITLink.h.

◆ setAddend()

void llvm::jitlink::Edge::setAddend ( AddendT  Addend)
inline

Definition at line 86 of file JITLink.h.

References llvm::jitlink::getGenericEdgeKindName().

◆ setKind()

void llvm::jitlink::Edge::setKind ( Kind  K)
inline

Definition at line 76 of file JITLink.h.

◆ setTarget()

void llvm::jitlink::Edge::setTarget ( Symbol Target)
inline

Definition at line 84 of file JITLink.h.


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