LLVM  10.0.0svn
Public Member Functions | Protected Member Functions | 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
 
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 . More...
 
bool isAbsolute () const
 

Protected Member Functions

 Addressable (JITTargetAddress Address, bool IsDefined)
 
 Addressable (JITTargetAddress Address)
 

Friends

class LinkGraph
 

Detailed Description

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

Definition at line 100 of file JITLink.h.

Constructor & Destructor Documentation

◆ Addressable() [1/4]

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

Definition at line 104 of file JITLink.h.

◆ Addressable() [2/4]

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

Definition at line 107 of file JITLink.h.

References 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

◆ 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 .

Definition at line 124 of file JITLink.h.

Referenced by llvm::jitlink::Symbol::getBlock(), llvm::jitlink::Symbol::isAbsolute(), llvm::jitlink::Symbol::isDefined(), llvm::jitlink::Symbol::isExternal(), llvm::jitlink::Symbol::setLinkage(), and llvm::jitlink::Symbol::setScope().

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ setAddress()

void llvm::jitlink::Addressable::setAddress ( JITTargetAddress  Address)
inline

Definition at line 120 of file JITLink.h.

Friends And Related Function Documentation

◆ LinkGraph

friend class LinkGraph
friend

Definition at line 101 of file JITLink.h.


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