LLVM API Documentation
#include <ARMMCExpr.h>
Public Types | |
enum | VariantKind { VK_ARM_None, VK_ARM_HI16, VK_ARM_LO16 } |
![]() | |
enum | ExprKind { Binary, Constant, SymbolRef, Unary, Target } |
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) |
Construction | |
static const ARMMCExpr * | Create (VariantKind Kind, const MCExpr *Expr, MCContext &Ctx) |
static const ARMMCExpr * | CreateUpper16 (const MCExpr *Expr, MCContext &Ctx) |
static const ARMMCExpr * | CreateLower16 (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 17 of file ARMMCExpr.h.
Enumerator | |
---|---|
VK_ARM_None | |
VK_ARM_HI16 | |
VK_ARM_LO16 |
Definition at line 19 of file ARMMCExpr.h.
|
virtual |
Implements llvm::MCTargetExpr.
Definition at line 70 of file ARMMCExpr.cpp.
References AddValueSymbols_(), and getSubExpr().
Definition at line 70 of file ARMMCExpr.h.
References llvm::MCExpr::getKind(), and llvm::MCExpr::Target.
|
static |
Definition at line 17 of file ARMMCExpr.cpp.
Referenced by CreateLower16(), and CreateUpper16().
|
inlinestatic |
Definition at line 43 of file ARMMCExpr.h.
References Create(), and VK_ARM_LO16.
Referenced by llvm::ARMAsmPrinter::EmitInstruction().
|
inlinestatic |
Definition at line 39 of file ARMMCExpr.h.
References Create(), and VK_ARM_HI16.
Referenced by llvm::ARMAsmPrinter::EmitInstruction().
|
virtual |
Implements llvm::MCTargetExpr.
Definition at line 38 of file ARMMCExpr.cpp.
|
inlinevirtual |
Implements llvm::MCTargetExpr.
Definition at line 63 of file ARMMCExpr.h.
References llvm::MCExpr::FindAssociatedSection(), and getSubExpr().
|
inlinevirtual |
Implements llvm::MCTargetExpr.
Definition at line 68 of file ARMMCExpr.h.
|
inline |
getOpcode - Get the kind of this expression.
Definition at line 52 of file ARMMCExpr.h.
|
inline |
getSubExpr - Get the child of this expression.
Definition at line 55 of file ARMMCExpr.h.
Referenced by AddValueSymbols(), FindAssociatedSection(), and PrintImpl().
|
virtual |
Implements llvm::MCTargetExpr.
Definition at line 22 of file ARMMCExpr.cpp.
References llvm::MCExpr::getKind(), getSubExpr(), llvm_unreachable, llvm::MCExpr::print(), llvm::MCExpr::SymbolRef, VK_ARM_HI16, and VK_ARM_LO16.