LLVM  5.0.0
Public Types | Public Member Functions | List of all members
llvm::MCLOHDirective Class Reference

Store Linker Optimization Hint information (LOH). More...

#include "llvm/MC/MCLinkerOptimizationHint.h"

Public Types

using LOHArgs = SmallVectorImpl< MCSymbol * >
 

Public Member Functions

 MCLOHDirective (MCLOHType Kind, const LOHArgs &Args)
 
MCLOHType getKind () const
 
const LOHArgs & getArgs () const
 
void emit (MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const
 Emit this directive as: <kind, numArgs, addr1, ..., addrN> More...
 
uint64_t getEmitSize (const MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const
 Get the size in bytes of this directive if emitted in ObjWriter with the given Layout. More...
 

Detailed Description

Store Linker Optimization Hint information (LOH).

Definition at line 101 of file MCLinkerOptimizationHint.h.

Member Typedef Documentation

Definition at line 114 of file MCLinkerOptimizationHint.h.

Constructor & Destructor Documentation

llvm::MCLOHDirective::MCLOHDirective ( MCLOHType  Kind,
const LOHArgs &  Args 
)
inline

Definition at line 116 of file MCLinkerOptimizationHint.h.

References assert(), and llvm::isValidMCLOHType().

Member Function Documentation

void MCLOHDirective::emit ( MachObjectWriter &  ObjWriter,
const MCAsmLayout &  Layout 
) const

Emit this directive as: <kind, numArgs, addr1, ..., addrN>

Definition at line 37 of file MCLinkerOptimizationHint.cpp.

References llvm::MCObjectWriter::getStream().

const LOHArgs& llvm::MCLOHDirective::getArgs ( ) const
inline

Definition at line 123 of file MCLinkerOptimizationHint.h.

uint64_t MCLOHDirective::getEmitSize ( const MachObjectWriter &  ObjWriter,
const MCAsmLayout &  Layout 
) const

Get the size in bytes of this directive if emitted in ObjWriter with the given Layout.

Definition at line 43 of file MCLinkerOptimizationHint.cpp.

MCLOHType llvm::MCLOHDirective::getKind ( ) const
inline

Definition at line 121 of file MCLinkerOptimizationHint.h.


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