LLVM API Documentation

Public Member Functions | Static Public Member Functions | Protected Member Functions
llvm::MCTargetExpr Class Reference

#include <MCExpr.h>

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

List of all members.

Public Member Functions

virtual void PrintImpl (raw_ostream &OS) const =0
virtual bool EvaluateAsRelocatableImpl (MCValue &Res, const MCAsmLayout *Layout) const =0
virtual void AddValueSymbols (MCAssembler *) const =0
virtual const MCSectionFindAssociatedSection () const =0
virtual void fixELFSymbolsInTLSFixups (MCAssembler &) const =0

Static Public Member Functions

static bool classof (const MCExpr *E)

Protected Member Functions

 MCTargetExpr ()
virtual ~MCTargetExpr ()

Detailed Description

MCTargetExpr - This is an extension point for target-specific MCExpr subclasses to implement.

NOTE: All subclasses are required to have trivial destructors because MCExprs are bump pointer allocated and not destructed.

Definition at line 464 of file MCExpr.h.


Constructor & Destructor Documentation

llvm::MCTargetExpr::MCTargetExpr ( ) [inline, protected]

Definition at line 467 of file MCExpr.h.

virtual llvm::MCTargetExpr::~MCTargetExpr ( ) [inline, protected, virtual]

Definition at line 468 of file MCExpr.h.


Member Function Documentation

virtual void llvm::MCTargetExpr::AddValueSymbols ( MCAssembler ) const [pure virtual]

Implemented in llvm::AArch64MCExpr, and llvm::ARMMCExpr.

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

Reimplemented in llvm::AArch64MCExpr, and llvm::ARMMCExpr.

Definition at line 479 of file MCExpr.h.

References llvm::MCExpr::getKind(), and llvm::MCExpr::Target.

virtual bool llvm::MCTargetExpr::EvaluateAsRelocatableImpl ( MCValue Res,
const MCAsmLayout Layout 
) const [pure virtual]

Implemented in llvm::AArch64MCExpr, and llvm::ARMMCExpr.

virtual const MCSection* llvm::MCTargetExpr::FindAssociatedSection ( ) const [pure 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.

Reimplemented from llvm::MCExpr.

Implemented in llvm::AArch64MCExpr, and llvm::ARMMCExpr.

virtual void llvm::MCTargetExpr::fixELFSymbolsInTLSFixups ( MCAssembler ) const [pure virtual]

Implemented in llvm::AArch64MCExpr, and llvm::ARMMCExpr.

virtual void llvm::MCTargetExpr::PrintImpl ( raw_ostream OS) const [pure virtual]

Implemented in llvm::AArch64MCExpr, and llvm::ARMMCExpr.


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