LLVM  14.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]
Collaboration diagram for llvm::jitlink::Addressable:
Collaboration graph
[legend]

Public Member Functions

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

Protected Member Functions

 Addressable (JITTargetAddress Address, bool IsDefined)
 
 Addressable (JITTargetAddress 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 103 of file JITLink.h.

Constructor & Destructor Documentation

◆ Addressable() [1/4]

llvm::jitlink::Addressable::Addressable ( JITTargetAddress  Address,
bool  IsDefined 
)
inlineprotected

Definition at line 107 of file JITLink.h.

References llvm::Address.

◆ Addressable() [2/4]

llvm::jitlink::Addressable::Addressable ( JITTargetAddress  Address)
inlineprotected

Definition at line 110 of file JITLink.h.

References llvm::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()

JITTargetAddress llvm::jitlink::Addressable::getAddress ( ) const
inline

◆ isAbsolute()

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

Definition at line 128 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 127 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 ( JITTargetAddress  Address)
inline

Definition at line 123 of file JITLink.h.

References llvm::Address.

Friends And Related Function Documentation

◆ LinkGraph

friend class LinkGraph
friend

Definition at line 104 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: