LLVM API Documentation
#include <MCExpr.h>
Public Member Functions | |
Accessors | |
int64_t | getValue () const |
![]() | |
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) |
Construction | |
static const MCConstantExpr * | Create (int64_t Value, MCContext &Ctx) |
Additional Inherited Members | |
![]() | |
enum | ExprKind { Binary, Constant, SymbolRef, Unary, Target } |
![]() | |
MCExpr (ExprKind _Kind) | |
bool | EvaluateAsRelocatableImpl (MCValue &Res, const MCAssembler *Asm, const MCAsmLayout *Layout, const SectionAddrMap *Addrs, bool InSet) const |
Definition at line 130 of file MCExpr.h.
References llvm::MCExpr::Constant, and llvm::MCExpr::getKind().
|
static |
Definition at line 152 of file MCExpr.cpp.
Referenced by llvm::MCELFStreamer::EmitCommonSymbol(), llvm::MCStreamer::EmitFill(), llvm::AsmPrinter::EmitGlobalVariable(), llvm::ARMAsmPrinter::EmitInstruction(), llvm::ARMAsmPrinter::EmitJump2Table(), llvm::ARMAsmPrinter::EmitJumpTable(), llvm::AsmPrinter::EmitLabelOffsetDifference(), llvm::AsmPrinter::EmitLabelPlusOffset(), llvm::ARMAsmPrinter::EmitMachineConstantPoolValue(), llvm::TargetLoweringObjectFileELF::emitPersonalityValue(), llvm::X86AsmPrinter::EmitStartOfAsmFile(), llvm::SystemZMCInstLower::getExpr(), llvm::X86_64MCAsmInfoDarwin::getExprForPersonalitySymbol(), GetSymbolRef(), llvm::X86_64MachoTargetObjectFile::getTTypeGlobalReference(), nvptx::LowerConstant(), lowerConstant(), llvm::MSP430MCInstLower::LowerSymbolOperand(), llvm::AArch64AsmPrinter::lowerSymbolOperand(), MakeStartMinusEndExpr(), llvm::MCExternalSymbolizer::tryAddingSymbolicOperand(), and llvm::MCObjectSymbolizer::tryAddingSymbolicOperand().
|
inline |
Definition at line 126 of file MCExpr.h.
Referenced by llvm::MipsGetSymAndOffset().