Home
last modified time | relevance | path

Searched refs:MCSymbolRefExpr (Results 1 – 25 of 118) sorted by relevance

12345

/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCELFObjectWriter.cpp41 static MCSymbolRefExpr::VariantKind getAccessVariant(const MCValue &Target, in getAccessVariant()
50 return MCSymbolRefExpr::VK_None; in getAccessVariant()
52 return MCSymbolRefExpr::VK_PPC_LO; in getAccessVariant()
54 return MCSymbolRefExpr::VK_PPC_HI; in getAccessVariant()
56 return MCSymbolRefExpr::VK_PPC_HA; in getAccessVariant()
58 return MCSymbolRefExpr::VK_PPC_HIGHERA; in getAccessVariant()
60 return MCSymbolRefExpr::VK_PPC_HIGHER; in getAccessVariant()
62 return MCSymbolRefExpr::VK_PPC_HIGHEST; in getAccessVariant()
64 return MCSymbolRefExpr::VK_PPC_HIGHESTA; in getAccessVariant()
72 MCSymbolRefExpr::VariantKind Modifier = getAccessVariant(Target, Fixup); in GetRelocType()
[all …]
DPPCMCExpr.cpp112 const MCSymbolRefExpr *Sym = Value.getSymA(); in evaluateAsRelocatableImpl()
113 MCSymbolRefExpr::VariantKind Modifier = Sym->getKind(); in evaluateAsRelocatableImpl()
114 if (Modifier != MCSymbolRefExpr::VK_None) in evaluateAsRelocatableImpl()
120 Modifier = MCSymbolRefExpr::VK_PPC_LO; in evaluateAsRelocatableImpl()
123 Modifier = MCSymbolRefExpr::VK_PPC_HI; in evaluateAsRelocatableImpl()
126 Modifier = MCSymbolRefExpr::VK_PPC_HA; in evaluateAsRelocatableImpl()
129 Modifier = MCSymbolRefExpr::VK_PPC_HIGHERA; in evaluateAsRelocatableImpl()
132 Modifier = MCSymbolRefExpr::VK_PPC_HIGHER; in evaluateAsRelocatableImpl()
135 Modifier = MCSymbolRefExpr::VK_PPC_HIGHEST; in evaluateAsRelocatableImpl()
138 Modifier = MCSymbolRefExpr::VK_PPC_HIGHESTA; in evaluateAsRelocatableImpl()
[all …]
/external/llvm/lib/Target/Mips/
DMipsMCInstLower.cpp39 MCSymbolRefExpr::VariantKind Kind; in LowerSymbolOperand()
44 case MipsII::MO_NO_FLAG: Kind = MCSymbolRefExpr::VK_None; break; in LowerSymbolOperand()
45 case MipsII::MO_GPREL: Kind = MCSymbolRefExpr::VK_Mips_GPREL; break; in LowerSymbolOperand()
46 case MipsII::MO_GOT_CALL: Kind = MCSymbolRefExpr::VK_Mips_GOT_CALL; break; in LowerSymbolOperand()
47 case MipsII::MO_GOT16: Kind = MCSymbolRefExpr::VK_Mips_GOT16; break; in LowerSymbolOperand()
48 case MipsII::MO_GOT: Kind = MCSymbolRefExpr::VK_Mips_GOT; break; in LowerSymbolOperand()
49 case MipsII::MO_ABS_HI: Kind = MCSymbolRefExpr::VK_Mips_ABS_HI; break; in LowerSymbolOperand()
50 case MipsII::MO_ABS_LO: Kind = MCSymbolRefExpr::VK_Mips_ABS_LO; break; in LowerSymbolOperand()
51 case MipsII::MO_TLSGD: Kind = MCSymbolRefExpr::VK_Mips_TLSGD; break; in LowerSymbolOperand()
52 case MipsII::MO_TLSLDM: Kind = MCSymbolRefExpr::VK_Mips_TLSLDM; break; in LowerSymbolOperand()
[all …]
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCCodeEmitter.cpp256 const MCSymbolRefExpr::VariantKind kind) { in getFixupNoBits()
262 case llvm::MCSymbolRefExpr::VK_GOTOFF: in getFixupNoBits()
264 case llvm::MCSymbolRefExpr::VK_GOT: in getFixupNoBits()
266 case llvm::MCSymbolRefExpr::VK_TPREL: in getFixupNoBits()
268 case llvm::MCSymbolRefExpr::VK_DTPREL: in getFixupNoBits()
270 case llvm::MCSymbolRefExpr::VK_Hexagon_GD_GOT: in getFixupNoBits()
272 case llvm::MCSymbolRefExpr::VK_Hexagon_LD_GOT: in getFixupNoBits()
274 case llvm::MCSymbolRefExpr::VK_Hexagon_IE: in getFixupNoBits()
276 case llvm::MCSymbolRefExpr::VK_Hexagon_IE_GOT: in getFixupNoBits()
291 case llvm::MCSymbolRefExpr::VK_GOT: in getFixupNoBits()
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMELFObjectWriter.cpp79 MCSymbolRefExpr::VariantKind Modifier = Target.getAccessVariant(); in GetRelocTypeInner()
90 case MCSymbolRefExpr::VK_None: in GetRelocTypeInner()
93 case MCSymbolRefExpr::VK_TLSGD: in GetRelocTypeInner()
95 case MCSymbolRefExpr::VK_GOTTPOFF: in GetRelocTypeInner()
98 case MCSymbolRefExpr::VK_ARM_GOT_PREL: in GetRelocTypeInner()
106 case MCSymbolRefExpr::VK_PLT: in GetRelocTypeInner()
109 case MCSymbolRefExpr::VK_ARM_TLSCALL: in GetRelocTypeInner()
141 case MCSymbolRefExpr::VK_ARM_TLSCALL: in GetRelocTypeInner()
158 case MCSymbolRefExpr::VK_None: in GetRelocTypeInner()
166 case MCSymbolRefExpr::VK_None: in GetRelocTypeInner()
[all …]
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86ELFObjectWriter.cpp47 MCSymbolRefExpr::VariantKind &Modifier, in getType64()
53 Modifier = MCSymbolRefExpr::VK_GOT; in getType64()
59 if (Modifier == MCSymbolRefExpr::VK_None && !IsPCRel) in getType64()
63 Modifier = MCSymbolRefExpr::VK_GOT; in getType64()
80 static unsigned getRelocType64(MCSymbolRefExpr::VariantKind Modifier, in getRelocType64()
85 case MCSymbolRefExpr::VK_None: in getRelocType64()
98 case MCSymbolRefExpr::VK_GOT: in getRelocType64()
109 case MCSymbolRefExpr::VK_GOTOFF: in getRelocType64()
113 case MCSymbolRefExpr::VK_TPOFF: in getRelocType64()
125 case MCSymbolRefExpr::VK_DTPOFF: in getRelocType64()
[all …]
DX86MachORelocationInfo.cpp50 Expr = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_TLVP, Ctx); in createExprForRelocation()
53 Expr = MCBinaryExpr::createAdd(MCSymbolRefExpr::create(Sym, Ctx), in createExprForRelocation()
58 Expr = MCBinaryExpr::createAdd(MCSymbolRefExpr::create(Sym, Ctx), in createExprForRelocation()
63 Expr = MCBinaryExpr::createAdd(MCSymbolRefExpr::create(Sym, Ctx), in createExprForRelocation()
68 Expr = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, Ctx); in createExprForRelocation()
71 Expr = MCSymbolRefExpr::create(Sym, isPCRel ? in createExprForRelocation()
72 MCSymbolRefExpr::VK_GOTPCREL : in createExprForRelocation()
73 MCSymbolRefExpr::VK_GOT, in createExprForRelocation()
90 const MCExpr *LHS = MCSymbolRefExpr::create(Sym, Ctx); in createExprForRelocation()
102 const MCExpr *RHS = MCSymbolRefExpr::create(RSym, Ctx); in createExprForRelocation()
[all …]
DX86ELFRelocationInfo.cpp85 Expr = MCSymbolRefExpr::create(Sym, Ctx); in createExprForRelocation()
94 Expr = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOT, Ctx); in createExprForRelocation()
99 Expr = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_PLT, Ctx); in createExprForRelocation()
104 Expr = MCSymbolRefExpr::create(Sym, Ctx); in createExprForRelocation()
110 Expr = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, Ctx); in createExprForRelocation()
114 Expr = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTOFF, Ctx); in createExprForRelocation()
125 Expr = MCSymbolRefExpr::create(Sym, Ctx); in createExprForRelocation()
/external/llvm/lib/MC/
DMCELFStreamer.cpp164 const MCExpr *Value = MCSymbolRefExpr::create( in EmitWeakReference()
165 Symbol, MCSymbolRefExpr::VK_WEAKREF, getContext()); in EmitWeakReference()
397 const MCSymbolRefExpr &symRef = *cast<MCSymbolRefExpr>(expr); in fixSymbolsInTLSFixups()
401 case MCSymbolRefExpr::VK_GOTTPOFF: in fixSymbolsInTLSFixups()
402 case MCSymbolRefExpr::VK_INDNTPOFF: in fixSymbolsInTLSFixups()
403 case MCSymbolRefExpr::VK_NTPOFF: in fixSymbolsInTLSFixups()
404 case MCSymbolRefExpr::VK_GOTNTPOFF: in fixSymbolsInTLSFixups()
405 case MCSymbolRefExpr::VK_TLSGD: in fixSymbolsInTLSFixups()
406 case MCSymbolRefExpr::VK_TLSLD: in fixSymbolsInTLSFixups()
407 case MCSymbolRefExpr::VK_TLSLDM: in fixSymbolsInTLSFixups()
[all …]
DMCValue.cpp46 MCSymbolRefExpr::VariantKind MCValue::getAccessVariant() const { in getAccessVariant()
47 const MCSymbolRefExpr *B = getSymB(); in getAccessVariant()
49 if (B->getKind() != MCSymbolRefExpr::VK_None) in getAccessVariant()
53 const MCSymbolRefExpr *A = getSymA(); in getAccessVariant()
55 return MCSymbolRefExpr::VK_None; in getAccessVariant()
57 MCSymbolRefExpr::VariantKind Kind = A->getKind(); in getAccessVariant()
58 if (Kind == MCSymbolRefExpr::VK_WEAKREF) in getAccessVariant()
59 return MCSymbolRefExpr::VK_None; in getAccessVariant()
DMCExpr.cpp42 const MCSymbolRefExpr &SRE = cast<MCSymbolRefExpr>(*this); in print()
54 if (SRE.getKind() != MCSymbolRefExpr::VK_None) in print()
76 if (isa<MCConstantExpr>(BE.getLHS()) || isa<MCSymbolRefExpr>(BE.getLHS())) { in print()
117 if (isa<MCConstantExpr>(BE.getRHS()) || isa<MCSymbolRefExpr>(BE.getRHS())) { in print()
156 MCSymbolRefExpr::MCSymbolRefExpr(const MCSymbol *Symbol, VariantKind Kind, in MCSymbolRefExpr() function in MCSymbolRefExpr
165 const MCSymbolRefExpr *MCSymbolRefExpr::create(const MCSymbol *Sym, in create()
168 return new (Ctx) MCSymbolRefExpr(Sym, Kind, Ctx.getAsmInfo()); in create()
171 const MCSymbolRefExpr *MCSymbolRefExpr::create(StringRef Name, VariantKind Kind, in create()
176 StringRef MCSymbolRefExpr::getVariantKindName(VariantKind Kind) { in getVariantKindName()
309 MCSymbolRefExpr::VariantKind
[all …]
DMCWin64EH.cpp54 MCBinaryExpr::createSub(MCSymbolRefExpr::create(LHS, Context), in EmitAbsDifference()
55 MCSymbolRefExpr::create(RHS, Context), Context); in EmitAbsDifference()
129 const MCSymbolRefExpr *BaseRef = MCSymbolRefExpr::create(Base, Context); in EmitSymbolRefWithOfs()
130 const MCSymbolRefExpr *OtherRef = MCSymbolRefExpr::create(Other, Context); in EmitSymbolRefWithOfs()
132 const MCSymbolRefExpr *BaseRefRel = MCSymbolRefExpr::create(Base, in EmitSymbolRefWithOfs()
133 MCSymbolRefExpr::VK_COFF_IMGREL32, in EmitSymbolRefWithOfs()
145 streamer.EmitValue(MCSymbolRefExpr::create(info->Symbol, in EmitRuntimeFunction()
146 MCSymbolRefExpr::VK_COFF_IMGREL32, in EmitRuntimeFunction()
210 streamer.EmitValue(MCSymbolRefExpr::create(info->ExceptionHandler, in EmitUnwindInfo()
211 MCSymbolRefExpr::VK_COFF_IMGREL32, in EmitUnwindInfo()
/external/llvm/lib/Target/Mips/InstPrinter/
DMipsInstPrinter.cpp128 const MCSymbolRefExpr *SRE; in printExpr()
131 SRE = dyn_cast<MCSymbolRefExpr>(BE->getLHS()); in printExpr()
139 SRE = cast<MCSymbolRefExpr>(Expr); in printExpr()
141 MCSymbolRefExpr::VariantKind Kind = SRE->getKind(); in printExpr()
145 case MCSymbolRefExpr::VK_None: break; in printExpr()
146 case MCSymbolRefExpr::VK_Mips_GPREL: OS << "%gp_rel("; break; in printExpr()
147 case MCSymbolRefExpr::VK_Mips_GOT_CALL: OS << "%call16("; break; in printExpr()
148 case MCSymbolRefExpr::VK_Mips_GOT16: OS << "%got("; break; in printExpr()
149 case MCSymbolRefExpr::VK_Mips_GOT: OS << "%got("; break; in printExpr()
150 case MCSymbolRefExpr::VK_Mips_ABS_HI: OS << "%hi("; break; in printExpr()
[all …]
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCExpr.cpp20 bool MipsMCExpr::isSupportedBinaryExpr(MCSymbolRefExpr::VariantKind VK, in isSupportedBinaryExpr()
23 case MCSymbolRefExpr::VK_Mips_ABS_LO: in isSupportedBinaryExpr()
24 case MCSymbolRefExpr::VK_Mips_ABS_HI: in isSupportedBinaryExpr()
25 case MCSymbolRefExpr::VK_Mips_HIGHER: in isSupportedBinaryExpr()
26 case MCSymbolRefExpr::VK_Mips_HIGHEST: in isSupportedBinaryExpr()
39 return (isa<MCSymbolRefExpr>(BE->getLHS()) in isSupportedBinaryExpr()
40 && isa<MCSymbolRefExpr>(BE->getRHS())); in isSupportedBinaryExpr()
44 MipsMCExpr::create(MCSymbolRefExpr::VariantKind VK, const MCExpr *Expr, in create()
48 case MCSymbolRefExpr::VK_Mips_ABS_LO: in create()
51 case MCSymbolRefExpr::VK_Mips_ABS_HI: in create()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp100 void EmitTlsCall(const MachineInstr *MI, MCSymbolRefExpr::VariantKind VK);
435 const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, OutContext); in LowerPATCHPOINT()
458 MCSymbolRefExpr::VariantKind VK) { in EmitTlsCall()
461 MCSymbolRefExpr::VariantKind Kind = MCSymbolRefExpr::VK_None; in EmitTlsCall()
474 Kind = MCSymbolRefExpr::VK_PLT; in EmitTlsCall()
475 const MCSymbolRefExpr *TlsRef = in EmitTlsCall()
476 MCSymbolRefExpr::create(TlsGetAddr, Kind, OutContext); in EmitTlsCall()
480 const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, VK, OutContext); in EmitTlsCall()
518 MCBinaryExpr::createSub(MCSymbolRefExpr::create(GOTSymbol, in EmitInstruction()
519 MCSymbolRefExpr::VK_PPC_LOCAL, in EmitInstruction()
[all …]
DPPCMCInstLower.cpp117 MCSymbolRefExpr::VariantKind RefKind = MCSymbolRefExpr::VK_None; in GetSymbolRef()
123 RefKind = MCSymbolRefExpr::VK_PPC_TPREL_LO; in GetSymbolRef()
126 RefKind = MCSymbolRefExpr::VK_PPC_TPREL_HA; in GetSymbolRef()
129 RefKind = MCSymbolRefExpr::VK_PPC_DTPREL_LO; in GetSymbolRef()
132 RefKind = MCSymbolRefExpr::VK_PPC_GOT_TLSLD_LO; in GetSymbolRef()
135 RefKind = MCSymbolRefExpr::VK_PPC_TOC_LO; in GetSymbolRef()
138 RefKind = MCSymbolRefExpr::VK_PPC_TLS; in GetSymbolRef()
143 RefKind = MCSymbolRefExpr::VK_PLT; in GetSymbolRef()
145 const MCExpr *Expr = MCSymbolRefExpr::create(Symbol, RefKind, Ctx); in GetSymbolRef()
156 const MCExpr *PB = MCSymbolRefExpr::create(MF->getPICBaseSymbol(), Ctx); in GetSymbolRef()
[all …]
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCObjectWriter.cpp112 MCSymbolRefExpr::VariantKind Modifier = Target.getAccessVariant(); in GetRelocType()
115 case MCSymbolRefExpr::VK_None: in GetRelocType()
120 case MCSymbolRefExpr::VK_NTPOFF: in GetRelocType()
124 case MCSymbolRefExpr::VK_INDNTPOFF: in GetRelocType()
129 case MCSymbolRefExpr::VK_DTPOFF: in GetRelocType()
133 case MCSymbolRefExpr::VK_TLSLDM: in GetRelocType()
137 case MCSymbolRefExpr::VK_TLSGD: in GetRelocType()
141 case MCSymbolRefExpr::VK_GOT: in GetRelocType()
146 case MCSymbolRefExpr::VK_PLT: in GetRelocType()
/external/llvm/lib/Target/AArch64/Disassembler/
DAArch64ExternalSymbolizer.cpp24 static MCSymbolRefExpr::VariantKind
28 return MCSymbolRefExpr::VK_None; in getVariant()
30 return MCSymbolRefExpr::VK_PAGE; in getVariant()
32 return MCSymbolRefExpr::VK_PAGEOFF; in getVariant()
34 return MCSymbolRefExpr::VK_GOTPAGE; in getVariant()
36 return MCSymbolRefExpr::VK_GOTPAGEOFF; in getVariant()
169 MCSymbolRefExpr::VariantKind Variant = getVariant(SymbolicOp.VariantKind); in tryAddingSymbolicOperand()
170 if (Variant != MCSymbolRefExpr::VK_None) in tryAddingSymbolicOperand()
171 Add = MCSymbolRefExpr::create(Sym, Variant, Ctx); in tryAddingSymbolicOperand()
173 Add = MCSymbolRefExpr::create(Sym, Ctx); in tryAddingSymbolicOperand()
[all …]
/external/llvm/include/llvm/MC/
DMCValue.h41 const MCSymbolRefExpr *SymA, *SymB;
47 const MCSymbolRefExpr *getSymA() const { return SymA; } in getSymA()
48 const MCSymbolRefExpr *getSymB() const { return SymB; } in getSymB()
60 MCSymbolRefExpr::VariantKind getAccessVariant() const;
62 static MCValue get(const MCSymbolRefExpr *SymA,
63 const MCSymbolRefExpr *SymB = nullptr,
/external/llvm/lib/Target/Hexagon/
DHexagonMCInstLower.cpp41 MCSymbolRefExpr::VariantKind RelocationType; in GetSymbolRef()
44 RelocationType = MCSymbolRefExpr::VK_None; in GetSymbolRef()
47 RelocationType = MCSymbolRefExpr::VK_Hexagon_PCREL; in GetSymbolRef()
50 RelocationType = MCSymbolRefExpr::VK_GOT; in GetSymbolRef()
53 RelocationType = MCSymbolRefExpr::VK_Hexagon_LO16; in GetSymbolRef()
56 RelocationType = MCSymbolRefExpr::VK_Hexagon_HI16; in GetSymbolRef()
59 RelocationType = MCSymbolRefExpr::VK_Hexagon_GPREL; in GetSymbolRef()
63 ME = MCSymbolRefExpr::create(Symbol, RelocationType, MC); in GetSymbolRef()
119 (MCSymbolRefExpr::create(MO.getMBB()->getSymbol(), in HexagonLowerToMC()
/external/llvm/lib/Target/ARM/
DARMMCInstLower.cpp33 Expr = MCSymbolRefExpr::create(Symbol, MCSymbolRefExpr::VK_None, in GetSymbolRef()
40 Expr = MCSymbolRefExpr::create(Symbol, MCSymbolRefExpr::VK_None, in GetSymbolRef()
45 Expr = MCSymbolRefExpr::create(Symbol, MCSymbolRefExpr::VK_None, in GetSymbolRef()
54 Expr = MCSymbolRefExpr::create(Symbol, MCSymbolRefExpr::VK_PLT, in GetSymbolRef()
83 MCOp = MCOperand::createExpr(MCSymbolRefExpr::create( in lowerOperand()
/external/llvm/lib/Target/SystemZ/
DSystemZAsmPrinter.cpp69 static const MCSymbolRefExpr *getTLSGetOffset(MCContext &Context) { in getTLSGetOffset()
71 return MCSymbolRefExpr::create(Context.getOrCreateSymbol(Name), in getTLSGetOffset()
72 MCSymbolRefExpr::VK_PLT, in getTLSGetOffset()
76 static const MCSymbolRefExpr *getGlobalOffsetTable(MCContext &Context) { in getGlobalOffsetTable()
78 return MCSymbolRefExpr::create(Context.getOrCreateSymbol(Name), in getGlobalOffsetTable()
79 MCSymbolRefExpr::VK_None, in getGlobalOffsetTable()
115 .addExpr(Lower.getExpr(MI->getOperand(0), MCSymbolRefExpr::VK_PLT)); in EmitInstruction()
126 .addExpr(Lower.getExpr(MI->getOperand(0), MCSymbolRefExpr::VK_PLT)); in EmitInstruction()
137 .addExpr(Lower.getExpr(MI->getOperand(0), MCSymbolRefExpr::VK_TLSGD)); in EmitInstruction()
144 .addExpr(Lower.getExpr(MI->getOperand(0), MCSymbolRefExpr::VK_TLSLDM)); in EmitInstruction()
[all …]
DSystemZMCInstLower.cpp20 static MCSymbolRefExpr::VariantKind getVariantKind(unsigned Flags) { in getVariantKind()
23 return MCSymbolRefExpr::VK_None; in getVariantKind()
25 return MCSymbolRefExpr::VK_GOT; in getVariantKind()
27 return MCSymbolRefExpr::VK_INDNTPOFF; in getVariantKind()
38 MCSymbolRefExpr::VariantKind Kind) const { in getExpr()
71 const MCExpr *Expr = MCSymbolRefExpr::create(Symbol, Kind, Ctx); in getExpr()
89 MCSymbolRefExpr::VariantKind Kind = getVariantKind(MO.getTargetFlags()); in lowerOperand()
/external/llvm/lib/Target/AArch64/
DAArch64MCInstLower.cpp48 MCSymbolRefExpr::VariantKind RefKind = MCSymbolRefExpr::VK_None; in lowerSymbolOperandDarwin()
51 RefKind = MCSymbolRefExpr::VK_GOTPAGE; in lowerSymbolOperandDarwin()
54 RefKind = MCSymbolRefExpr::VK_GOTPAGEOFF; in lowerSymbolOperandDarwin()
59 RefKind = MCSymbolRefExpr::VK_TLVPPAGE; in lowerSymbolOperandDarwin()
62 RefKind = MCSymbolRefExpr::VK_TLVPPAGEOFF; in lowerSymbolOperandDarwin()
67 RefKind = MCSymbolRefExpr::VK_PAGE; in lowerSymbolOperandDarwin()
70 RefKind = MCSymbolRefExpr::VK_PAGEOFF; in lowerSymbolOperandDarwin()
72 const MCExpr *Expr = MCSymbolRefExpr::create(Sym, RefKind, Ctx); in lowerSymbolOperandDarwin()
142 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, Ctx); in lowerSymbolOperandELF()
182 MCSymbolRefExpr::create(MO.getMBB()->getSymbol(), Ctx)); in lowerOperand()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MachObjectWriter.cpp29 const MCSymbolRefExpr *Sym,
44 const MCFixup &Fixup, unsigned &RelocType, const MCSymbolRefExpr *Sym, in getAArch64FixupKindMachOInfo()
61 if (Sym->getKind() == MCSymbolRefExpr::VK_GOT) in getAArch64FixupKindMachOInfo()
66 if (Sym->getKind() == MCSymbolRefExpr::VK_GOT) in getAArch64FixupKindMachOInfo()
79 case MCSymbolRefExpr::VK_PAGEOFF: in getAArch64FixupKindMachOInfo()
82 case MCSymbolRefExpr::VK_GOTPAGEOFF: in getAArch64FixupKindMachOInfo()
85 case MCSymbolRefExpr::VK_TLVPPAGEOFF: in getAArch64FixupKindMachOInfo()
98 case MCSymbolRefExpr::VK_PAGE: in getAArch64FixupKindMachOInfo()
101 case MCSymbolRefExpr::VK_GOTPAGE: in getAArch64FixupKindMachOInfo()
104 case MCSymbolRefExpr::VK_TLVPPAGE: in getAArch64FixupKindMachOInfo()
[all …]

12345