Home
last modified time | relevance | path

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

12345678910>>...19

/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCExpr.h32 class MCExpr {
45 MCExpr(const MCExpr&); // DO NOT IMPLEMENT
46 void operator=(const MCExpr&); // DO NOT IMPLEMENT
52 explicit MCExpr(ExprKind _Kind) : Kind(_Kind) {} in MCExpr() function
104 static bool classof(const MCExpr *) { return true; } in classof() argument
107 inline raw_ostream &operator<<(raw_ostream &OS, const MCExpr &E) {
113 class MCConstantExpr : public MCExpr {
117 : MCExpr(MCExpr::Constant), Value(_Value) {} in MCConstantExpr()
133 static bool classof(const MCExpr *E) { in classof()
134 return E->getKind() == MCExpr::Constant; in classof()
[all …]
DMCObjectStreamer.h19 class MCExpr; variable
56 const MCExpr *AddValueSymbols(const MCExpr *Value);
65 virtual void EmitValueImpl(const MCExpr *Value, unsigned Size,
67 virtual void EmitULEB128Value(const MCExpr *Value);
68 virtual void EmitSLEB128Value(const MCExpr *Value);
73 virtual void EmitValueToOffset(const MCExpr *Offset, unsigned char Value);
/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 …]
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 …]
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,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCExpr.h36 class MCExpr {
59 explicit MCExpr(ExprKind Kind, SMLoc Loc) : Kind(Kind), Loc(Loc) {} in MCExpr() function
67 MCExpr(const MCExpr &) = delete;
68 MCExpr &operator=(const MCExpr &) = delete;
130 inline raw_ostream &operator<<(raw_ostream &OS, const MCExpr &E) {
136 class MCConstantExpr : public MCExpr {
140 : MCExpr(MCExpr::Constant, SMLoc()), Value(Value) {} in MCConstantExpr()
156 static bool classof(const MCExpr *E) { in classof()
157 return E->getKind() == MCExpr::Constant; in classof()
166 class MCSymbolRefExpr : public MCExpr {
[all …]
DMCObjectStreamer.h22 class MCExpr; variable
82 bool changeSectionImpl(MCSection *Section, const MCExpr *Subsection);
103 void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) override;
104 void EmitValueImpl(const MCExpr *Value, unsigned Size,
106 void EmitULEB128Value(const MCExpr *Value) override;
107 void EmitSLEB128Value(const MCExpr *Value) override;
109 void ChangeSection(MCSection *Section, const MCExpr *Subsection) override;
126 void emitValueToOffset(const MCExpr *Offset, unsigned char Value,
157 void EmitDTPRel32Value(const MCExpr *Value) override;
158 void EmitDTPRel64Value(const MCExpr *Value) override;
[all …]
DMCStreamer.h46 class MCExpr; variable
56 using MCSectionSubPair = std::pair<MCSection *, const MCExpr *>;
96 virtual void emitAssignment(MCSymbol *Symbol, const MCExpr *Value);
108 const MCExpr *SubSection, raw_ostream &OS);
110 virtual void emitValue(const MCExpr *Value);
152 virtual void emitThumbSet(MCSymbol *Symbol, const MCExpr *Value);
163 const MCExpr *addConstantPoolEntry(const MCExpr *, SMLoc Loc);
239 void visitUsedExpr(const MCExpr &Expr);
356 virtual void ChangeSection(MCSection *, const MCExpr *);
383 bool SubSection(const MCExpr *Subsection) { in SubSection()
[all …]
DConstantPools.h27 class MCExpr; variable
34 ConstantPoolEntry(MCSymbol *L, const MCExpr *Val, unsigned Sz, SMLoc Loc_) in ConstantPoolEntry()
38 const MCExpr *Value;
59 const MCExpr *addEntry(const MCExpr *Value, MCContext &Context,
93 const MCExpr *addEntry(MCStreamer &Streamer, const MCExpr *Expr,
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/
DARMMCExpr.cpp17 ARMMCExpr::Create(VariantKind Kind, const MCExpr *Expr, in Create()
29 const MCExpr *Expr = getSubExpr(); in PrintImpl()
30 if (Expr->getKind() != MCExpr::SymbolRef) in PrintImpl()
33 if (Expr->getKind() != MCExpr::SymbolRef) in PrintImpl()
45 static void AddValueSymbols_(const MCExpr *Value, MCAssembler *Asm) { in AddValueSymbols_()
47 case MCExpr::Target: in AddValueSymbols_()
51 case MCExpr::Constant: in AddValueSymbols_()
54 case MCExpr::Binary: { in AddValueSymbols_()
61 case MCExpr::SymbolRef: in AddValueSymbols_()
65 case MCExpr::Unary: in AddValueSymbols_()
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()
67 static bool classof(const MCExpr *E) { in classof()
68 return E->getKind() == MCExpr::Target; in classof()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCExpr.cpp23 HexagonMCExpr *HexagonMCExpr::create(MCExpr const *Expr, MCContext &Ctx) { in create()
41 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { in fixELFSymbolsInTLSFixupsImpl()
43 case MCExpr::Target: in fixELFSymbolsInTLSFixupsImpl()
46 case MCExpr::Constant: in fixELFSymbolsInTLSFixupsImpl()
49 case MCExpr::Binary: { in fixELFSymbolsInTLSFixupsImpl()
55 case MCExpr::SymbolRef: { in fixELFSymbolsInTLSFixupsImpl()
72 case MCExpr::Unary: in fixELFSymbolsInTLSFixupsImpl()
83 MCExpr const *HexagonMCExpr::getExpr() const { return Expr; } in getExpr()
102 bool HexagonMCExpr::classof(MCExpr const *E) { in classof()
103 return E->getKind() == MCExpr::Target; in classof()
[all …]
/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-7.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCExpr.h36 const MCExpr *Expr;
41 explicit PPCMCExpr(VariantKind Kind, const MCExpr *Expr, bool IsDarwin) in PPCMCExpr()
48 static const PPCMCExpr *create(VariantKind Kind, const MCExpr *Expr,
51 static const PPCMCExpr *createLo(const MCExpr *Expr, in createLo()
56 static const PPCMCExpr *createHi(const MCExpr *Expr, in createHi()
61 static const PPCMCExpr *createHa(const MCExpr *Expr, in createHa()
74 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr()
96 static bool classof(const MCExpr *E) { in classof()
97 return E->getKind() == MCExpr::Target; in classof()
/external/swiftshader/third_party/LLVM/lib/MC/
DMCObjectStreamer.cpp63 const MCExpr *MCObjectStreamer::AddValueSymbols(const MCExpr *Value) { in AddValueSymbols()
65 case MCExpr::Target: in AddValueSymbols()
69 case MCExpr::Constant: in AddValueSymbols()
72 case MCExpr::Binary: { in AddValueSymbols()
79 case MCExpr::SymbolRef: in AddValueSymbols()
83 case MCExpr::Unary: in AddValueSymbols()
91 void MCObjectStreamer::EmitValueImpl(const MCExpr *Value, unsigned Size, in EmitValueImpl()
123 void MCObjectStreamer::EmitULEB128Value(const MCExpr *Value) { in EmitULEB128Value()
133 void MCObjectStreamer::EmitSLEB128Value(const MCExpr *Value) { in EmitSLEB128Value()
205 const MCExpr *AddrDelta = BuildSymbolDiff(getContext(), Label, LastLabel); in EmitDwarfAdvanceLineAddr()
[all …]
DMCNullStreamer.cpp43 virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {} in EmitAssignment()
59 virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) {} in EmitELFSize()
70 virtual void EmitValueImpl(const MCExpr *Value, unsigned Size, in EmitValueImpl()
72 virtual void EmitULEB128Value(const MCExpr *Value) {} in EmitULEB128Value()
73 virtual void EmitSLEB128Value(const MCExpr *Value) {} in EmitSLEB128Value()
74 virtual void EmitGPRel32Value(const MCExpr *Value) {} in EmitGPRel32Value()
82 virtual void EmitValueToOffset(const MCExpr *Offset, in EmitValueToOffset()
/external/swiftshader/third_party/llvm-7.0/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/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/swiftshader/third_party/llvm-7.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/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.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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DWinException.h23 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 *getLabelPlusOne(const MCSymbol *Label);
76 const MCExpr *getOffset(const MCSymbol *OffsetOf, const MCSymbol *OffsetFrom);
77 const MCExpr *getOffsetPlusOne(const MCSymbol *OffsetOf,
/external/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiMCExpr.h24 const MCExpr *Expr;
26 explicit LanaiMCExpr(VariantKind Kind, const MCExpr *Expr) in LanaiMCExpr()
30 static const LanaiMCExpr *create(VariantKind Kind, const MCExpr *Expr,
37 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr()
50 static bool classof(const MCExpr *E) { in classof()
51 return E->getKind() == MCExpr::Target; in classof()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiMCExpr.h24 const MCExpr *Expr;
26 explicit LanaiMCExpr(VariantKind Kind, const MCExpr *Expr) in LanaiMCExpr()
30 static const LanaiMCExpr *create(VariantKind Kind, const MCExpr *Expr,
37 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr()
50 static bool classof(const MCExpr *E) { in classof()
51 return E->getKind() == MCExpr::Target; in classof()

12345678910>>...19