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

1 2 3 4 5

  /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++ -*-===//
29 /// MCExpr - Base class for the full range of assembler expressions which are
31 class MCExpr {
44 MCExpr(const MCExpr&) LLVM_DELETED_FUNCTION;
45 void operator=(const MCExpr&) LLVM_DELETED_FUNCTION;
51 explicit MCExpr(ExprKind _Kind) : Kind(_Kind) {}
104 inline raw_ostream &operator<<(raw_ostream &OS, const MCExpr &E) {
110 class MCConstantExpr : public MCExpr {
114 : MCExpr(MCExpr::Constant), Value(_Value) {
    [all...]
MCObjectStreamer.h 20 class MCExpr;
70 const MCExpr *AddValueSymbols(const MCExpr *Value);
80 virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value);
81 virtual void EmitValueImpl(const MCExpr *Value, unsigned Size);
82 virtual void EmitULEB128Value(const MCExpr *Value);
83 virtual void EmitSLEB128Value(const MCExpr *Value);
86 const MCExpr *Subsection);
103 virtual bool EmitValueToOffset(const MCExpr *Offset, unsigned char Value);
114 virtual void EmitGPRel32Value(const MCExpr *Value)
    [all...]
MCSymbol.h 21 class MCExpr;
49 const MCExpr *Value;
60 friend class MCExpr;
137 const MCExpr *getVariableValue() const {
148 void setVariableValue(const MCExpr *Value);
MCSection.h 23 class MCExpr;
54 const MCExpr *Subsection) const = 0;
MCFixup.h 19 class MCExpr;
65 const MCExpr *Value;
77 static MCFixup Create(uint32_t Offset, const MCExpr *Value,
93 const MCExpr *getValue() const { return Value; }
MCStreamer.h 30 class MCExpr;
40 typedef std::pair<const MCSection *, const MCExpr *> MCSectionSubPair;
98 const MCExpr *BuildSymbolDiff(MCContext &Context, const MCSymbol *A,
101 const MCExpr *ForceExpAbs(const MCExpr* Expr);
196 virtual void ChangeSection(const MCSection *, const MCExpr *) = 0;
220 bool SubSection(const MCExpr *Subsection) {
232 void SwitchSection(const MCSection *Section, const MCExpr *Subsection = 0) {
246 const MCExpr *Subsection = 0) {
314 virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) = 0
    [all...]
  /external/llvm/lib/Target/ARM/MCTargetDesc/
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; }
70 static bool classof(const MCExpr *E) {
71 return E->getKind() == MCExpr::Target;
ARMMCExpr.cpp 17 ARMMCExpr::Create(VariantKind Kind, const MCExpr *Expr,
29 const MCExpr *Expr = getSubExpr();
30 if (Expr->getKind() != MCExpr::SymbolRef)
33 if (Expr->getKind() != MCExpr::SymbolRef)
45 static void AddValueSymbols_(const MCExpr *Value, MCAssembler *Asm) {
47 case MCExpr::Target:
50 case MCExpr::Constant:
53 case MCExpr::Binary: {
60 case MCExpr::SymbolRef:
64 case MCExpr::Unary
    [all...]
ARMMachORelocationInfo.cpp 13 #include "llvm/MC/MCExpr.h"
25 const MCExpr *createExprForCAPIVariantKind(const MCExpr *SubExpr,
  /external/llvm/lib/MC/
MCRelocationInfo.cpp 24 const MCExpr *
29 const MCExpr *
30 MCRelocationInfo::createExprForCAPIVariantKind(const MCExpr *SubExpr,
MCNullStreamer.cpp 34 const MCExpr *Subsection) {
48 virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {}
65 virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) {}
76 virtual void EmitValueImpl(const MCExpr *Value, unsigned Size) {}
77 virtual void EmitULEB128Value(const MCExpr *Value) {}
78 virtual void EmitSLEB128Value(const MCExpr *Value) {}
79 virtual void EmitGPRel32Value(const MCExpr *Value) {}
87 virtual bool EmitValueToOffset(const MCExpr *Offset,
  /external/llvm/lib/Target/PowerPC/MCTargetDesc/
PPCMCExpr.h 13 #include "llvm/MC/MCExpr.h"
34 const MCExpr *Expr;
37 explicit PPCMCExpr(VariantKind _Kind, const MCExpr *_Expr,
45 static const PPCMCExpr *Create(VariantKind Kind, const MCExpr *Expr,
48 static const PPCMCExpr *CreateLo(const MCExpr *Expr,
53 static const PPCMCExpr *CreateHi(const MCExpr *Expr,
58 static const PPCMCExpr *CreateHa(const MCExpr *Expr,
71 const MCExpr *getSubExpr() const { return Expr; }
90 static bool classof(const MCExpr *E) {
91 return E->getKind() == MCExpr::Target
    [all...]
PPCMCExpr.cpp 19 PPCMCExpr::Create(VariantKind Kind, const MCExpr *Expr,
128 static void AddValueSymbols_(const MCExpr *Value, MCAssembler *Asm) {
130 case MCExpr::Target:
133 case MCExpr::Constant:
136 case MCExpr::Binary: {
143 case MCExpr::SymbolRef:
147 case MCExpr::Unary:
  /external/llvm/lib/Target/AArch64/MCTargetDesc/
AArch64MCExpr.h 18 #include "llvm/MC/MCExpr.h"
71 const MCExpr *Expr;
73 explicit AArch64MCExpr(VariantKind _Kind, const MCExpr *_Expr)
80 static const AArch64MCExpr *Create(VariantKind Kind, const MCExpr *Expr,
83 static const AArch64MCExpr *CreateLo12(const MCExpr *Expr, MCContext &Ctx) {
87 static const AArch64MCExpr *CreateGOT(const MCExpr *Expr, MCContext &Ctx) {
91 static const AArch64MCExpr *CreateGOTLo12(const MCExpr *Expr,
96 static const AArch64MCExpr *CreateDTPREL_G1(const MCExpr *Expr,
101 static const AArch64MCExpr *CreateDTPREL_G0_NC(const MCExpr *Expr,
106 static const AArch64MCExpr *CreateGOTTPREL(const MCExpr *Expr
    [all...]
AArch64MCExpr.cpp 25 AArch64MCExpr::Create(VariantKind Kind, const MCExpr *Expr,
71 const MCExpr *Expr = getSubExpr();
72 if (Expr->getKind() != MCExpr::SymbolRef)
75 if (Expr->getKind() != MCExpr::SymbolRef)
85 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) {
87 case MCExpr::Target:
90 case MCExpr::Constant:
93 case MCExpr::Binary: {
100 case MCExpr::SymbolRef: {
109 case MCExpr::Unary
    [all...]
  /external/llvm/lib/Target/X86/
X86TargetObjectFile.h 23 virtual const MCExpr *
41 virtual const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const;
X86TargetObjectFile.cpp 12 #include "llvm/MC/MCExpr.h"
20 const MCExpr *X86_64MachoTargetObjectFile::
29 const MCExpr *Res =
31 const MCExpr *Four = MCConstantExpr::Create(4, getContext());
51 const MCExpr *
  /external/llvm/lib/Target/Mips/MCTargetDesc/
MipsBaseInfo.h 19 #include "llvm/MC/MCExpr.h"
132 const MCExpr *Expr = Fixup.getValue();
133 MCExpr::ExprKind Kind = Expr->getKind();
135 if (Kind == MCExpr::Binary) {
137 const MCExpr *LHS = BE->getLHS();
140 if ((LHS->getKind() != MCExpr::SymbolRef) || !CE)
146 if (Kind != MCExpr::SymbolRef)
  /external/llvm/lib/Target/ARM/
ARMTargetObjectFile.h 31 const MCExpr *
  /external/llvm/lib/Target/NVPTX/
NVPTXSection.h 36 const MCExpr *Subsection) const {}
NVPTXMCExpr.h 16 #include "llvm/MC/MCExpr.h"
77 static bool classof(const MCExpr *E) {
78 return E->getKind() == MCExpr::Target;
  /external/llvm/lib/Target/PowerPC/
PPCTargetObjectFile.h 30 virtual const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const;
PPCTargetObjectFile.cpp 12 #include "llvm/MC/MCExpr.h"
59 const MCExpr *PPC64LinuxTargetObjectFile::
61 const MCExpr *Expr =
  /external/llvm/include/llvm/Target/
TargetLoweringObjectFile.h 27 class MCExpr;
112 /// getTTypeGlobalReference - Return an MCExpr to use for a reference
115 virtual const MCExpr *
126 const MCExpr *
143 virtual const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const;

Completed in 445 milliseconds

1 2 3 4 5