LLVM  10.0.0svn
Public Types | Public Member Functions | Friends | List of all members
llvm::jitlink::DefinedAtom Class Reference

Defined atom class. More...

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

Inheritance diagram for llvm::jitlink::DefinedAtom:
Inheritance graph
[legend]
Collaboration diagram for llvm::jitlink::DefinedAtom:
Collaboration graph
[legend]

Public Types

using edge_iterator = EdgeVector::iterator
 

Public Member Functions

SectiongetSection () const
 
uint64_t getSize () const
 
StringRef getContent () const
 
void setContent (StringRef Content)
 
bool isZeroFill () const
 
void setZeroFill (uint64_t Size)
 
uint64_t getZeroFillSize () const
 
uint32_t getAlignment () const
 
bool hasLayoutNext () const
 
void setLayoutNext (DefinedAtom &Next)
 
DefinedAtomgetLayoutNext ()
 
bool isCommon () const
 
void addEdge (Edge::Kind K, Edge::OffsetT Offset, Atom &Target, Edge::AddendT Addend)
 
iterator_range< edge_iteratoredges ()
 
size_t edges_size () const
 
bool edges_empty () const
 
unsigned getOrdinal () const
 

Friends

class AtomGraph
 

Additional Inherited Members

Detailed Description

Defined atom class.

Suitable for use by defined named and anonymous atoms.

Definition at line 342 of file JITLink.h.

Member Typedef Documentation

◆ edge_iterator

using llvm::jitlink::DefinedAtom::edge_iterator = EdgeVector::iterator

Definition at line 360 of file JITLink.h.

Member Function Documentation

◆ addEdge()

void llvm::jitlink::DefinedAtom::addEdge ( Edge::Kind  K,
Edge::OffsetT  Offset,
Atom Target,
Edge::AddendT  Addend 
)
inline

Definition at line 416 of file JITLink.h.

References assert().

◆ edges()

iterator_range<edge_iterator> llvm::jitlink::DefinedAtom::edges ( )
inline

Definition at line 423 of file JITLink.h.

References llvm::make_range().

Referenced by llvm::jitlink::prune().

◆ edges_empty()

bool llvm::jitlink::DefinedAtom::edges_empty ( ) const
inline

Definition at line 427 of file JITLink.h.

◆ edges_size()

size_t llvm::jitlink::DefinedAtom::edges_size ( ) const
inline

Definition at line 426 of file JITLink.h.

◆ getAlignment()

uint32_t llvm::jitlink::DefinedAtom::getAlignment ( ) const
inline

Definition at line 392 of file JITLink.h.

◆ getContent()

StringRef llvm::jitlink::DefinedAtom::getContent ( ) const
inline

Definition at line 366 of file JITLink.h.

References assert(), llvm::jitlink::Section::isZeroFill(), llvm::max(), and Size.

◆ getLayoutNext()

DefinedAtom& llvm::jitlink::DefinedAtom::getLayoutNext ( )
inline

Definition at line 400 of file JITLink.h.

References assert(), and E.

◆ getOrdinal()

unsigned llvm::jitlink::DefinedAtom::getOrdinal ( ) const
inline

Definition at line 429 of file JITLink.h.

References assert(), and Size.

◆ getSection()

Section& llvm::jitlink::DefinedAtom::getSection ( ) const
inline

Definition at line 362 of file JITLink.h.

Referenced by llvm::jitlink::AtomGraph::removeDefinedAtom().

◆ getSize()

uint64_t llvm::jitlink::DefinedAtom::getSize ( ) const
inline

Definition at line 364 of file JITLink.h.

References Size.

◆ getZeroFillSize()

uint64_t llvm::jitlink::DefinedAtom::getZeroFillSize ( ) const
inline

Definition at line 386 of file JITLink.h.

References assert(), llvm::jitlink::Section::isZeroFill(), and Size.

◆ hasLayoutNext()

bool llvm::jitlink::DefinedAtom::hasLayoutNext ( ) const
inline

Definition at line 394 of file JITLink.h.

◆ isCommon()

bool llvm::jitlink::DefinedAtom::isCommon ( ) const
inline

Definition at line 414 of file JITLink.h.

◆ isZeroFill()

bool llvm::jitlink::DefinedAtom::isZeroFill ( ) const
inline

Definition at line 378 of file JITLink.h.

References llvm::jitlink::Section::isZeroFill().

◆ setContent()

void llvm::jitlink::DefinedAtom::setContent ( StringRef  Content)
inline

◆ setLayoutNext()

void llvm::jitlink::DefinedAtom::setLayoutNext ( DefinedAtom Next)
inline

Definition at line 395 of file JITLink.h.

References assert().

◆ setZeroFill()

void llvm::jitlink::DefinedAtom::setZeroFill ( uint64_t  Size)
inline

Definition at line 380 of file JITLink.h.

References assert(), llvm::jitlink::Section::isZeroFill(), and Size.

Friends And Related Function Documentation

◆ AtomGraph

friend class AtomGraph
friend

Definition at line 343 of file JITLink.h.


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