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

VariantKind getKind () const
 getOpcode - Get the kind of this expression.
const MCExprgetSubExpr () const
 getSubExpr - Get the child of this expression.
void PrintImpl (raw_ostream &OS) const override
bool EvaluateAsRelocatableImpl (MCValue &Res, const MCAsmLayout *Layout, const MCFixup *Fixup) const override
void visitUsedExpr (MCStreamer &Streamer) const override
const MCSectionFindAssociatedSection () const override
void fixELFSymbolsInTLSFixups (MCAssembler &Asm) const override

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

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

Reimplemented from llvm::MCTargetExpr.

Definition at line 71 of file ARMMCExpr.h.

const ARMMCExpr * ARMMCExpr::Create ( VariantKind  Kind,
const MCExpr Expr,
MCContext Ctx 
) [static]

Definition at line 18 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 llvm::ARMMCExpr::EvaluateAsRelocatableImpl ( MCValue Res,
const MCAsmLayout Layout,
const MCFixup Fixup 
) const [inline, override, virtual]

Implements llvm::MCTargetExpr.

Definition at line 58 of file ARMMCExpr.h.

const MCSection* llvm::ARMMCExpr::FindAssociatedSection ( ) const [inline, override, 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 64 of file ARMMCExpr.h.

void llvm::ARMMCExpr::fixELFSymbolsInTLSFixups ( MCAssembler Asm) const [inline, override, virtual]

Implements llvm::MCTargetExpr.

Definition at line 69 of file ARMMCExpr.h.

getOpcode - Get the kind of this expression.

Reimplemented from llvm::MCExpr.

Definition at line 50 of file ARMMCExpr.h.

getSubExpr - Get the child of this expression.

Definition at line 53 of file ARMMCExpr.h.

Referenced by PrintImpl(), and visitUsedExpr().

void ARMMCExpr::PrintImpl ( raw_ostream OS) const [override, virtual]
void ARMMCExpr::visitUsedExpr ( MCStreamer Streamer) const [override, virtual]

Implements llvm::MCTargetExpr.

Definition at line 38 of file ARMMCExpr.cpp.

References getSubExpr(), and llvm::MCStreamer::visitUsedExpr().


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