LLVM 22.0.0git
llvm::jitlink::Addressable Class Reference

Base class for Addressable entities (externals, absolutes, blocks). More...

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

Inheritance diagram for llvm::jitlink::Addressable:
[legend]

Public Member Functions

 Addressable (const Addressable &)=delete
Addressableoperator= (const Addressable &)=default
 Addressable (Addressable &&)=delete
Addressableoperator= (Addressable &&)=default
orc::ExecutorAddr getAddress () const
void setAddress (orc::ExecutorAddr Address)
bool isDefined () const
 Returns true if this is a defined addressable, in which case you can downcast this to a Block.
bool isAbsolute () const

Protected Member Functions

 Addressable (orc::ExecutorAddr Address, bool IsDefined)
 Addressable (orc::ExecutorAddr Address)

Protected Attributes

uint64_t ContentMutable: 1
uint64_t P2Align: 5
uint64_t AlignmentOffset: 56

Friends

class LinkGraph

Detailed Description

Base class for Addressable entities (externals, absolutes, blocks).

Definition at line 112 of file JITLink.h.

Constructor & Destructor Documentation

◆ Addressable() [1/4]

llvm::jitlink::Addressable::Addressable ( orc::ExecutorAddr Address,
bool IsDefined )
inlineprotected

◆ Addressable() [2/4]

llvm::jitlink::Addressable::Addressable ( orc::ExecutorAddr Address)
inlineprotected

Definition at line 119 of file JITLink.h.

References assert().

◆ Addressable() [3/4]

llvm::jitlink::Addressable::Addressable ( const Addressable & )
delete

References Addressable().

◆ Addressable() [4/4]

llvm::jitlink::Addressable::Addressable ( Addressable && )
delete

References Addressable().

Member Function Documentation

◆ getAddress()

orc::ExecutorAddr llvm::jitlink::Addressable::getAddress ( ) const
inline

◆ isAbsolute()

bool llvm::jitlink::Addressable::isAbsolute ( ) const
inline

Definition at line 137 of file JITLink.h.

◆ isDefined()

bool llvm::jitlink::Addressable::isDefined ( ) const
inline

Returns true if this is a defined addressable, in which case you can downcast this to a Block.

Definition at line 136 of file JITLink.h.

◆ operator=() [1/2]

Addressable & llvm::jitlink::Addressable::operator= ( Addressable && )
default

References Addressable().

◆ operator=() [2/2]

Addressable & llvm::jitlink::Addressable::operator= ( const Addressable & )
default

References Addressable().

◆ setAddress()

void llvm::jitlink::Addressable::setAddress ( orc::ExecutorAddr Address)
inline

Definition at line 132 of file JITLink.h.

◆ LinkGraph

friend class LinkGraph
friend

Definition at line 113 of file JITLink.h.

References LinkGraph.

Referenced by LinkGraph.

Member Data Documentation

◆ AlignmentOffset

uint64_t llvm::jitlink::Addressable::AlignmentOffset
protected

◆ ContentMutable

◆ P2Align


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