LLVM 20.0.0git
|
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 (const MCAssembler &Asm, MachObjectWriter &ObjWriter) const |
Emit this directive as: <kind, numArgs, addr1, ..., addrN> | |
uint64_t | getEmitSize (const MCAssembler &Asm, const MachObjectWriter &ObjWriter) const |
Get the size in bytes of this directive if emitted in ObjWriter with the given Layout . | |
Store Linker Optimization Hint information (LOH).
Definition at line 102 of file MCLinkerOptimizationHint.h.
using llvm::MCLOHDirective::LOHArgs = SmallVectorImpl<MCSymbol *> |
Definition at line 115 of file MCLinkerOptimizationHint.h.
Definition at line 117 of file MCLinkerOptimizationHint.h.
References assert(), and llvm::isValidMCLOHType().
void MCLOHDirective::emit | ( | const MCAssembler & | Asm, |
MachObjectWriter & | ObjWriter | ||
) | const |
Emit this directive as: <kind, numArgs, addr1, ..., addrN>
Definition at line 36 of file MCLinkerOptimizationHint.cpp.
References llvm::support::endian::Writer::OS, and llvm::MachObjectWriter::W.
Definition at line 124 of file MCLinkerOptimizationHint.h.
uint64_t MCLOHDirective::getEmitSize | ( | const MCAssembler & | Asm, |
const MachObjectWriter & | ObjWriter | ||
) | const |
Get the size in bytes of this directive if emitted in ObjWriter
with the given Layout
.
Definition at line 42 of file MCLinkerOptimizationHint.cpp.
References llvm::size().
|
inline |
Definition at line 122 of file MCLinkerOptimizationHint.h.