LLVM 20.0.0git
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
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:
Inheritance graph
[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 111 of file JITLink.h.

Constructor & Destructor Documentation

◆ Addressable() [1/4]

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

Definition at line 115 of file JITLink.h.

References Address.

◆ Addressable() [2/4]

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

Definition at line 118 of file JITLink.h.

References Address, and assert().

◆ Addressable() [3/4]

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

◆ Addressable() [4/4]

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

Member Function Documentation

◆ getAddress()

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

◆ isAbsolute()

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

Definition at line 136 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 135 of file JITLink.h.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ setAddress()

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

Definition at line 131 of file JITLink.h.

References Address.

Friends And Related Function Documentation

◆ LinkGraph

friend class LinkGraph
friend

Definition at line 112 of file JITLink.h.

Member Data Documentation

◆ AlignmentOffset

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

◆ ContentMutable

uint64_t llvm::jitlink::Addressable::ContentMutable
protected

◆ P2Align

uint64_t llvm::jitlink::Addressable::P2Align
protected

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