Home
last modified time | relevance | path

Searched refs:MCExpr (Results 1 – 25 of 171) sorted by relevance

1234567

/external/llvm/include/llvm/MC/
DMCExpr.h34 class MCExpr {
47 MCExpr(const MCExpr&) = delete;
48 void operator=(const MCExpr&) = delete;
59 explicit MCExpr(ExprKind Kind) : Kind(Kind) {} in MCExpr() function
124 inline raw_ostream &operator<<(raw_ostream &OS, const MCExpr &E) {
130 class MCConstantExpr : public MCExpr {
134 : MCExpr(MCExpr::Constant), Value(Value) {} in MCConstantExpr()
150 static bool classof(const MCExpr *E) { in classof()
151 return E->getKind() == MCExpr::Constant; in classof()
160 class MCSymbolRefExpr : public MCExpr {
[all …]
DMCObjectStreamer.h22 class MCExpr; variable
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 …]
DConstantPools.h24 class MCExpr; variable
30 ConstantPoolEntry(MCSymbol *L, const MCExpr *Val, unsigned Sz, SMLoc Loc_) in ConstantPoolEntry()
33 const MCExpr *Value;
53 const MCExpr *addEntry(const MCExpr *Value, MCContext &Context,
84 const MCExpr *addEntry(MCStreamer &Streamer, const MCExpr *Expr,
DMCStreamer.h31 class MCExpr; variable
46 typedef std::pair<MCSection *, const MCExpr *> MCSectionSubPair;
86 virtual void emitAssignment(MCSymbol *Symbol, const MCExpr *Value);
130 virtual void emitThumbSet(MCSymbol *Symbol, const MCExpr *Value);
137 const MCExpr *addConstantPoolEntry(const MCExpr *, SMLoc Loc);
199 void visitUsedExpr(const MCExpr &Expr);
298 virtual void ChangeSection(MCSection *, const MCExpr *);
325 bool SubSection(const MCExpr *Subsection) { in SubSection()
338 const MCExpr *Subsection = nullptr);
344 const MCExpr *Subsection = nullptr) {
[all …]
DMCRelocationInfo.h26 class MCExpr; variable
43 virtual const MCExpr *createExprForRelocation(object::RelocationRef Rel);
49 virtual const MCExpr *createExprForCAPIVariantKind(const MCExpr *SubExpr,
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCExpr.h34 const MCExpr *Expr;
39 explicit PPCMCExpr(VariantKind Kind, const MCExpr *Expr, bool IsDarwin) in PPCMCExpr()
46 static const PPCMCExpr *create(VariantKind Kind, const MCExpr *Expr,
49 static const PPCMCExpr *createLo(const MCExpr *Expr, in createLo()
54 static const PPCMCExpr *createHi(const MCExpr *Expr, in createHi()
59 static const PPCMCExpr *createHa(const MCExpr *Expr, in createHa()
72 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr()
94 static bool classof(const MCExpr *E) { in classof()
95 return E->getKind() == MCExpr::Target; in classof()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCExpr.h27 const MCExpr *Expr;
29 explicit ARMMCExpr(VariantKind Kind, const MCExpr *Expr) in ARMMCExpr()
36 static const ARMMCExpr *create(VariantKind Kind, const MCExpr *Expr,
39 static const ARMMCExpr *createUpper16(const MCExpr *Expr, MCContext &Ctx) { in createUpper16()
43 static const ARMMCExpr *createLower16(const MCExpr *Expr, MCContext &Ctx) { in createLower16()
55 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr()
73 static bool classof(const MCExpr *E) { in classof()
74 return E->getKind() == MCExpr::Target; in classof()
DARMMCExpr.cpp19 ARMMCExpr::create(VariantKind Kind, const MCExpr *Expr, in create()
31 const MCExpr *Expr = getSubExpr(); in printImpl()
32 if (Expr->getKind() != MCExpr::SymbolRef) in printImpl()
35 if (Expr->getKind() != MCExpr::SymbolRef) in printImpl()
/external/llvm/lib/CodeGen/AsmPrinter/
DWinException.h23 class MCExpr; variable
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,
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCExpr.h31 const MCExpr *Expr;
33 explicit MipsMCExpr(VariantKind Kind, const MCExpr *Expr) in MipsMCExpr()
41 const MCExpr *Expr, MCContext &Ctx);
47 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr()
61 static bool classof(const MCExpr *E) { in classof()
62 return E->getKind() == MCExpr::Target; in classof()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCExpr.cpp28 const AArch64MCExpr *AArch64MCExpr::create(const MCExpr *Expr, VariantKind Kind, in create()
104 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { in fixELFSymbolsInTLSFixupsImpl()
106 case MCExpr::Target: in fixELFSymbolsInTLSFixupsImpl()
109 case MCExpr::Constant: in fixELFSymbolsInTLSFixupsImpl()
112 case MCExpr::Binary: { in fixELFSymbolsInTLSFixupsImpl()
119 case MCExpr::SymbolRef: { in fixELFSymbolsInTLSFixupsImpl()
127 case MCExpr::Unary: in fixELFSymbolsInTLSFixupsImpl()
DAArch64MCExpr.h105 const MCExpr *Expr;
108 explicit AArch64MCExpr(const MCExpr *Expr, VariantKind Kind) in AArch64MCExpr()
115 static const AArch64MCExpr *create(const MCExpr *Expr, VariantKind Kind,
126 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr()
159 static bool classof(const MCExpr *E) { in classof()
160 return E->getKind() == MCExpr::Target; in classof()
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCExpr.h19 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;
DHexagonMCExpr.cpp20 HexagonNoExtendOperand *HexagonNoExtendOperand::Create(MCExpr const *Expr, in Create()
38 MCExpr const *HexagonNoExtendOperand::getExpr() const { return Expr; } in getExpr()
40 bool HexagonNoExtendOperand::classof(MCExpr const *E) { in classof()
41 return E->getKind() == MCExpr::Target; in classof()
44 HexagonNoExtendOperand::HexagonNoExtendOperand(MCExpr const *Expr) in HexagonNoExtendOperand()
/external/llvm/lib/MC/
DMCObjectStreamer.cpp124 void MCObjectStreamer::EmitValueImpl(const MCExpr *Value, unsigned Size, in EmitValueImpl()
173 void MCObjectStreamer::EmitULEB128Value(const MCExpr *Value) { in EmitULEB128Value()
182 void MCObjectStreamer::EmitSLEB128Value(const MCExpr *Value) { in EmitSLEB128Value()
197 const MCExpr *Subsection) { in ChangeSection()
202 const MCExpr *Subsection) { in changeSectionImpl()
219 void MCObjectStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) { in EmitAssignment()
312 static const MCExpr *buildSymbolDiff(MCObjectStreamer &OS, const MCSymbol *A, in buildSymbolDiff()
316 const MCExpr *ARef = MCSymbolRefExpr::create(A, Variant, Context); in buildSymbolDiff()
317 const MCExpr *BRef = MCSymbolRefExpr::create(B, Variant, Context); in buildSymbolDiff()
318 const MCExpr *AddrDelta = in buildSymbolDiff()
[all …]
DMCExpr.cpp33 void MCExpr::print(raw_ostream &OS, const MCAsmInfo *MAI) const { in print()
35 case MCExpr::Target: in print()
37 case MCExpr::Constant: in print()
41 case MCExpr::SymbolRef: { in print()
60 case MCExpr::Unary: { in print()
72 case MCExpr::Binary: { in print()
132 void MCExpr::dump() const { in dump()
140 const MCBinaryExpr *MCBinaryExpr::create(Opcode Opc, const MCExpr *LHS, in create()
141 const MCExpr *RHS, MCContext &Ctx) { in create()
145 const MCUnaryExpr *MCUnaryExpr::create(Opcode Opc, const MCExpr *Expr, in create()
[all …]
DMCStreamer.cpp41 void MCTargetStreamer::emitAssignment(MCSymbol *Symbol, const MCExpr *Value) {} in emitAssignment()
110 void MCStreamer::EmitValue(const MCExpr *Value, unsigned Size, SMLoc Loc) { in EmitValue()
125 void MCStreamer::EmitGPRel64Value(const MCExpr *Value) { in EmitGPRel64Value()
129 void MCStreamer::EmitGPRel32Value(const MCExpr *Value) { in EmitGPRel32Value()
136 const MCExpr *E = MCConstantExpr::create(FillValue, getContext()); in EmitFill()
604 void MCStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) { in EmitAssignment()
621 void MCStreamer::visitUsedExpr(const MCExpr &Expr) { in visitUsedExpr()
623 case MCExpr::Target: in visitUsedExpr()
627 case MCExpr::Constant: in visitUsedExpr()
630 case MCExpr::Binary: { in visitUsedExpr()
[all …]
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCExpr.h63 const MCExpr *Expr;
65 explicit SparcMCExpr(VariantKind Kind, const MCExpr *Expr) in SparcMCExpr()
72 static const SparcMCExpr *create(VariantKind Kind, const MCExpr *Expr,
82 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr()
99 static bool classof(const MCExpr *E) { in classof()
100 return E->getKind() == MCExpr::Target; in classof()
DSparcMCExpr.cpp28 SparcMCExpr::create(VariantKind Kind, const MCExpr *Expr, in create()
37 const MCExpr *Expr = getSubExpr(); in printImpl()
165 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { in fixELFSymbolsInTLSFixupsImpl()
167 case MCExpr::Target: in fixELFSymbolsInTLSFixupsImpl()
171 case MCExpr::Constant: in fixELFSymbolsInTLSFixupsImpl()
174 case MCExpr::Binary: { in fixELFSymbolsInTLSFixupsImpl()
181 case MCExpr::SymbolRef: { in fixELFSymbolsInTLSFixupsImpl()
187 case MCExpr::Unary: in fixELFSymbolsInTLSFixupsImpl()
/external/llvm/lib/Target/AArch64/
DAArch64TargetObjectFile.cpp32 const MCExpr *AArch64_MachoTargetObjectFile::getTTypeGlobalReference( in getTTypeGlobalReference()
42 const MCExpr *Res = in getTTypeGlobalReference()
46 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); in getTTypeGlobalReference()
60 const MCExpr *AArch64_MachoTargetObjectFile::getIndirectSymViaGOTPCRel( in getIndirectSymViaGOTPCRel()
67 const MCExpr *Res = in getIndirectSymViaGOTPCRel()
71 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); in getIndirectSymViaGOTPCRel()
/external/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp26 const MCExpr *X86_64MachoTargetObjectFile::getTTypeGlobalReference( in getTTypeGlobalReference()
35 const MCExpr *Res = in getTTypeGlobalReference()
37 const MCExpr *Four = MCConstantExpr::create(4, getContext()); in getTTypeGlobalReference()
51 const MCExpr *X86_64MachoTargetObjectFile::getIndirectSymViaGOTPCRel( in getIndirectSymViaGOTPCRel()
58 const MCExpr *Res = in getIndirectSymViaGOTPCRel()
60 const MCExpr *Off = MCConstantExpr::create(FinalOff, getContext()); in getIndirectSymViaGOTPCRel()
64 const MCExpr *X86ELFTargetObjectFile::getDebugThreadLocalSymbol( in getDebugThreadLocalSymbol()
76 const MCExpr *X86WindowsTargetObjectFile::getExecutableRelativeSymbol( in getExecutableRelativeSymbol()
DX86TargetObjectFile.h22 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/PowerPC/
DPPCAsmPrinter.cpp435 const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, OutContext); in LowerPATCHPOINT()
480 const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, VK, OutContext); in EmitTlsCall()
517 const MCExpr *OffsExpr = in EmitInstruction()
556 const MCExpr *Exp = in EmitInstruction()
558 const MCExpr *PB = in EmitInstruction()
601 const MCExpr *Exp = in EmitInstruction()
608 const MCExpr *Exp = in EmitInstruction()
611 const MCExpr *PB = in EmitInstruction()
646 const MCExpr *Exp = in EmitInstruction()
687 const MCExpr *Exp = in EmitInstruction()
[all …]
/external/llvm/include/llvm/MC/MCParser/
DMCAsmParser.h23 class MCExpr; variable
172 virtual bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
173 bool parseExpression(const MCExpr *&Res);
180 virtual bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) = 0;
188 virtual bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
209 virtual bool parseParenExprOfDepth(unsigned ParenDepth, const MCExpr *&Res,
/external/llvm/include/llvm/Target/
DTargetLoweringObjectFile.h27 class MCExpr; variable
121 virtual const MCExpr *
138 const MCExpr *
154 virtual const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const;
156 virtual const MCExpr *
175 virtual const MCExpr *getIndirectSymViaGOTPCRel(const MCSymbol *Sym, in getIndirectSymViaGOTPCRel()

1234567