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 MCFixup *Fixup) const =0
virtual void visitUsedExpr (MCStreamer &Streamer) 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 530 of file MCExpr.h.


Constructor & Destructor Documentation

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

Definition at line 533 of file MCExpr.h.

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

Definition at line 534 of file MCExpr.h.


Member Function Documentation

static bool llvm::MCTargetExpr::classof ( const MCExpr E) [inline, static]
virtual bool llvm::MCTargetExpr::EvaluateAsRelocatableImpl ( MCValue Res,
const MCAsmLayout Layout,
const MCFixup Fixup 
) const [pure virtual]
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, llvm::SparcMCExpr, llvm::PPCMCExpr, llvm::NVPTXFloatMCExpr, llvm::ARMMCExpr, and llvm::MipsMCExpr.

virtual void llvm::MCTargetExpr::fixELFSymbolsInTLSFixups ( MCAssembler ) const [pure virtual]
virtual void llvm::MCTargetExpr::PrintImpl ( raw_ostream OS) const [pure virtual]
virtual void llvm::MCTargetExpr::visitUsedExpr ( MCStreamer Streamer) const [pure virtual]

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