LLVM API Documentation
#include <ARMMCExpr.h>


Public Types | |
| enum | VariantKind { VK_ARM_None, VK_ARM_HI16, VK_ARM_LO16 } |
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. | |
| const MCExpr * | getSubExpr () const |
| getSubExpr - Get the child of this expression. | |
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) |
Definition at line 17 of file ARMMCExpr.h.
Definition at line 19 of file ARMMCExpr.h.
| void ARMMCExpr::AddValueSymbols | ( | MCAssembler * | Asm | ) | const [virtual] |
Implements llvm::MCTargetExpr.
Definition at line 70 of file ARMMCExpr.cpp.
References AddValueSymbols_(), and getSubExpr().
Reimplemented from llvm::MCTargetExpr.
Definition at line 70 of file ARMMCExpr.h.
References llvm::MCExpr::getKind(), and llvm::MCExpr::Target.
| const ARMMCExpr * ARMMCExpr::Create | ( | VariantKind | Kind, |
| const MCExpr * | Expr, | ||
| MCContext & | Ctx | ||
| ) | [static] |
Definition at line 17 of file ARMMCExpr.cpp.
Referenced by CreateLower16(), and CreateUpper16().
| static const ARMMCExpr* llvm::ARMMCExpr::CreateLower16 | ( | const MCExpr * | Expr, |
| MCContext & | Ctx | ||
| ) | [inline, static] |
Definition at line 43 of file ARMMCExpr.h.
References Create(), and VK_ARM_LO16.
Referenced by llvm::ARMAsmPrinter::EmitInstruction().
| static const ARMMCExpr* llvm::ARMMCExpr::CreateUpper16 | ( | const MCExpr * | Expr, |
| MCContext & | Ctx | ||
| ) | [inline, static] |
Definition at line 39 of file ARMMCExpr.h.
References Create(), and VK_ARM_HI16.
Referenced by llvm::ARMAsmPrinter::EmitInstruction().
| bool ARMMCExpr::EvaluateAsRelocatableImpl | ( | MCValue & | Res, |
| const MCAsmLayout * | Layout | ||
| ) | const [virtual] |
Implements llvm::MCTargetExpr.
Definition at line 38 of file ARMMCExpr.cpp.
| const MCSection* llvm::ARMMCExpr::FindAssociatedSection | ( | ) | const [inline, virtual] |
FindAssociatedSection - Find the "associated section" for this expression, which is currently defined as the absolute section for constants, or otherwise the section associated with the first defined symbol in the expression.
Implements llvm::MCTargetExpr.
Definition at line 63 of file ARMMCExpr.h.
References llvm::MCExpr::FindAssociatedSection(), and getSubExpr().
| void llvm::ARMMCExpr::fixELFSymbolsInTLSFixups | ( | MCAssembler & | Asm | ) | const [inline, virtual] |
Implements llvm::MCTargetExpr.
Definition at line 68 of file ARMMCExpr.h.
| VariantKind llvm::ARMMCExpr::getKind | ( | ) | const [inline] |
getOpcode - Get the kind of this expression.
Reimplemented from llvm::MCExpr.
Definition at line 52 of file ARMMCExpr.h.
| const MCExpr* llvm::ARMMCExpr::getSubExpr | ( | ) | const [inline] |
getSubExpr - Get the child of this expression.
Definition at line 55 of file ARMMCExpr.h.
Referenced by AddValueSymbols(), FindAssociatedSection(), and PrintImpl().
| void ARMMCExpr::PrintImpl | ( | raw_ostream & | OS | ) | const [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.