LLVM API Documentation

Public Types | Public Member Functions | Static Public Member Functions
llvm::ARMMCExpr Class Reference

#include <ARMMCExpr.h>

Inheritance diagram for llvm::ARMMCExpr:
Inheritance graph
[legend]
Collaboration diagram for llvm::ARMMCExpr:
Collaboration graph
[legend]

List of all members.

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 MCSectionFindAssociatedSection () const
void fixELFSymbolsInTLSFixups (MCAssembler &Asm) const
Accessors
VariantKind getKind () const
 getOpcode - Get the kind of this expression.
const MCExprgetSubExpr () const
 getSubExpr - Get the child of this expression.

Static Public Member Functions

static bool classof (const MCExpr *E)
Construction
static const ARMMCExprCreate (VariantKind Kind, const MCExpr *Expr, MCContext &Ctx)
static const ARMMCExprCreateUpper16 (const MCExpr *Expr, MCContext &Ctx)
static const ARMMCExprCreateLower16 (const MCExpr *Expr, MCContext &Ctx)

Detailed Description

Definition at line 17 of file ARMMCExpr.h.


Member Enumeration Documentation

Enumerator:
VK_ARM_None 
VK_ARM_HI16 
VK_ARM_LO16 

Definition at line 19 of file ARMMCExpr.h.


Member Function Documentation

void ARMMCExpr::AddValueSymbols ( MCAssembler Asm) const [virtual]

Implements llvm::MCTargetExpr.

Definition at line 70 of file ARMMCExpr.cpp.

References AddValueSymbols_(), and getSubExpr().

static bool llvm::ARMMCExpr::classof ( const MCExpr E) [inline, static]

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]

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