LLVM  11.0.0git
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 102 of file JITLink.h.

Constructor & Destructor Documentation

◆ Addressable() [1/4]

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

Definition at line 106 of file JITLink.h.

◆ Addressable() [2/4]

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

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

Referenced by llvm::jitlink::Symbol::getBlock(), llvm::jitlink::Symbol::isAbsolute(), llvm::jitlink::Symbol::isDefined(), llvm::jitlink::Symbol::isExternal(), 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 122 of file JITLink.h.

Referenced by llvm::jitlink::LinkGraph::splitBlock().

Friends And Related Function Documentation

◆ LinkGraph

friend class LinkGraph
friend

Definition at line 103 of file JITLink.h.


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