Home
last modified time | relevance | path

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

123456789

/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCExpr.h36 class MCExpr {
67 MCExpr(const MCExpr &) = delete;
68 MCExpr &operator=(const MCExpr &) = delete;
140 : MCExpr(MCExpr::Constant, SMLoc()), Value(Value) {} in MCConstantExpr()
371 const MCExpr *Expr;
374 : MCExpr(MCExpr::Unary, Loc), Op(Op), Expr(Expr) {} in MCUnaryExpr()
449 MCBinaryExpr(Opcode Op, const MCExpr *LHS, const MCExpr *RHS,
451 : MCExpr(MCExpr::Binary, Loc), Op(Op), LHS(LHS), RHS(RHS) {} in MCExpr() function
476 static const MCBinaryExpr *createEQ(const MCExpr *LHS, const MCExpr *RHS, in createEQ()
481 static const MCBinaryExpr *createGT(const MCExpr *LHS, const MCExpr *RHS, in createGT()
[all …]
H A DMCObjectStreamer.h22 class MCExpr; variable
113 void EmitValueImpl(const MCExpr *Value, unsigned Size,
115 void EmitULEB128Value(const MCExpr *Value) override;
116 void EmitSLEB128Value(const MCExpr *Value) override;
166 void EmitDTPRel32Value(const MCExpr *Value) override;
167 void EmitDTPRel64Value(const MCExpr *Value) override;
168 void EmitTPRel32Value(const MCExpr *Value) override;
169 void EmitTPRel64Value(const MCExpr *Value) override;
170 void EmitGPRel32Value(const MCExpr *Value) override;
171 void EmitGPRel64Value(const MCExpr *Value) override;
[all …]
H A DMCStreamer.h47 class MCExpr; variable
111 virtual void emitValue(const MCExpr *Value);
169 const MCExpr *addConstantPoolEntry(const MCExpr *, SMLoc Loc);
240 void visitUsedExpr(const MCExpr &Expr);
392 bool SubSection(const MCExpr *Subsection) { in SubSection()
632 virtual void EmitULEB128Value(const MCExpr *Value);
634 virtual void EmitSLEB128Value(const MCExpr *Value);
668 virtual void EmitTPRel64Value(const MCExpr *Value);
675 virtual void EmitTPRel32Value(const MCExpr *Value);
682 virtual void EmitGPRel64Value(const MCExpr *Value);
[all …]
H A 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,
H A DMCFragment.h433 const MCExpr &NumValues;
446 const MCExpr &getNumValues() const { return NumValues; } in getNumValues()
457 const MCExpr *Offset;
466 MCOrgFragment(const MCExpr &Offset, int8_t Value, SMLoc Loc,
473 const MCExpr &getOffset() const { return *Offset; } in getOffset()
488 const MCExpr *Value;
504 const MCExpr &getValue() const { return *Value; } in getValue()
525 const MCExpr *AddrDelta;
538 const MCExpr &getAddrDelta() const { return *AddrDelta; } in getAddrDelta()
550 const MCExpr *AddrDelta;
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/MCTargetDesc/
H A 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 …]
H A DHexagonMCExpr.h19 static HexagonMCExpr *create(MCExpr const *Expr, MCContext &Ctx);
26 static bool classof(MCExpr const *E);
27 MCExpr const *getExpr() const;
38 HexagonMCExpr(MCExpr const *Expr);
39 MCExpr const *Expr;
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
H A 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()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/MCTargetDesc/
H A 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()
H A DARMMCExpr.cpp18 ARMMCExpr::create(VariantKind Kind, const MCExpr *Expr, in create()
30 const MCExpr *Expr = getSubExpr(); in printImpl()
31 if (Expr->getKind() != MCExpr::SymbolRef) in printImpl()
34 if (Expr->getKind() != MCExpr::SymbolRef) in printImpl()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCExpr.h53 const MCExpr *Expr;
55 explicit MipsMCExpr(MipsExprKind Kind, const MCExpr *Expr) in MipsMCExpr()
59 static const MipsMCExpr *create(MipsExprKind Kind, const MCExpr *Expr,
61 static const MipsMCExpr *createGpOff(MipsExprKind Kind, const MCExpr *Expr,
68 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr()
81 static bool classof(const MCExpr *E) { in classof()
82 return E->getKind() == MCExpr::Target; in classof()
H A DMipsMCExpr.cpp29 const MCExpr *Expr, MCContext &Ctx) { in create()
34 const MCExpr *Expr, MCContext &Ctx) { in createGpOff()
139 const MCExpr *SubExpr = in evaluateAsRelocatableImpl()
224 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { in fixELFSymbolsInTLSFixupsImpl()
226 case MCExpr::Target: in fixELFSymbolsInTLSFixupsImpl()
229 case MCExpr::Constant: in fixELFSymbolsInTLSFixupsImpl()
231 case MCExpr::Binary: { in fixELFSymbolsInTLSFixupsImpl()
237 case MCExpr::SymbolRef: { in fixELFSymbolsInTLSFixupsImpl()
244 case MCExpr::Unary: in fixELFSymbolsInTLSFixupsImpl()
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DWinException.h23 class MCExpr; variable
69 SmallVectorImpl<std::pair<const MCExpr *, int>> &IPToStateTable);
76 const MCExpr *create32bitRef(const MCSymbol *Value);
77 const MCExpr *create32bitRef(const GlobalValue *GV);
78 const MCExpr *getLabel(const MCSymbol *Label);
79 const MCExpr *getOffset(const MCSymbol *OffsetOf, const MCSymbol *OffsetFrom);
80 const MCExpr *getOffsetPlusOne(const MCSymbol *OffsetOf,
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/MCTargetDesc/
H A 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()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86TargetObjectFile.cpp26 const MCExpr *X86_64MachoTargetObjectFile::getTTypeGlobalReference( in getTTypeGlobalReference()
34 const MCExpr *Res = in getTTypeGlobalReference()
36 const MCExpr *Four = MCConstantExpr::create(4, getContext()); in getTTypeGlobalReference()
50 const MCExpr *X86_64MachoTargetObjectFile::getIndirectSymViaGOTPCRel( in getIndirectSymViaGOTPCRel()
57 const MCExpr *Res = in getIndirectSymViaGOTPCRel()
59 const MCExpr *Off = MCConstantExpr::create(FinalOff, getContext()); in getIndirectSymViaGOTPCRel()
63 const MCExpr *X86ELFTargetObjectFile::getDebugThreadLocalSymbol( in getDebugThreadLocalSymbol()
/freebsd-12.1/contrib/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMCExpr.h37 const MCExpr *Expr;
45 explicit RISCVMCExpr(const MCExpr *Expr, VariantKind Kind) in RISCVMCExpr()
49 static const RISCVMCExpr *create(const MCExpr *Expr, VariantKind Kind,
54 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr()
76 static bool classof(const MCExpr *E) { in classof()
77 return E->getKind() == MCExpr::Target; in classof()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCExpr.cpp27 const AArch64MCExpr *AArch64MCExpr::create(const MCExpr *Expr, VariantKind Kind, in create()
108 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { in fixELFSymbolsInTLSFixupsImpl()
110 case MCExpr::Target: in fixELFSymbolsInTLSFixupsImpl()
113 case MCExpr::Constant: in fixELFSymbolsInTLSFixupsImpl()
116 case MCExpr::Binary: { in fixELFSymbolsInTLSFixupsImpl()
123 case MCExpr::SymbolRef: { in fixELFSymbolsInTLSFixupsImpl()
131 case MCExpr::Unary: in fixELFSymbolsInTLSFixupsImpl()
/freebsd-12.1/contrib/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRMCExpr.h42 static const AVRMCExpr *create(VariantKind Kind, const MCExpr *Expr,
49 const MCExpr *getSubExpr() const { return SubExpr; } in getSubExpr()
70 static bool classof(const MCExpr *E) { in classof()
71 return E->getKind() == MCExpr::Target; in classof()
81 const MCExpr *SubExpr;
85 explicit AVRMCExpr(VariantKind Kind, const MCExpr *Expr, bool Negated) in AVRMCExpr()
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCExpr.cpp44 case MCExpr::Target: in print()
46 case MCExpr::Constant: in print()
50 case MCExpr::SymbolRef: { in print()
70 case MCExpr::Unary: { in print()
85 case MCExpr::Binary: { in print()
145 LLVM_DUMP_METHOD void MCExpr::dump() const { in dump()
172 : MCExpr(MCExpr::SymbolRef, Loc), Kind(Kind), in MCSymbolRefExpr()
451 bool MCExpr::evaluateAsAbsolute(int64_t &Res, in evaluateAsAbsolute()
456 bool MCExpr::evaluateAsAbsolute(int64_t &Res, in evaluateAsAbsolute()
470 bool MCExpr::evaluateKnownAbsolute(int64_t &Res, in evaluateKnownAbsolute()
[all …]
H A DMCObjectStreamer.cpp261 void MCObjectStreamer::EmitULEB128Value(const MCExpr *Value) { in EmitULEB128Value()
270 void MCObjectStreamer::EmitSLEB128Value(const MCExpr *Value) { in EmitSLEB128Value()
285 const MCExpr *Subsection) { in ChangeSection()
414 const MCExpr *AddrDelta = in buildSymbolDiff()
552 void MCObjectStreamer::emitValueToOffset(const MCExpr *Offset, in emitValueToOffset()
569 void MCObjectStreamer::EmitDTPRel32Value(const MCExpr *Value) { in EmitDTPRel32Value()
589 void MCObjectStreamer::EmitTPRel32Value(const MCExpr *Value) { in EmitTPRel32Value()
599 void MCObjectStreamer::EmitTPRel64Value(const MCExpr *Value) { in EmitTPRel64Value()
609 void MCObjectStreamer::EmitGPRel32Value(const MCExpr *Value) { in EmitGPRel32Value()
619 void MCObjectStreamer::EmitGPRel64Value(const MCExpr *Value) { in EmitGPRel64Value()
[all …]
H A DMCStreamer.cpp67 void MCTargetStreamer::emitValue(const MCExpr *Value) { in emitValue()
178 void MCStreamer::EmitTPRel64Value(const MCExpr *Value) { in EmitTPRel64Value()
182 void MCStreamer::EmitTPRel32Value(const MCExpr *Value) { in EmitTPRel32Value()
930 void MCStreamer::visitUsedExpr(const MCExpr &Expr) { in visitUsedExpr()
932 case MCExpr::Target: in visitUsedExpr()
936 case MCExpr::Constant: in visitUsedExpr()
939 case MCExpr::Binary: { in visitUsedExpr()
946 case MCExpr::SymbolRef: in visitUsedExpr()
950 case MCExpr::Unary: in visitUsedExpr()
967 const MCExpr *Diff = in emitAbsoluteSymbolDiff()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcMCExpr.h65 const MCExpr *Expr;
67 explicit SparcMCExpr(VariantKind Kind, const MCExpr *Expr) in SparcMCExpr()
74 static const SparcMCExpr *create(VariantKind Kind, const MCExpr *Expr,
84 const MCExpr *getSubExpr() const { return Expr; } in getSubExpr()
101 static bool classof(const MCExpr *E) { in classof()
102 return E->getKind() == MCExpr::Target; in classof()
H A DSparcMCExpr.cpp27 SparcMCExpr::create(VariantKind Kind, const MCExpr *Expr, in create()
36 const MCExpr *Expr = getSubExpr(); in printImpl()
169 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { in fixELFSymbolsInTLSFixupsImpl()
171 case MCExpr::Target: in fixELFSymbolsInTLSFixupsImpl()
175 case MCExpr::Constant: in fixELFSymbolsInTLSFixupsImpl()
178 case MCExpr::Binary: { in fixELFSymbolsInTLSFixupsImpl()
185 case MCExpr::SymbolRef: { in fixELFSymbolsInTLSFixupsImpl()
191 case MCExpr::Unary: in fixELFSymbolsInTLSFixupsImpl()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64TargetObjectFile.cpp35 const MCExpr *AArch64_MachoTargetObjectFile::getTTypeGlobalReference( in getTTypeGlobalReference()
44 const MCExpr *Res = in getTTypeGlobalReference()
48 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); in getTTypeGlobalReference()
62 const MCExpr *AArch64_MachoTargetObjectFile::getIndirectSymViaGOTPCRel( in getIndirectSymViaGOTPCRel()
69 const MCExpr *Res = in getIndirectSymViaGOTPCRel()
73 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); in getIndirectSymViaGOTPCRel()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp41 case MCExpr::Target: in EvaluateCRExpr()
44 case MCExpr::Constant: { in EvaluateCRExpr()
49 case MCExpr::SymbolRef: { in EvaluateCRExpr()
71 case MCExpr::Unary: in EvaluateCRExpr()
74 case MCExpr::Binary: { in EvaluateCRExpr()
113 const MCExpr *ExtractModifierFromExpr(const MCExpr *E,
115 const MCExpr *FixupVariantKind(const MCExpr *E);
165 const MCExpr *applyModifierToExpr(const MCExpr *E,
194 const MCExpr *Val;
1443 const MCExpr *EVal; in ParseOperand()
[all …]

123456789