Home
last modified time | relevance | path

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

12345678910>>...17

/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-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/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/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/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-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/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-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/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/CodeGen/AsmPrinter/
DWinException.h22 class MCExpr; variable
68 SmallVectorImpl<std::pair<const MCExpr *, int>> &IPToStateTable);
75 const MCExpr *create32bitRef(const MCSymbol *Value);
76 const MCExpr *create32bitRef(const GlobalValue *GV);
77 const MCExpr *getLabel(const MCSymbol *Label);
78 const MCExpr *getOffset(const MCSymbol *OffsetOf, const MCSymbol *OffsetFrom);
79 const MCExpr *getOffsetPlusOne(const MCSymbol *OffsetOf,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiMCExpr.h23 const MCExpr *Expr;
25 explicit LanaiMCExpr(VariantKind Kind, const MCExpr *Expr) in LanaiMCExpr()
29 static const LanaiMCExpr *create(VariantKind Kind, const MCExpr *Expr,
36 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr()
49 static bool classof(const MCExpr *E) { in classof()
50 return E->getKind() == MCExpr::Target; in classof()
/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-10.0/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp25 const MCExpr *X86_64MachoTargetObjectFile::getTTypeGlobalReference( in getTTypeGlobalReference()
33 const MCExpr *Res = in getTTypeGlobalReference()
35 const MCExpr *Four = MCConstantExpr::create(4, getContext()); in getTTypeGlobalReference()
49 const MCExpr *X86_64MachoTargetObjectFile::getIndirectSymViaGOTPCRel( in getIndirectSymViaGOTPCRel()
56 const MCExpr *Res = in getIndirectSymViaGOTPCRel()
58 const MCExpr *Off = MCConstantExpr::create(FinalOff, getContext()); in getIndirectSymViaGOTPCRel()
62 const MCExpr *X86ELFTargetObjectFile::getDebugThreadLocalSymbol( in getDebugThreadLocalSymbol()
/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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCExpr.cpp26 const AArch64MCExpr *AArch64MCExpr::create(const MCExpr *Expr, VariantKind Kind, in create()
113 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { in fixELFSymbolsInTLSFixupsImpl()
115 case MCExpr::Target: in fixELFSymbolsInTLSFixupsImpl()
118 case MCExpr::Constant: in fixELFSymbolsInTLSFixupsImpl()
121 case MCExpr::Binary: { in fixELFSymbolsInTLSFixupsImpl()
128 case MCExpr::SymbolRef: { in fixELFSymbolsInTLSFixupsImpl()
136 case MCExpr::Unary: in fixELFSymbolsInTLSFixupsImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVMCExpr.h44 const MCExpr *Expr;
49 explicit RISCVMCExpr(const MCExpr *Expr, VariantKind Kind) in RISCVMCExpr()
53 static const RISCVMCExpr *create(const MCExpr *Expr, VariantKind Kind,
58 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-10.0/llvm/lib/Target/AVR/MCTargetDesc/
DAVRMCExpr.h41 static const AVRMCExpr *create(VariantKind Kind, const MCExpr *Expr,
48 const MCExpr *getSubExpr() const { return SubExpr; } in getSubExpr()
69 static bool classof(const MCExpr *E) { in classof()
70 return E->getKind() == MCExpr::Target; in classof()
80 const MCExpr *SubExpr;
84 explicit AVRMCExpr(VariantKind Kind, const MCExpr *Expr, bool Negated) in AVRMCExpr()
/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()

12345678910>>...17