LLVM
8.0.1
|
#include "llvm/MC/ConstantPools.h"
Public Member Functions | |
ConstantPool ()=default | |
const MCExpr * | addEntry (const MCExpr *Value, MCContext &Context, unsigned Size, SMLoc Loc) |
void | emitEntries (MCStreamer &Streamer) |
bool | empty () |
void | clearCache () |
Definition at line 45 of file ConstantPools.h.
|
default |
const MCExpr * ConstantPool::addEntry | ( | const MCExpr * | Value, |
MCContext & | Context, | ||
unsigned | Size, | ||
SMLoc | Loc | ||
) |
Definition at line 40 of file ConstantPools.cpp.
References C, llvm::MCSymbolRefExpr::create(), llvm::MCContext::createTempSymbol(), llvm::dyn_cast(), llvm::MCConstantExpr::getValue(), and llvm::SmallVectorTemplateBase< T, bool >::push_back().
void ConstantPool::clearCache | ( | ) |
Definition at line 60 of file ConstantPools.cpp.
References llvm::HexagonISD::CP, and llvm::ARMBuildAttrs::Section.
void ConstantPool::emitEntries | ( | MCStreamer & | Streamer | ) |
Definition at line 27 of file ConstantPools.cpp.
References llvm::MCStreamer::EmitCodeAlignment(), llvm::MCStreamer::EmitDataRegion(), llvm::MCStreamer::EmitLabel(), llvm::MCStreamer::EmitValue(), llvm::SmallVectorBase::empty(), llvm::MCDR_DataRegion, and llvm::MCDR_DataRegionEnd.
Referenced by emitConstantPool().
bool ConstantPool::empty | ( | ) |
Definition at line 58 of file ConstantPools.cpp.
References llvm::SmallVectorBase::empty().
Referenced by emitConstantPool().