HomeSort by relevance Sort by last modified time
    Searched refs:MCExpr (Results 1 - 25 of 168) sorted by null

1 2 3 4 5 6 7

  /external/llvm/include/llvm/MC/
MCRelocationInfo.h 26 class MCExpr;
41 /// \brief Create an MCExpr for the relocation \p Rel.
42 /// \returns If possible, an MCExpr corresponding to Rel, else 0.
43 virtual const MCExpr *createExprForRelocation(object::RelocationRef Rel);
45 /// \brief Create an MCExpr for the target-specific \p VariantKind.
48 /// \returns If possible, an MCExpr corresponding to VariantKind, else 0.
49 virtual const MCExpr *createExprForCAPIVariantKind(const MCExpr *SubExpr,
MCExpr.h 1 //===- MCExpr.h - Assembly Level Expressions --------------------*- C++ -*-===//
34 class MCExpr {
47 MCExpr(const MCExpr&) = delete;
48 void operator=(const MCExpr&) = delete;
59 explicit MCExpr(ExprKind Kind) : Kind(Kind) {}
124 inline raw_ostream &operator<<(raw_ostream &OS, const MCExpr &E) {
130 class MCConstantExpr : public MCExpr {
134 : MCExpr(MCExpr::Constant), Value(Value) {
    [all...]
ConstantPools.h 24 class MCExpr;
30 ConstantPoolEntry(MCSymbol *L, const MCExpr *Val, unsigned Sz, SMLoc Loc_)
33 const MCExpr *Value;
52 // \returns a MCExpr that references the newly inserted value
53 const MCExpr *addEntry(const MCExpr *Value, MCContext &Context,
84 const MCExpr *addEntry(MCStreamer &Streamer, const MCExpr *Expr,
MCSymbolELF.h 18 const MCExpr *SymbolSize = nullptr;
23 void setSize(const MCExpr *SS) { SymbolSize = SS; }
25 const MCExpr *getSize() const { return SymbolSize; }
MCObjectStreamer.h 22 class MCExpr;
76 bool changeSectionImpl(MCSection *Section, const MCExpr *Subsection);
93 void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) override;
94 void EmitValueImpl(const MCExpr *Value, unsigned Size,
96 void EmitULEB128Value(const MCExpr *Value) override;
97 void EmitSLEB128Value(const MCExpr *Value) override;
99 void ChangeSection(MCSection *Section, const MCExpr *Subsection) override;
115 void emitValueToOffset(const MCExpr *Offset, unsigned char Value) override;
125 void EmitGPRel32Value(const MCExpr *Value) override;
126 void EmitGPRel64Value(const MCExpr *Value) override
    [all...]
MCFixup.h 13 #include "llvm/MC/MCExpr.h"
20 class MCExpr;
66 const MCExpr *Value;
78 static MCFixup create(uint32_t Offset, const MCExpr *Value,
94 const MCExpr *getValue() const { return Value; }
  /external/llvm/include/llvm/MC/MCParser/
MCAsmParserUtils.h 16 class MCExpr;
28 const MCExpr *&Value);
  /external/llvm/lib/Target/Hexagon/MCTargetDesc/
HexagonMCExpr.h 13 #include "llvm/MC/MCExpr.h"
19 static HexagonNoExtendOperand *Create(MCExpr const *Expr, MCContext &Ctx);
26 static bool classof(MCExpr const *E);
27 MCExpr const *getExpr() const;
30 HexagonNoExtendOperand(MCExpr const *Expr);
31 MCExpr const *Expr;
HexagonMCExpr.cpp 18 #define DEBUG_TYPE "hexagon-mcexpr"
20 HexagonNoExtendOperand *HexagonNoExtendOperand::Create(MCExpr const *Expr,
38 MCExpr const *HexagonNoExtendOperand::getExpr() const { return Expr; }
40 bool HexagonNoExtendOperand::classof(MCExpr const *E) {
41 return E->getKind() == MCExpr::Target;
44 HexagonNoExtendOperand::HexagonNoExtendOperand(MCExpr const *Expr)
  /external/llvm/lib/Target/Mips/MCTargetDesc/
MipsMCExpr.h 14 #include "llvm/MC/MCExpr.h"
31 const MCExpr *Expr;
33 explicit MipsMCExpr(VariantKind Kind, const MCExpr *Expr)
41 const MCExpr *Expr, MCContext &Ctx);
47 const MCExpr *getSubExpr() const { return Expr; }
61 static bool classof(const MCExpr *E) {
62 return E->getKind() == MCExpr::Target;
  /external/llvm/lib/MC/MCDisassembler/
MCRelocationInfo.cpp 24 const MCExpr *
29 const MCExpr *
30 MCRelocationInfo::createExprForCAPIVariantKind(const MCExpr *SubExpr,
  /external/llvm/lib/Target/ARM/MCTargetDesc/
ARMMCExpr.cpp 19 ARMMCExpr::create(VariantKind Kind, const MCExpr *Expr,
31 const MCExpr *Expr = getSubExpr();
32 if (Expr->getKind() != MCExpr::SymbolRef)
35 if (Expr->getKind() != MCExpr::SymbolRef)
ARMMCExpr.h 13 #include "llvm/MC/MCExpr.h"
27 const MCExpr *Expr;
29 explicit ARMMCExpr(VariantKind Kind, const MCExpr *Expr)
36 static const ARMMCExpr *create(VariantKind Kind, const MCExpr *Expr,
39 static const ARMMCExpr *createUpper16(const MCExpr *Expr, MCContext &Ctx) {
43 static const ARMMCExpr *createLower16(const MCExpr *Expr, MCContext &Ctx) {
55 const MCExpr *getSubExpr() const { return Expr; }
73 static bool classof(const MCExpr *E) {
74 return E->getKind() == MCExpr::Target;
ARMMachORelocationInfo.cpp 14 #include "llvm/MC/MCExpr.h"
25 const MCExpr *createExprForCAPIVariantKind(const MCExpr *SubExpr,
  /external/llvm/lib/Target/PowerPC/MCTargetDesc/
PPCMCExpr.h 14 #include "llvm/MC/MCExpr.h"
34 const MCExpr *Expr;
39 explicit PPCMCExpr(VariantKind Kind, const MCExpr *Expr, bool IsDarwin)
46 static const PPCMCExpr *create(VariantKind Kind, const MCExpr *Expr,
49 static const PPCMCExpr *createLo(const MCExpr *Expr,
54 static const PPCMCExpr *createHi(const MCExpr *Expr,
59 static const PPCMCExpr *createHa(const MCExpr *Expr,
72 const MCExpr *getSubExpr() const { return Expr; }
94 static bool classof(const MCExpr *E) {
95 return E->getKind() == MCExpr::Target
    [all...]
  /external/llvm/lib/Target/AArch64/MCTargetDesc/
AArch64TargetStreamer.h 26 /// MCExpr that can be used to refer to the constant pool location.
27 const MCExpr *addConstantPoolEntry(const MCExpr *, unsigned Size, SMLoc Loc);
AArch64TargetStreamer.cpp 28 const MCExpr *AArch64TargetStreamer::addConstantPoolEntry(const MCExpr *Expr,
  /external/llvm/lib/Target/Sparc/MCTargetDesc/
SparcMCAsmInfo.h 27 const MCExpr*
30 const MCExpr* getExprForFDESymbol(const MCSymbol *Sym,
SparcMCExpr.h 19 #include "llvm/MC/MCExpr.h"
63 const MCExpr *Expr;
65 explicit SparcMCExpr(VariantKind Kind, const MCExpr *Expr)
72 static const SparcMCExpr *create(VariantKind Kind, const MCExpr *Expr,
82 const MCExpr *getSubExpr() const { return Expr; }
99 static bool classof(const MCExpr *E) {
100 return E->getKind() == MCExpr::Target;
  /external/llvm/lib/CodeGen/AsmPrinter/
WinException.h 23 class MCExpr;
62 SmallVectorImpl<std::pair<const MCExpr *, int>> &IPToStateTable);
69 const MCExpr *create32bitRef(const MCSymbol *Value);
70 const MCExpr *create32bitRef(const GlobalValue *GV);
71 const MCExpr *getLabelPlusOne(const MCSymbol *Label);
72 const MCExpr *getOffset(const MCSymbol *OffsetOf, const MCSymbol *OffsetFrom);
73 const MCExpr *getOffsetPlusOne(const MCSymbol *OffsetOf,
AddressPool.cpp 17 class MCExpr;
35 SmallVector<const MCExpr *, 64> Entries(Pool.size());
43 for (const MCExpr *Entry : Entries)
  /external/llvm/lib/Target/X86/
X86TargetObjectFile.h 22 const MCExpr *
34 const MCExpr *getIndirectSymViaGOTPCRel(const MCSymbol *Sym,
44 const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override;
55 const MCExpr *
  /external/llvm/lib/Target/ARM/
ARMTargetObjectFile.h 31 const MCExpr *
38 const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override;
  /external/llvm/lib/Target/AArch64/
AArch64TargetObjectFile.cpp 14 #include "llvm/MC/MCExpr.h"
32 const MCExpr *AArch64_MachoTargetObjectFile::getTTypeGlobalReference(
42 const MCExpr *Res =
46 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext());
60 const MCExpr *AArch64_MachoTargetObjectFile::getIndirectSymViaGOTPCRel(
67 const MCExpr *Res =
71 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext());
AArch64TargetObjectFile.h 29 const MCExpr *getTTypeGlobalReference(const GlobalValue *GV,
39 const MCExpr *getIndirectSymViaGOTPCRel(const MCSymbol *Sym,

Completed in 393 milliseconds

1 2 3 4 5 6 7