LLVM
8.0.1
|
#include "llvm/MC/MCLinkerOptimizationHint.h"
Public Types | |
using | LOHDirectives = SmallVectorImpl< MCLOHDirective > |
Public Member Functions | |
MCLOHContainer ()=default | |
const LOHDirectives & | getDirectives () const |
Const accessor to the directives. More... | |
void | addDirective (MCLOHType Kind, const MCLOHDirective::LOHArgs &Args) |
Add the directive of the given kind Kind with the given arguments Args to the container. More... | |
uint64_t | getEmitSize (const MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const |
Get the size of the directives if emitted. More... | |
void | emit (MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const |
Emit all Linker Optimization Hint in one big table. More... | |
void | reset () |
Definition at line 135 of file MCLinkerOptimizationHint.h.
Definition at line 143 of file MCLinkerOptimizationHint.h.
|
default |
|
inline |
Add the directive of the given kind Kind
with the given arguments Args
to the container.
Definition at line 154 of file MCLinkerOptimizationHint.h.
References llvm::MCLOHDirective::MCLOHDirective(), and llvm::SmallVectorTemplateBase< T >::push_back().
|
inline |
Emit all Linker Optimization Hint in one big table.
Each line of the table is emitted by LOHDirective::emit.
Definition at line 170 of file MCLinkerOptimizationHint.h.
References D.
|
inline |
Const accessor to the directives.
Definition at line 148 of file MCLinkerOptimizationHint.h.
|
inline |
Get the size of the directives if emitted.
Definition at line 159 of file MCLinkerOptimizationHint.h.
References D.
Referenced by llvm::MachObjectWriter::writeObject().
|
inline |
Definition at line 175 of file MCLinkerOptimizationHint.h.
References llvm::SmallVectorImpl< T >::clear().
Referenced by llvm::MCAssembler::reset().