Home
last modified time | relevance | path

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

12345678910>>...26

/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
125 inline raw_ostream &operator<<(raw_ostream &OS, const MCExpr &E) {
131 class MCConstantExpr : public MCExpr {
135 : MCExpr(MCExpr::Constant), Value(Value) {} in MCConstantExpr()
151 static bool classof(const MCExpr *E) { in classof()
152 return E->getKind() == MCExpr::Constant; in classof()
161 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;
139 void EmitGPRel32Value(const MCExpr *Value) override;
140 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.h32 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);
141 const MCExpr *addConstantPoolEntry(const MCExpr *, SMLoc Loc);
209 void visitUsedExpr(const MCExpr &Expr);
316 virtual void ChangeSection(MCSection *, const MCExpr *);
343 bool SubSection(const MCExpr *Subsection) { in SubSection()
356 const MCExpr *Subsection = nullptr);
362 const MCExpr *Subsection = nullptr) {
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCExpr.h35 class MCExpr {
54 explicit MCExpr(ExprKind Kind, SMLoc Loc) : Kind(Kind), Loc(Loc) {} in MCExpr() function
62 MCExpr(const MCExpr &) = delete;
63 MCExpr &operator=(const MCExpr &) = delete;
125 inline raw_ostream &operator<<(raw_ostream &OS, const MCExpr &E) {
131 class MCConstantExpr : public MCExpr {
136 : MCExpr(MCExpr::Constant, SMLoc()), Value(Value) {} in MCConstantExpr()
139 : MCExpr(MCExpr::Constant, SMLoc()), Value(Value), in MCConstantExpr()
159 static bool classof(const MCExpr *E) { in classof()
160 return E->getKind() == MCExpr::Constant; in classof()
[all …]
DMCObjectStreamer.h21 class MCExpr; variable
91 bool changeSectionImpl(MCSection *Section, const MCExpr *Subsection);
119 void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) override;
120 void EmitValueImpl(const MCExpr *Value, unsigned Size,
122 void EmitULEB128Value(const MCExpr *Value) override;
123 void EmitSLEB128Value(const MCExpr *Value) override;
125 void ChangeSection(MCSection *Section, const MCExpr *Subsection) override;
141 void emitValueToOffset(const MCExpr *Offset, unsigned char Value,
168 void EmitDTPRel32Value(const MCExpr *Value) override;
169 void EmitDTPRel64Value(const MCExpr *Value) override;
[all …]
DMCStreamer.h46 class MCExpr; variable
64 using MCSectionSubPair = std::pair<MCSection *, const MCExpr *>;
104 virtual void emitAssignment(MCSymbol *Symbol, const MCExpr *Value);
117 const MCExpr *SubSection, raw_ostream &OS);
119 virtual void emitValue(const MCExpr *Value);
166 virtual void emitThumbSet(MCSymbol *Symbol, const MCExpr *Value);
177 const MCExpr *addConstantPoolEntry(const MCExpr *, SMLoc Loc);
255 void visitUsedExpr(const MCExpr &Expr);
381 virtual void ChangeSection(MCSection *, const MCExpr *);
408 bool SubSection(const MCExpr *Subsection) { in SubSection()
[all …]
DConstantPools.h26 class MCExpr; variable
33 ConstantPoolEntry(MCSymbol *L, const MCExpr *Val, unsigned Sz, SMLoc Loc_) in ConstantPoolEntry()
37 const MCExpr *Value;
58 const MCExpr *addEntry(const MCExpr *Value, MCContext &Context,
92 const MCExpr *addEntry(MCStreamer &Streamer, const MCExpr *Expr,
/external/llvm-project/llvm/include/llvm/MC/
DMCExpr.h35 class MCExpr {
61 explicit MCExpr(ExprKind Kind, SMLoc Loc, unsigned SubclassData = 0)
75 MCExpr(const MCExpr &) = delete;
76 MCExpr &operator=(const MCExpr &) = delete;
138 inline raw_ostream &operator<<(raw_ostream &OS, const MCExpr &E) {
144 class MCConstantExpr : public MCExpr {
158 : MCExpr(MCExpr::Constant, SMLoc(), in MCConstantExpr()
182 static bool classof(const MCExpr *E) { in classof()
183 return E->getKind() == MCExpr::Constant; in classof()
192 class MCSymbolRefExpr : public MCExpr {
[all …]
DMCObjectStreamer.h22 class MCExpr; variable
92 bool changeSectionImpl(MCSection *Section, const MCExpr *Subsection);
120 void emitAssignment(MCSymbol *Symbol, const MCExpr *Value) override;
121 void emitValueImpl(const MCExpr *Value, unsigned Size,
123 void emitULEB128Value(const MCExpr *Value) override;
124 void emitSLEB128Value(const MCExpr *Value) override;
126 void changeSection(MCSection *Section, const MCExpr *Subsection) override;
142 void emitValueToOffset(const MCExpr *Offset, unsigned char Value,
168 void emitDTPRel32Value(const MCExpr *Value) override;
169 void emitDTPRel64Value(const MCExpr *Value) override;
[all …]
DConstantPools.h25 class MCExpr; variable
32 ConstantPoolEntry(MCSymbol *L, const MCExpr *Val, unsigned Sz, SMLoc Loc_) in ConstantPoolEntry()
36 const MCExpr *Value;
57 const MCExpr *addEntry(const MCExpr *Value, MCContext &Context,
91 const MCExpr *addEntry(MCStreamer &Streamer, const MCExpr *Expr,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCExpr.cpp22 HexagonMCExpr *HexagonMCExpr::create(MCExpr const *Expr, MCContext &Ctx) { in create()
40 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { in fixELFSymbolsInTLSFixupsImpl()
42 case MCExpr::Target: in fixELFSymbolsInTLSFixupsImpl()
45 case MCExpr::Constant: in fixELFSymbolsInTLSFixupsImpl()
48 case MCExpr::Binary: { in fixELFSymbolsInTLSFixupsImpl()
54 case MCExpr::SymbolRef: { in fixELFSymbolsInTLSFixupsImpl()
71 case MCExpr::Unary: in fixELFSymbolsInTLSFixupsImpl()
82 MCExpr const *HexagonMCExpr::getExpr() const { return Expr; } in getExpr()
101 bool HexagonMCExpr::classof(MCExpr const *E) { in classof()
102 return E->getKind() == MCExpr::Target; in classof()
[all …]
/external/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCExpr.cpp22 HexagonMCExpr *HexagonMCExpr::create(MCExpr const *Expr, MCContext &Ctx) { in create()
40 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { in fixELFSymbolsInTLSFixupsImpl()
42 case MCExpr::Target: in fixELFSymbolsInTLSFixupsImpl()
45 case MCExpr::Constant: in fixELFSymbolsInTLSFixupsImpl()
48 case MCExpr::Binary: { in fixELFSymbolsInTLSFixupsImpl()
54 case MCExpr::SymbolRef: { in fixELFSymbolsInTLSFixupsImpl()
71 case MCExpr::Unary: in fixELFSymbolsInTLSFixupsImpl()
82 MCExpr const *HexagonMCExpr::getExpr() const { return Expr; } in getExpr()
101 bool HexagonMCExpr::classof(MCExpr const *E) { in classof()
102 return E->getKind() == MCExpr::Target; in classof()
[all …]
/external/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCExpr.h35 const MCExpr *Expr;
39 explicit PPCMCExpr(VariantKind Kind, const MCExpr *Expr) in PPCMCExpr()
46 static const PPCMCExpr *create(VariantKind Kind, const MCExpr *Expr,
49 static const PPCMCExpr *createLo(const MCExpr *Expr, MCContext &Ctx) { in createLo()
53 static const PPCMCExpr *createHi(const MCExpr *Expr, MCContext &Ctx) { in createHi()
57 static const PPCMCExpr *createHa(const MCExpr *Expr, MCContext &Ctx) { in createHa()
69 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr()
87 static bool classof(const MCExpr *E) { in classof()
88 return E->getKind() == MCExpr::Target; in classof()
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCExpr.h35 const MCExpr *Expr;
40 explicit PPCMCExpr(VariantKind Kind, const MCExpr *Expr, bool IsDarwin) in PPCMCExpr()
47 static const PPCMCExpr *create(VariantKind Kind, const MCExpr *Expr,
50 static const PPCMCExpr *createLo(const MCExpr *Expr, in createLo()
55 static const PPCMCExpr *createHi(const MCExpr *Expr, in createHi()
60 static const PPCMCExpr *createHa(const MCExpr *Expr, in createHa()
73 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr()
95 static bool classof(const MCExpr *E) { in classof()
96 return E->getKind() == MCExpr::Target; in classof()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCExpr.h26 const MCExpr *Expr;
28 explicit ARMMCExpr(VariantKind Kind, const MCExpr *Expr) in ARMMCExpr()
35 static const ARMMCExpr *create(VariantKind Kind, const MCExpr *Expr,
38 static const ARMMCExpr *createUpper16(const MCExpr *Expr, MCContext &Ctx) { in createUpper16()
42 static const ARMMCExpr *createLower16(const MCExpr *Expr, MCContext &Ctx) { in createLower16()
54 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr()
72 static bool classof(const MCExpr *E) { in classof()
73 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()
/external/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCExpr.h26 const MCExpr *Expr;
28 explicit ARMMCExpr(VariantKind Kind, const MCExpr *Expr) in ARMMCExpr()
35 static const ARMMCExpr *create(VariantKind Kind, const MCExpr *Expr,
38 static const ARMMCExpr *createUpper16(const MCExpr *Expr, MCContext &Ctx) { in createUpper16()
42 static const ARMMCExpr *createLower16(const MCExpr *Expr, MCContext &Ctx) { in createLower16()
54 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr()
72 static bool classof(const MCExpr *E) { in classof()
73 return E->getKind() == MCExpr::Target; in classof()
/external/llvm-project/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp18 const MCExpr *X86_64MachoTargetObjectFile::getTTypeGlobalReference( in getTTypeGlobalReference()
26 const MCExpr *Res = in getTTypeGlobalReference()
28 const MCExpr *Four = MCConstantExpr::create(4, getContext()); in getTTypeGlobalReference()
42 const MCExpr *X86_64MachoTargetObjectFile::getIndirectSymViaGOTPCRel( in getIndirectSymViaGOTPCRel()
49 const MCExpr *Res = in getIndirectSymViaGOTPCRel()
51 const MCExpr *Off = MCConstantExpr::create(FinalOff, getContext()); in getIndirectSymViaGOTPCRel()
55 const MCExpr *X86ELFTargetObjectFile::getDebugThreadLocalSymbol( in getDebugThreadLocalSymbol()
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCExpr.h52 const MCExpr *Expr;
54 explicit MipsMCExpr(MipsExprKind Kind, const MCExpr *Expr) in MipsMCExpr()
58 static const MipsMCExpr *create(MipsExprKind Kind, const MCExpr *Expr,
60 static const MipsMCExpr *createGpOff(MipsExprKind Kind, const MCExpr *Expr,
67 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr()
80 static bool classof(const MCExpr *E) { in classof()
81 return E->getKind() == MCExpr::Target; in classof()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DWinException.h21 class MCExpr; variable
66 SmallVectorImpl<std::pair<const MCExpr *, int>> &IPToStateTable);
73 const MCExpr *create32bitRef(const MCSymbol *Value);
74 const MCExpr *create32bitRef(const GlobalValue *GV);
75 const MCExpr *getLabel(const MCSymbol *Label);
76 const MCExpr *getOffset(const MCSymbol *OffsetOf, const MCSymbol *OffsetFrom);
77 const MCExpr *getOffsetPlusOne(const MCSymbol *OffsetOf,
/external/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCExpr.h52 const MCExpr *Expr;
54 explicit MipsMCExpr(MipsExprKind Kind, const MCExpr *Expr) in MipsMCExpr()
58 static const MipsMCExpr *create(MipsExprKind Kind, const MCExpr *Expr,
60 static const MipsMCExpr *createGpOff(MipsExprKind Kind, const MCExpr *Expr,
67 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr()
80 static bool classof(const MCExpr *E) { in classof()
81 return E->getKind() == MCExpr::Target; in classof()
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCExpr.h52 const MCExpr *Expr;
54 explicit MipsMCExpr(MipsExprKind Kind, const MCExpr *Expr) in MipsMCExpr()
58 static const MipsMCExpr *create(MipsExprKind Kind, const MCExpr *Expr,
60 static const MipsMCExpr *createGpOff(MipsExprKind Kind, const MCExpr *Expr,
67 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr()
79 static bool classof(const MCExpr *E) { in classof()
80 return E->getKind() == MCExpr::Target; in classof()

12345678910>>...26