LLVM: llvm::MCValue Class Reference (original) (raw)

#include "[llvm/MC/MCValue.h](MCValue%5F8h%5Fsource.html)"

Public Member Functions
MCValue ()=default
int64_t getConstant () const
void setConstant (int64_t C)
uint32_t getSpecifier () const
void setSpecifier (uint32_t S)
const MCSymbol * getAddSym () const
void setAddSym (const MCSymbol *A)
const MCSymbol * getSubSym () const
bool isAbsolute () const
Is this an absolute (as opposed to relocatable) value.
Friends
class MCAssembler
class MCExpr

Definition at line 30 of file MCValue.h.

llvm::MCValue::MCValue ( ) default

get() [1/2]

Definition at line 56 of file MCValue.h.

References MCValue().

Referenced by llvm::LoongArchAsmBackend::addReloc(), llvm::RISCVAsmBackend::addReloc(), llvm::AVRAsmBackend::applyFixup(), evaluateAsRelocatable(), llvm::AMDGPUMCExpr::evaluateAsRelocatableImpl(), llvm::AVRMCAsmInfo::evaluateAsRelocatableImpl(), llvm::MCExpr::evaluateAsRelocatableImpl(), MCCOFFSectionNumberTargetExpr::evaluateAsRelocatableImpl(), MCCOFFSectionOffsetTargetExpr::evaluateAsRelocatableImpl(), llvm::MCExpr::evaluateSymbolicAdd(), and llvm::RISCVAsmBackend::maybeAddVendorReloc().

get() [2/2]

MCValue llvm::MCValue::get ( int64_t Val) inlinestatic

getAddSym()

getConstant()

int64_t llvm::MCValue::getConstant ( ) const inline

Definition at line 44 of file MCValue.h.

Referenced by emitAddress(), evaluateAsRelocatable(), llvm::AMDGPUMCExpr::evaluateAsRelocatableImpl(), llvm::MCExpr::evaluateAsRelocatableImpl(), llvm::RISCVAsmBackend::evaluateFixup(), llvm::AArch64_ELFTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::AArch64_MachoTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::ARMElfTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::RISCVELFTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::TargetLoweringObjectFileMachO::getIndirectSymViaGOTPCRel(), llvm::X86_64ELFTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::X86_64MachoTargetObjectFile::getIndirectSymViaGOTPCRel(), getNode(), handleIndirectSymViaGOTPCRel(), and llvm::MCAssembler::layout().

getSpecifier()

uint32_t llvm::MCValue::getSpecifier ( ) const inline

getSubSym()

isAbsolute()

bool llvm::MCValue::isAbsolute ( ) const inline

setAddSym()

setConstant()

void llvm::MCValue::setConstant ( int64_t C) inline

setSpecifier()

void llvm::MCValue::setSpecifier ( uint32_t S) inline

MCAssembler

MCExpr


The documentation for this class was generated from the following files: