LLVM 22.0.0git
|
#include "llvm/MC/MCValue.h"
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. | |
Static Public Member Functions | |
static MCValue | get (const MCSymbol *SymA, const MCSymbol *SymB=nullptr, int64_t Val=0, uint32_t Specifier=0) |
static MCValue | get (int64_t Val) |
Friends | |
class | MCAssembler |
class | MCExpr |
|
default |
|
inlinestatic |
Definition at line 56 of file MCValue.h.
Referenced by llvm::LoongArchAsmBackend::addReloc(), llvm::RISCVAsmBackend::addReloc(), llvm::AVRAsmBackend::applyFixup(), evaluateAsRelocatable(), llvm::AVRMCAsmInfo::evaluateAsRelocatableImpl(), llvm::MCUnwindV2EpilogTargetExpr::evaluateAsRelocatableImpl(), MCCOFFSectionNumberTargetExpr::evaluateAsRelocatableImpl(), MCCOFFSectionOffsetTargetExpr::evaluateAsRelocatableImpl(), llvm::AMDGPUMCExpr::evaluateAsRelocatableImpl(), llvm::MCExpr::evaluateAsRelocatableImpl(), llvm::MCExpr::evaluateSymbolicAdd(), and llvm::RISCVAsmBackend::maybeAddVendorReloc().
|
inlinestatic |
Definition at line 49 of file MCValue.h.
Referenced by llvm::MCExpr::evaluateAsRelocatableImpl(), llvm::RISCVAsmBackend::evaluateFixup(), getPCRelHiFixup(), handleIndirectSymViaGOTPCRel(), and llvm::MCAssembler::layout().
|
inline |
Definition at line 44 of file MCValue.h.
Referenced by evaluateAsRelocatable(), llvm::AMDGPUMCExpr::evaluateAsRelocatableImpl(), llvm::MCExpr::evaluateAsRelocatableImpl(), llvm::RISCVAsmBackend::evaluateFixup(), llvm::TargetLoweringObjectFileMachO::getIndirectSymViaGOTPCRel(), llvm::AArch64_ELFTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::AArch64_MachoTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::ARMElfTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::RISCVELFTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::X86_64MachoTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::X86_64ELFTargetObjectFile::getIndirectSymViaGOTPCRel(), getNode(), handleIndirectSymViaGOTPCRel(), and llvm::MCAssembler::layout().
|
inline |
Definition at line 46 of file MCValue.h.
Referenced by llvm::MCExpr::evaluateAsRelocatableImpl().
Definition at line 51 of file MCValue.h.
Referenced by evaluate(), llvm::MCAsmInfo::evaluateAsRelocatableImpl(), llvm::MCExpr::evaluateAsRelocatableImpl(), llvm::TargetLoweringObjectFileMachO::getIndirectSymViaGOTPCRel(), handleIndirectSymViaGOTPCRel(), and llvm::MCAssembler::layout().
|
inline |
Is this an absolute (as opposed to relocatable) value.
Definition at line 54 of file MCValue.h.
Referenced by llvm::DelayedMCExprs::assignDocNode(), evaluateAsRelocatable(), llvm::AMDGPUMCExpr::evaluateAsRelocatableImpl(), llvm::MCExpr::evaluateAsRelocatableImpl(), handleIndirectSymViaGOTPCRel(), and llvm::DelayedMCExprs::resolveDelayedExpressions().
|
inline |
Definition at line 45 of file MCValue.h.
References llvm::CallingConv::C.
|
inline |
Definition at line 47 of file MCValue.h.
Referenced by evaluate(), evaluateAsRelocatable(), llvm::MCAsmInfo::evaluateAsRelocatableImpl(), llvm::SystemZMCAsmInfoGOFF::evaluateAsRelocatableImpl(), and llvm::VEELFMCAsmInfo::evaluateAsRelocatableImpl().
|
friend |