LLVM API Documentation
#include <AArch64MCExpr.h>
Public Member Functions | |
void | PrintImpl (raw_ostream &OS) const |
bool | EvaluateAsRelocatableImpl (MCValue &Res, const MCAsmLayout *Layout) const |
void | AddValueSymbols (MCAssembler *) const |
const MCSection * | FindAssociatedSection () const |
void | fixELFSymbolsInTLSFixups (MCAssembler &Asm) const |
Accessors | |
VariantKind | getKind () const |
getOpcode - Get the kind of this expression. More... | |
const MCExpr * | getSubExpr () const |
getSubExpr - Get the child of this expression. More... | |
![]() | |
ExprKind | getKind () const |
void | print (raw_ostream &OS) const |
void | dump () const |
bool | EvaluateAsAbsolute (int64_t &Res, const MCAsmLayout &Layout, const SectionAddrMap &Addrs) const |
bool | EvaluateAsAbsolute (int64_t &Res) const |
bool | EvaluateAsAbsolute (int64_t &Res, const MCAssembler &Asm) const |
bool | EvaluateAsAbsolute (int64_t &Res, const MCAsmLayout &Layout) const |
bool | EvaluateAsRelocatable (MCValue &Res, const MCAsmLayout &Layout) const |
const MCSection * | FindAssociatedSection () const |
Static Public Member Functions | |
static bool | classof (const MCExpr *E) |
static bool | classof (const AArch64MCExpr *) |
Construction | |
static const AArch64MCExpr * | Create (VariantKind Kind, const MCExpr *Expr, MCContext &Ctx) |
static const AArch64MCExpr * | CreateLo12 (const MCExpr *Expr, MCContext &Ctx) |
static const AArch64MCExpr * | CreateGOT (const MCExpr *Expr, MCContext &Ctx) |
static const AArch64MCExpr * | CreateGOTLo12 (const MCExpr *Expr, MCContext &Ctx) |
static const AArch64MCExpr * | CreateDTPREL_G1 (const MCExpr *Expr, MCContext &Ctx) |
static const AArch64MCExpr * | CreateDTPREL_G0_NC (const MCExpr *Expr, MCContext &Ctx) |
static const AArch64MCExpr * | CreateGOTTPREL (const MCExpr *Expr, MCContext &Ctx) |
static const AArch64MCExpr * | CreateGOTTPRELLo12 (const MCExpr *Expr, MCContext &Ctx) |
static const AArch64MCExpr * | CreateTLSDesc (const MCExpr *Expr, MCContext &Ctx) |
static const AArch64MCExpr * | CreateTLSDescLo12 (const MCExpr *Expr, MCContext &Ctx) |
static const AArch64MCExpr * | CreateTPREL_G1 (const MCExpr *Expr, MCContext &Ctx) |
static const AArch64MCExpr * | CreateTPREL_G0_NC (const MCExpr *Expr, MCContext &Ctx) |
static const AArch64MCExpr * | CreateABS_G3 (const MCExpr *Expr, MCContext &Ctx) |
static const AArch64MCExpr * | CreateABS_G2_NC (const MCExpr *Expr, MCContext &Ctx) |
static const AArch64MCExpr * | CreateABS_G1_NC (const MCExpr *Expr, MCContext &Ctx) |
static const AArch64MCExpr * | CreateABS_G0_NC (const MCExpr *Expr, MCContext &Ctx) |
![]() | |
static bool | classof (const MCExpr *E) |
Additional Inherited Members | |
![]() | |
MCTargetExpr () | |
virtual | ~MCTargetExpr () |
![]() | |
MCExpr (ExprKind _Kind) | |
bool | EvaluateAsRelocatableImpl (MCValue &Res, const MCAssembler *Asm, const MCAsmLayout *Layout, const SectionAddrMap *Addrs, bool InSet) const |
Definition at line 22 of file AArch64MCExpr.h.
Definition at line 24 of file AArch64MCExpr.h.
|
virtual |
Implements llvm::MCTargetExpr.
Definition at line 176 of file AArch64MCExpr.cpp.
References AddValueSymbolsImpl(), and getSubExpr().
Definition at line 178 of file AArch64MCExpr.h.
References llvm::MCExpr::getKind(), and llvm::MCExpr::Target.
|
inlinestatic |
Definition at line 182 of file AArch64MCExpr.h.
|
static |
Definition at line 25 of file AArch64MCExpr.cpp.
Referenced by CreateABS_G0_NC(), CreateABS_G1_NC(), CreateABS_G2_NC(), CreateABS_G3(), CreateDTPREL_G0_NC(), CreateDTPREL_G1(), CreateGOT(), CreateGOTLo12(), CreateGOTTPREL(), CreateGOTTPRELLo12(), CreateLo12(), CreateTLSDesc(), CreateTLSDescLo12(), CreateTPREL_G0_NC(), and CreateTPREL_G1().
|
inlinestatic |
Definition at line 151 of file AArch64MCExpr.h.
References Create(), and VK_AARCH64_ABS_G0_NC.
Referenced by llvm::AArch64AsmPrinter::lowerSymbolOperand().
|
inlinestatic |
Definition at line 146 of file AArch64MCExpr.h.
References Create(), and VK_AARCH64_ABS_G1_NC.
Referenced by llvm::AArch64AsmPrinter::lowerSymbolOperand().
|
inlinestatic |
Definition at line 141 of file AArch64MCExpr.h.
References Create(), and VK_AARCH64_ABS_G2_NC.
Referenced by llvm::AArch64AsmPrinter::lowerSymbolOperand().
|
inlinestatic |
Definition at line 136 of file AArch64MCExpr.h.
References Create(), and VK_AARCH64_ABS_G3.
Referenced by llvm::AArch64AsmPrinter::lowerSymbolOperand().
|
inlinestatic |
Definition at line 101 of file AArch64MCExpr.h.
References Create(), and VK_AARCH64_DTPREL_G0_NC.
Referenced by llvm::AArch64AsmPrinter::lowerSymbolOperand().
|
inlinestatic |
Definition at line 96 of file AArch64MCExpr.h.
References Create(), and VK_AARCH64_DTPREL_G1.
Referenced by llvm::AArch64AsmPrinter::lowerSymbolOperand().
|
inlinestatic |
Definition at line 87 of file AArch64MCExpr.h.
References Create(), and VK_AARCH64_GOT.
Referenced by llvm::AArch64AsmPrinter::lowerSymbolOperand().
|
inlinestatic |
Definition at line 91 of file AArch64MCExpr.h.
References Create(), and VK_AARCH64_GOT_LO12.
Referenced by llvm::AArch64AsmPrinter::lowerSymbolOperand().
|
inlinestatic |
Definition at line 106 of file AArch64MCExpr.h.
References Create(), and VK_AARCH64_GOTTPREL.
Referenced by llvm::AArch64AsmPrinter::lowerSymbolOperand().
|
inlinestatic |
Definition at line 111 of file AArch64MCExpr.h.
References Create(), and VK_AARCH64_GOTTPREL_LO12.
Referenced by llvm::AArch64AsmPrinter::lowerSymbolOperand().
|
inlinestatic |
Definition at line 83 of file AArch64MCExpr.h.
References Create(), and VK_AARCH64_LO12.
Referenced by llvm::AArch64AsmPrinter::lowerSymbolOperand().
|
inlinestatic |
Definition at line 116 of file AArch64MCExpr.h.
References Create(), and VK_AARCH64_TLSDESC.
Referenced by llvm::AArch64AsmPrinter::lowerSymbolOperand().
|
inlinestatic |
Definition at line 121 of file AArch64MCExpr.h.
References Create(), and VK_AARCH64_TLSDESC_LO12.
Referenced by llvm::AArch64AsmPrinter::lowerSymbolOperand().
|
inlinestatic |
Definition at line 131 of file AArch64MCExpr.h.
References Create(), and VK_AARCH64_TPREL_G0_NC.
Referenced by llvm::AArch64AsmPrinter::lowerSymbolOperand().
|
inlinestatic |
Definition at line 126 of file AArch64MCExpr.h.
References Create(), and VK_AARCH64_TPREL_G1.
Referenced by llvm::AArch64AsmPrinter::lowerSymbolOperand().
|
virtual |
Implements llvm::MCTargetExpr.
Definition at line 80 of file AArch64MCExpr.cpp.
References llvm::MCExpr::EvaluateAsRelocatable(), and getSubExpr().
|
inlinevirtual |
Implements llvm::MCTargetExpr.
Definition at line 172 of file AArch64MCExpr.h.
References llvm::MCExpr::FindAssociatedSection(), and getSubExpr().
|
virtual |
Implements llvm::MCTargetExpr.
Definition at line 115 of file AArch64MCExpr.cpp.
References fixELFSymbolsInTLSFixupsImpl(), getKind(), getSubExpr(), VK_AARCH64_DTPREL_G0, VK_AARCH64_DTPREL_G0_NC, VK_AARCH64_DTPREL_G1, VK_AARCH64_DTPREL_G1_NC, VK_AARCH64_DTPREL_G2, VK_AARCH64_DTPREL_HI12, VK_AARCH64_DTPREL_LO12, VK_AARCH64_DTPREL_LO12_NC, VK_AARCH64_GOTTPREL, VK_AARCH64_GOTTPREL_G0_NC, VK_AARCH64_GOTTPREL_G1, VK_AARCH64_GOTTPREL_LO12, VK_AARCH64_TLSDESC, VK_AARCH64_TLSDESC_LO12, VK_AARCH64_TPREL_G0, VK_AARCH64_TPREL_G0_NC, VK_AARCH64_TPREL_G1, VK_AARCH64_TPREL_G1_NC, VK_AARCH64_TPREL_G2, VK_AARCH64_TPREL_HI12, VK_AARCH64_TPREL_LO12, and VK_AARCH64_TPREL_LO12_NC.
|
inline |
getOpcode - Get the kind of this expression.
Definition at line 161 of file AArch64MCExpr.h.
Referenced by fixELFSymbolsInTLSFixups().
|
inline |
getSubExpr - Get the child of this expression.
Definition at line 164 of file AArch64MCExpr.h.
Referenced by AddValueSymbols(), EvaluateAsRelocatableImpl(), FindAssociatedSection(), fixELFSymbolsInTLSFixups(), and PrintImpl().
|
virtual |
Implements llvm::MCTargetExpr.
Definition at line 30 of file AArch64MCExpr.cpp.
References llvm::MCExpr::getKind(), getSubExpr(), llvm_unreachable, llvm::MCExpr::print(), llvm::MCExpr::SymbolRef, VK_AARCH64_ABS_G0, VK_AARCH64_ABS_G0_NC, VK_AARCH64_ABS_G1, VK_AARCH64_ABS_G1_NC, VK_AARCH64_ABS_G2, VK_AARCH64_ABS_G2_NC, VK_AARCH64_ABS_G3, VK_AARCH64_DTPREL_G0, VK_AARCH64_DTPREL_G0_NC, VK_AARCH64_DTPREL_G1, VK_AARCH64_DTPREL_G1_NC, VK_AARCH64_DTPREL_G2, VK_AARCH64_DTPREL_HI12, VK_AARCH64_DTPREL_LO12, VK_AARCH64_DTPREL_LO12_NC, VK_AARCH64_GOT, VK_AARCH64_GOT_LO12, VK_AARCH64_GOTTPREL, VK_AARCH64_GOTTPREL_G0_NC, VK_AARCH64_GOTTPREL_G1, VK_AARCH64_GOTTPREL_LO12, VK_AARCH64_LO12, VK_AARCH64_SABS_G0, VK_AARCH64_SABS_G1, VK_AARCH64_SABS_G2, VK_AARCH64_TLSDESC, VK_AARCH64_TLSDESC_LO12, VK_AARCH64_TPREL_G0, VK_AARCH64_TPREL_G0_NC, VK_AARCH64_TPREL_G1, VK_AARCH64_TPREL_G1_NC, VK_AARCH64_TPREL_G2, VK_AARCH64_TPREL_HI12, VK_AARCH64_TPREL_LO12, and VK_AARCH64_TPREL_LO12_NC.