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 =0 |
virtual void | AddValueSymbols (MCAssembler *) const =0 |
virtual const MCSection * | FindAssociatedSection () const =0 |
virtual void | fixELFSymbolsInTLSFixups (MCAssembler &) const =0 |
![]() | |
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 MCSection * | FindAssociatedSection () const |
Static Public Member Functions | |
static bool | classof (const MCExpr *E) |
Protected Member Functions | |
MCTargetExpr () | |
virtual | ~MCTargetExpr () |
![]() | |
MCExpr (ExprKind _Kind) | |
bool | EvaluateAsRelocatableImpl (MCValue &Res, const MCAssembler *Asm, const MCAsmLayout *Layout, const SectionAddrMap *Addrs, bool InSet) const |
Additional Inherited Members | |
![]() | |
enum | ExprKind { Binary, Constant, SymbolRef, Unary, Target } |
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.
|
inlineprotectedvirtual |
|
pure virtual |
Implemented in llvm::AArch64MCExpr, llvm::PPCMCExpr, llvm::NVPTXFloatMCExpr, and llvm::ARMMCExpr.
Definition at line 509 of file MCExpr.h.
References llvm::MCExpr::getKind(), and llvm::MCExpr::Target.
|
pure virtual |
Implemented in llvm::AArch64MCExpr, llvm::PPCMCExpr, llvm::NVPTXFloatMCExpr, and llvm::ARMMCExpr.
|
pure virtual |
Implemented in llvm::AArch64MCExpr, llvm::PPCMCExpr, llvm::NVPTXFloatMCExpr, and llvm::ARMMCExpr.
|
pure virtual |
Implemented in llvm::AArch64MCExpr, llvm::PPCMCExpr, llvm::NVPTXFloatMCExpr, and llvm::ARMMCExpr.
|
pure virtual |
Implemented in llvm::AArch64MCExpr, llvm::PPCMCExpr, llvm::NVPTXFloatMCExpr, and llvm::ARMMCExpr.