class ConstantPool

Declaration

class ConstantPool { /* full declaration omitted */ };

Declared at: llvm/include/llvm/MC/ConstantPools.h:43

Member Variables

private llvm::ConstantPool::EntryVecTy Entries
private std::map<int64_t, const MCSymbolRefExpr*> CachedConstantEntries
private DenseMap<const llvm::MCSymbol*, const llvm::MCSymbolRefExpr*> CachedSymbolEntries

Method Overview

  • public ConstantPool()
  • public const llvm::MCExpr * addEntry(const llvm::MCExpr * Value, llvm::MCContext & Context, unsigned int Size, llvm::SMLoc Loc)
  • public void clearCache()
  • public void emitEntries(llvm::MCStreamer & Streamer)
  • public bool empty()

Methods

ConstantPool()

Declared at: llvm/include/llvm/MC/ConstantPools.h:51

const llvm::MCExpr* addEntry(
    const llvm::MCExpr* Value,
    llvm::MCContext& Context,
    unsigned int Size,
    llvm::SMLoc Loc)

Declared at: llvm/include/llvm/MC/ConstantPools.h:58

Parameters

const llvm::MCExpr* Value
llvm::MCContext& Context
unsigned int Size
llvm::SMLoc Loc

void clearCache()

Declared at: llvm/include/llvm/MC/ConstantPools.h:67

void emitEntries(llvm::MCStreamer& Streamer)

Declared at: llvm/include/llvm/MC/ConstantPools.h:62

Parameters

llvm::MCStreamer& Streamer

bool empty()

Declared at: llvm/include/llvm/MC/ConstantPools.h:65