LLVM 20.0.0git
|
#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 43 of file ConstantPools.h.
|
default |
const MCExpr * ConstantPool::addEntry | ( | const MCExpr * | Value, |
MCContext & | Context, | ||
unsigned | Size, | ||
SMLoc | Loc | ||
) |
Definition at line 39 of file ConstantPools.cpp.
References llvm::CallingConv::C, llvm::MCSymbolRefExpr::create(), llvm::MCContext::createTempSymbol(), llvm::MCSymbolRefExpr::getSymbol(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), and Size.
Referenced by llvm::CSKYTargetStreamer::addConstantPoolEntry(), and llvm::AssemblerConstantPools::addEntry().
void ConstantPool::clearCache | ( | ) |
Definition at line 72 of file ConstantPools.cpp.
Referenced by llvm::CSKYTargetStreamer::emitCurrentConstantPool().
void ConstantPool::emitEntries | ( | MCStreamer & | Streamer | ) |
bool ConstantPool::empty | ( | ) |
Definition at line 70 of file ConstantPools.cpp.
References llvm::SmallVectorBase< Size_T >::empty().