LLVM API Documentation
#include <MCLinkerOptimizationHint.h>
Public Types | |
typedef SmallVectorImpl < MCLOHDirective > | LOHDirectives |
Public Member Functions | |
MCLOHContainer () | |
const LOHDirectives & | getDirectives () const |
Const accessor to the directives. | |
void | addDirective (MCLOHType Kind, const MCLOHDirective::LOHArgs &Args) |
uint64_t | getEmitSize (const MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const |
Get the size of the directives if emitted. | |
void | Emit (MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const |
void | reset () |
Definition at line 153 of file MCLinkerOptimizationHint.h.
Definition at line 161 of file MCLinkerOptimizationHint.h.
llvm::MCLOHContainer::MCLOHContainer | ( | ) | [inline] |
Definition at line 163 of file MCLinkerOptimizationHint.h.
void llvm::MCLOHContainer::addDirective | ( | MCLOHType | Kind, |
const MCLOHDirective::LOHArgs & | Args | ||
) | [inline] |
Add the directive of the given kind Kind
with the given arguments Args
to the container.
Definition at line 172 of file MCLinkerOptimizationHint.h.
References llvm::SmallVectorTemplateBase< T, isPodLike >::push_back().
void llvm::MCLOHContainer::Emit | ( | MachObjectWriter & | ObjWriter, |
const MCAsmLayout & | Layout | ||
) | const [inline] |
Emit all Linker Optimization Hint in one big table. Each line of the table is emitted by LOHDirective::Emit.
Definition at line 188 of file MCLinkerOptimizationHint.h.
Referenced by llvm::MachObjectWriter::WriteObject().
const LOHDirectives& llvm::MCLOHContainer::getDirectives | ( | ) | const [inline] |
Const accessor to the directives.
Definition at line 166 of file MCLinkerOptimizationHint.h.
uint64_t llvm::MCLOHContainer::getEmitSize | ( | const MachObjectWriter & | ObjWriter, |
const MCAsmLayout & | Layout | ||
) | const [inline] |
Get the size of the directives if emitted.
Definition at line 177 of file MCLinkerOptimizationHint.h.
Referenced by llvm::MachObjectWriter::WriteObject().
void llvm::MCLOHContainer::reset | ( | ) | [inline] |
Definition at line 193 of file MCLinkerOptimizationHint.h.
References llvm::SmallVectorImpl< T >::clear().
Referenced by llvm::MCAssembler::reset().