LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::ARMMCExpr Class Reference

#include <ARMMCExpr.h>

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

Public Types

enum  VariantKind { VK_ARM_None, VK_ARM_HI16, VK_ARM_LO16 }
 
- Public Types inherited from llvm::MCExpr
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 MCSectionFindAssociatedSection () const
 
void fixELFSymbolsInTLSFixups (MCAssembler &Asm) const
 
Accessors
VariantKind getKind () const
 getOpcode - Get the kind of this expression. More...
 
const MCExprgetSubExpr () const
 getSubExpr - Get the child of this expression. More...
 
- Public Member Functions inherited from llvm::MCExpr
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 MCSectionFindAssociatedSection () const
 

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)
 
- Static Public Member Functions inherited from llvm::MCTargetExpr
static bool classof (const MCExpr *E)
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::MCTargetExpr
 MCTargetExpr ()
 
virtual ~MCTargetExpr ()
 
- Protected Member Functions inherited from llvm::MCExpr
 MCExpr (ExprKind _Kind)
 
bool EvaluateAsRelocatableImpl (MCValue &Res, const MCAssembler *Asm, const MCAsmLayout *Layout, const SectionAddrMap *Addrs, bool InSet) const
 

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)
inlinestatic

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 
)
inlinestatic

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 
)
inlinestatic

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
inlinevirtual

Implements llvm::MCTargetExpr.

Definition at line 63 of file ARMMCExpr.h.

References llvm::MCExpr::FindAssociatedSection(), and getSubExpr().

void llvm::ARMMCExpr::fixELFSymbolsInTLSFixups ( MCAssembler Asm) const
inlinevirtual

Implements llvm::MCTargetExpr.

Definition at line 68 of file ARMMCExpr.h.

VariantKind llvm::ARMMCExpr::getKind ( ) const
inline

getOpcode - Get the kind of this expression.

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: