LLVM API Documentation
#include <MCExpr.h>
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 MCSection * | FindAssociatedSection () const =0 |
virtual void | fixELFSymbolsInTLSFixups (MCAssembler &) const =0 |
Static Public Member Functions | |
static bool | classof (const MCExpr *E) |
Protected Member Functions | |
MCTargetExpr () | |
virtual | ~MCTargetExpr () |
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.
llvm::MCTargetExpr::MCTargetExpr | ( | ) | [inline, protected] |
virtual llvm::MCTargetExpr::~MCTargetExpr | ( | ) | [inline, protected, virtual] |
static bool llvm::MCTargetExpr::classof | ( | const MCExpr * | E | ) | [inline, static] |
Reimplemented in llvm::AArch64MCExpr, llvm::SparcMCExpr, llvm::PPCMCExpr, llvm::NVPTXFloatMCExpr, llvm::ARMMCExpr, and llvm::MipsMCExpr.
Definition at line 546 of file MCExpr.h.
References llvm::MCExpr::getKind(), and llvm::MCExpr::Target.
virtual bool llvm::MCTargetExpr::EvaluateAsRelocatableImpl | ( | MCValue & | Res, |
const MCAsmLayout * | Layout, | ||
const MCFixup * | Fixup | ||
) | const [pure virtual] |
Implemented in llvm::AArch64MCExpr, llvm::SparcMCExpr, llvm::PPCMCExpr, llvm::NVPTXFloatMCExpr, llvm::ARMMCExpr, and llvm::MipsMCExpr.
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] |
Implemented in llvm::AArch64MCExpr, llvm::SparcMCExpr, llvm::PPCMCExpr, llvm::NVPTXFloatMCExpr, llvm::ARMMCExpr, and llvm::MipsMCExpr.
virtual void llvm::MCTargetExpr::PrintImpl | ( | raw_ostream & | OS | ) | const [pure virtual] |
Implemented in llvm::AArch64MCExpr, llvm::SparcMCExpr, llvm::PPCMCExpr, llvm::NVPTXFloatMCExpr, llvm::ARMMCExpr, and llvm::MipsMCExpr.
virtual void llvm::MCTargetExpr::visitUsedExpr | ( | MCStreamer & | Streamer | ) | const [pure virtual] |
Implemented in llvm::AArch64MCExpr, llvm::SparcMCExpr, llvm::PPCMCExpr, llvm::NVPTXFloatMCExpr, llvm::ARMMCExpr, and llvm::MipsMCExpr.