/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCELFObjectWriter.cpp | 41 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_HIGH; in getAccessVariant() 60 return MCSymbolRefExpr::VK_PPC_HIGHA; in getAccessVariant() 62 return MCSymbolRefExpr::VK_PPC_HIGHERA; in getAccessVariant() 64 return MCSymbolRefExpr::VK_PPC_HIGHER; in getAccessVariant() 66 return MCSymbolRefExpr in getAccessVariant() [all...] |
H A D | PPCXCOFFObjectWriter.cpp | 43 const MCSymbolRefExpr::VariantKind Modifier = in getRelocTypeAndSignSize() 44 Target.isAbsolute() ? MCSymbolRefExpr::VK_None in getRelocTypeAndSignSize() 66 case MCSymbolRefExpr::VK_None: in getRelocTypeAndSignSize() 68 case MCSymbolRefExpr::VK_PPC_U: in getRelocTypeAndSignSize() 70 case MCSymbolRefExpr::VK_PPC_L: in getRelocTypeAndSignSize() 72 case MCSymbolRefExpr::VK_PPC_AIX_TLSLE: in getRelocTypeAndSignSize() 74 case MCSymbolRefExpr::VK_PPC_AIX_TLSLD: in getRelocTypeAndSignSize() 85 case MCSymbolRefExpr::VK_None: in getRelocTypeAndSignSize() 87 case MCSymbolRefExpr::VK_PPC_L: in getRelocTypeAndSignSize() 89 case MCSymbolRefExpr::VK_PPC_AIX_TLSLE: in getRelocTypeAndSignSize() [all …]
|
H A D | PPCMCExpr.cpp | 129 const MCSymbolRefExpr *Sym = Value.getSymA(); in evaluateAsRelocatableImpl() 130 MCSymbolRefExpr::VariantKind Modifier = Sym->getKind(); in evaluateAsRelocatableImpl() 131 if (Modifier != MCSymbolRefExpr::VK_None) in evaluateAsRelocatableImpl() 137 Modifier = MCSymbolRefExpr::VK_PPC_LO; in evaluateAsRelocatableImpl() 140 Modifier = MCSymbolRefExpr::VK_PPC_HI; in evaluateAsRelocatableImpl() 143 Modifier = MCSymbolRefExpr::VK_PPC_HA; in evaluateAsRelocatableImpl() 146 Modifier = MCSymbolRefExpr::VK_PPC_HIGH; in evaluateAsRelocatableImpl() 149 Modifier = MCSymbolRefExpr::VK_PPC_HIGHA; in evaluateAsRelocatableImpl() 152 Modifier = MCSymbolRefExpr::VK_PPC_HIGHERA; in evaluateAsRelocatableImpl() 155 Modifier = MCSymbolRefExpr::VK_PPC_HIGHER; in evaluateAsRelocatableImpl() [all …]
|
H A D | PPCELFStreamer.cpp | 143 const MCSymbolRefExpr *SymExpr = static_cast<const MCSymbolRefExpr *>(Expr); in emitGOTToPCRelReloc() 144 assert(SymExpr->getKind() == MCSymbolRefExpr::VK_PPC_PCREL_OPT && in emitGOTToPCRelReloc() 148 const MCExpr *LabelExpr = MCSymbolRefExpr::create(LabelSym, getContext()); in emitGOTToPCRelReloc() 155 MCSymbolRefExpr::create(CurrentLocation, getContext()); in emitGOTToPCRelReloc() 178 const MCSymbolRefExpr *SymExpr = static_cast<const MCSymbolRefExpr *>(Expr); in emitGOTToPCRelLabel() 179 assert(SymExpr->getKind() == MCSymbolRefExpr::VK_PPC_PCREL_OPT && in emitGOTToPCRelLabel() 216 const MCSymbolRefExpr *SymExpr = static_cast<const MCSymbolRefExpr *>(Expr); in isPartOfGOTToPCRelPair() 217 if (!SymExpr || SymExpr->getKind() != MCSymbolRefExpr::VK_PPC_PCREL_OPT) in isPartOfGOTToPCRelPair()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMELFObjectWriter.cpp | 87 MCSymbolRefExpr::VariantKind Modifier = Target.getAccessVariant(); in GetRelocTypeInner() 108 case MCSymbolRefExpr::VK_None: { in GetRelocTypeInner() 109 if (const MCSymbolRefExpr *SymRef = Target.getSymA()) { in GetRelocTypeInner() 117 case MCSymbolRefExpr::VK_GOTTPOFF: in GetRelocTypeInner() 119 case MCSymbolRefExpr::VK_ARM_GOT_PREL: in GetRelocTypeInner() 121 case MCSymbolRefExpr::VK_ARM_PREL31: in GetRelocTypeInner() 127 case MCSymbolRefExpr::VK_PLT: in GetRelocTypeInner() 129 case MCSymbolRefExpr::VK_TLSCALL: in GetRelocTypeInner() 165 case MCSymbolRefExpr::VK_TLSCALL: in GetRelocTypeInner() 200 case MCSymbolRefExpr::VK_None: in GetRelocTypeInner() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86ELFObjectWriter.cpp | 50 MCSymbolRefExpr::VariantKind &Modifier, in getType64() 58 Modifier = MCSymbolRefExpr::VK_GOT; in getType64() 65 if (Modifier == MCSymbolRefExpr::VK_None && !IsPCRel) in getType64() 69 Modifier = MCSymbolRefExpr::VK_GOT; in getType64() 80 Modifier = MCSymbolRefExpr::VK_PLT; in getType64() 104 MCSymbolRefExpr::VariantKind Modifier, in getRelocType64() 110 case MCSymbolRefExpr::VK_None: in getRelocType64() 111 case MCSymbolRefExpr::VK_X86_ABS8: in getRelocType64() 114 if (Modifier == MCSymbolRefExpr::VK_None) in getRelocType64() 129 case MCSymbolRefExpr::VK_GOT: in getRelocType64() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCELFStreamer.cpp | 123 const MCExpr *Value = MCSymbolRefExpr::create( in emitWeakReference() 124 Symbol, MCSymbolRefExpr::VK_WEAKREF, getContext()); in emitWeakReference() 335 void MCELFStreamer::emitCGProfileEntry(const MCSymbolRefExpr *From, in emitCGProfileEntry() 336 const MCSymbolRefExpr *To, in emitCGProfileEntry() 371 const MCSymbolRefExpr &symRef = *cast<MCSymbolRefExpr>(expr); in fixSymbolsInTLSFixups() 375 case MCSymbolRefExpr::VK_GOTTPOFF: in fixSymbolsInTLSFixups() 376 case MCSymbolRefExpr::VK_INDNTPOFF: in fixSymbolsInTLSFixups() 377 case MCSymbolRefExpr::VK_NTPOFF: in fixSymbolsInTLSFixups() 378 case MCSymbolRefExpr::VK_GOTNTPOFF: in fixSymbolsInTLSFixups() 379 case MCSymbolRefExpr::VK_TLSCALL: in fixSymbolsInTLSFixups() [all …]
|
H A D | MCExpr.cpp | 73 const MCSymbolRefExpr &SRE = cast<MCSymbolRefExpr>(*this); in print() 87 const MCSymbolRefExpr::VariantKind Kind = SRE.getKind(); in print() 88 if (Kind != MCSymbolRefExpr::VK_None) { in print() 90 OS << '(' << MCSymbolRefExpr::getVariantKindName(Kind) << ')'; in print() 92 OS << '@' << MCSymbolRefExpr::getVariantKindName(Kind); in print() 117 if (isa<MCConstantExpr>(BE.getLHS()) || isa<MCSymbolRefExpr>(BE.getLHS())) { in print() 159 if (isa<MCConstantExpr>(BE.getRHS()) || isa<MCSymbolRefExpr>(BE.getRHS())) { in print() 201 MCSymbolRefExpr::MCSymbolRefExpr(const MCSymbol *Symbol, VariantKind Kind, in MCSymbolRefExpr() function in MCSymbolRefExpr 209 const MCSymbolRefExpr *MCSymbolRefExpr::create(const MCSymbol *Sym, in create() 212 return new (Ctx) MCSymbolRefExpr(Sym, Kind, Ctx.getAsmInfo(), Loc); in create() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCMCInstLower.cpp | 57 MCSymbolRefExpr::VariantKind RefKind = MCSymbolRefExpr::VK_None; in GetSymbolRef() 63 RefKind = MCSymbolRefExpr::VK_PPC_TPREL_LO; in GetSymbolRef() 66 RefKind = MCSymbolRefExpr::VK_PPC_TPREL_HA; in GetSymbolRef() 69 RefKind = MCSymbolRefExpr::VK_PPC_DTPREL_LO; in GetSymbolRef() 72 RefKind = MCSymbolRefExpr::VK_PPC_GOT_TLSLD_LO; in GetSymbolRef() 75 RefKind = MCSymbolRefExpr::VK_PPC_TOC_LO; in GetSymbolRef() 78 RefKind = MCSymbolRefExpr::VK_PPC_TLS; in GetSymbolRef() 81 RefKind = MCSymbolRefExpr::VK_PPC_TLS_PCREL; in GetSymbolRef() 90 RefKind = MCSymbolRefExpr::VK_PLT; in GetSymbolRef() 92 RefKind = MCSymbolRefExpr::VK_PCREL; in GetSymbolRef() [all …]
|
H A D | PPCAsmPrinter.cpp | 108 struct DenseMapInfo<std::pair<const MCSymbol *, MCSymbolRefExpr::VariantKind>> { 109 using TOCKey = std::pair<const MCSymbol *, MCSymbolRefExpr::VariantKind>; 112 return {nullptr, MCSymbolRefExpr::VariantKind::VK_None}; in getEmptyKey() 115 return {nullptr, MCSymbolRefExpr::VariantKind::VK_Invalid}; in getTombstoneKey() 154 MapVector<std::pair<const MCSymbol *, MCSymbolRefExpr::VariantKind>, 182 MCSymbolRefExpr::VariantKind Kind = 183 MCSymbolRefExpr::VariantKind::VK_None); 206 void EmitTlsCall(const MachineInstr *MI, MCSymbolRefExpr::VariantKind VK); 511 MCSymbolRefExpr::VariantKind Kind) { in lookUpOrCreateTOCEntry() 633 const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, OutContext); in LowerPATCHPOINT() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonMCCodeEmitter.cpp | 50 { MCSymbolRefExpr::VK_DTPREL, 60 { MCSymbolRefExpr::VK_GOT, 70 { MCSymbolRefExpr::VK_GOTREL, 80 { MCSymbolRefExpr::VK_TPREL, 90 { MCSymbolRefExpr::VK_Hexagon_GD_GOT, 100 { MCSymbolRefExpr::VK_Hexagon_GD_PLT, 110 { MCSymbolRefExpr::VK_Hexagon_IE, 120 { MCSymbolRefExpr::VK_Hexagon_IE_GOT, 130 { MCSymbolRefExpr::VK_Hexagon_LD_GOT, 140 { MCSymbolRefExpr [all...] |
H A D | HexagonELFObjectWriter.cpp | 46 MCSymbolRefExpr::VariantKind Variant = Target.getAccessVariant(); in getRelocType() 53 case MCSymbolRefExpr::VariantKind::VK_DTPREL: in getRelocType() 55 case MCSymbolRefExpr::VariantKind::VK_GOT: in getRelocType() 57 case MCSymbolRefExpr::VariantKind::VK_GOTREL: in getRelocType() 59 case MCSymbolRefExpr::VariantKind::VK_Hexagon_GD_GOT: in getRelocType() 61 case MCSymbolRefExpr::VariantKind::VK_Hexagon_IE: in getRelocType() 63 case MCSymbolRefExpr::VariantKind::VK_Hexagon_IE_GOT: in getRelocType() 65 case MCSymbolRefExpr::VariantKind::VK_Hexagon_LD_GOT: in getRelocType() 67 case MCSymbolRefExpr::VariantKind::VK_PCREL: in getRelocType() 69 case MCSymbolRefExpr::VariantKind::VK_TPREL: in getRelocType() [all …]
|
H A D | HexagonMCExpr.cpp | 56 const MCSymbolRefExpr &symRef = *cast<MCSymbolRefExpr>(Expr); in fixELFSymbolsInTLSFixupsImpl() 60 case MCSymbolRefExpr::VK_Hexagon_GD_GOT: in fixELFSymbolsInTLSFixupsImpl() 61 case MCSymbolRefExpr::VK_Hexagon_LD_GOT: in fixELFSymbolsInTLSFixupsImpl() 62 case MCSymbolRefExpr::VK_Hexagon_GD_PLT: in fixELFSymbolsInTLSFixupsImpl() 63 case MCSymbolRefExpr::VK_Hexagon_LD_PLT: in fixELFSymbolsInTLSFixupsImpl() 64 case MCSymbolRefExpr::VK_Hexagon_IE: in fixELFSymbolsInTLSFixupsImpl() 65 case MCSymbolRefExpr::VK_Hexagon_IE_GOT: in fixELFSymbolsInTLSFixupsImpl() 66 case MCSymbolRefExpr::VK_TPREL: in fixELFSymbolsInTLSFixupsImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/ |
H A D | AVRMCELFStreamer.cpp | 26 MCSymbolRefExpr::VariantKind Kind = MCSymbolRefExpr::VK_AVR_NONE; in emitValueForModiferKind() 28 Kind = MCSymbolRefExpr::VK_AVR_DIFF8; in emitValueForModiferKind() 30 Kind = MCSymbolRefExpr::VK_AVR_DIFF32; in emitValueForModiferKind() 32 Kind = MCSymbolRefExpr::VK_AVR_DIFF16; in emitValueForModiferKind() 34 Kind = MCSymbolRefExpr::VK_AVR_LO8; in emitValueForModiferKind() 36 Kind = MCSymbolRefExpr::VK_AVR_HI8; in emitValueForModiferKind() 38 Kind = MCSymbolRefExpr::VK_AVR_HLO8; in emitValueForModiferKind() 39 MCELFStreamer::emitValue(MCSymbolRefExpr::create(Sym, Kind, getContext()), in emitValueForModiferKind()
|
H A D | AVRELFObjectWriter.cpp | 43 MCSymbolRefExpr::VariantKind Modifier = Target.getAccessVariant(); in getRelocType() 49 case MCSymbolRefExpr::VK_None: in getRelocType() 51 case MCSymbolRefExpr::VK_AVR_DIFF8: in getRelocType() 53 case MCSymbolRefExpr::VK_AVR_LO8: in getRelocType() 55 case MCSymbolRefExpr::VK_AVR_HI8: in getRelocType() 57 case MCSymbolRefExpr::VK_AVR_HLO8: in getRelocType() 64 case MCSymbolRefExpr::VK_None: in getRelocType() 66 case MCSymbolRefExpr::VK_AVR_DIFF32: in getRelocType() 73 case MCSymbolRefExpr::VK_None: in getRelocType() 75 case MCSymbolRefExpr::VK_AVR_NONE: in getRelocType() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/ |
H A D | M68kELFObjectWriter.cpp | 48 getType(unsigned Kind, MCSymbolRefExpr::VariantKind &Modifier, bool &IsPCRel) { in getType() 67 MCSymbolRefExpr::VariantKind Modifier = Target.getAccessVariant(); in getRelocType() 74 case MCSymbolRefExpr::VK_TLSGD: in getRelocType() 84 case MCSymbolRefExpr::VK_TLSLDM: in getRelocType() 94 case MCSymbolRefExpr::VK_TLSLD: in getRelocType() 104 case MCSymbolRefExpr::VK_GOTTPOFF: in getRelocType() 114 case MCSymbolRefExpr::VK_TPOFF: in getRelocType() 124 case MCSymbolRefExpr::VK_None: in getRelocType() 134 case MCSymbolRefExpr::VK_GOTPCREL: in getRelocType() 144 case MCSymbolRefExpr::VK_GOTOFF: in getRelocType() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonMCInstLower.cpp | 48 MCSymbolRefExpr::VariantKind RelocationType; in GetSymbolRef() 51 RelocationType = MCSymbolRefExpr::VK_None; in GetSymbolRef() 54 RelocationType = MCSymbolRefExpr::VK_PCREL; in GetSymbolRef() 57 RelocationType = MCSymbolRefExpr::VK_GOT; in GetSymbolRef() 60 RelocationType = MCSymbolRefExpr::VK_Hexagon_LO16; in GetSymbolRef() 63 RelocationType = MCSymbolRefExpr::VK_Hexagon_HI16; in GetSymbolRef() 66 RelocationType = MCSymbolRefExpr::VK_Hexagon_GPREL; in GetSymbolRef() 69 RelocationType = MCSymbolRefExpr::VK_Hexagon_GD_GOT; in GetSymbolRef() 72 RelocationType = MCSymbolRefExpr::VK_Hexagon_GD_PLT; in GetSymbolRef() 75 RelocationType = MCSymbolRefExpr::VK_Hexagon_IE; in GetSymbolRef() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
H A D | WebAssemblyWasmObjectWriter.cpp | 48 if (auto SyExp = dyn_cast<MCSymbolRefExpr>(Expr)) { in getTargetSection() 69 const MCSymbolRefExpr *RefA = Target.getSymA(); in getRelocType() 73 MCSymbolRefExpr::VariantKind Modifier = Target.getAccessVariant(); in getRelocType() 76 case MCSymbolRefExpr::VK_GOT: in getRelocType() 77 case MCSymbolRefExpr::VK_WASM_GOT_TLS: in getRelocType() 79 case MCSymbolRefExpr::VK_WASM_TBREL: in getRelocType() 83 case MCSymbolRefExpr::VK_WASM_TLSREL: in getRelocType() 86 case MCSymbolRefExpr::VK_WASM_MBREL: in getRelocType() 90 case MCSymbolRefExpr::VK_WASM_TYPEINDEX: in getRelocType() 92 case MCSymbolRefExpr::VK_None: in getRelocType() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
H A D | M68kMCInstLower.cpp | 78 MCSymbolRefExpr::VariantKind RefKind = MCSymbolRefExpr::VK_None; in LowerSymbolOperand() 88 RefKind = MCSymbolRefExpr::VK_GOTPCREL; in LowerSymbolOperand() 91 RefKind = MCSymbolRefExpr::VK_GOT; in LowerSymbolOperand() 94 RefKind = MCSymbolRefExpr::VK_GOTOFF; in LowerSymbolOperand() 97 RefKind = MCSymbolRefExpr::VK_PLT; in LowerSymbolOperand() 100 RefKind = MCSymbolRefExpr::VK_TLSGD; in LowerSymbolOperand() 103 RefKind = MCSymbolRefExpr::VK_TLSLD; in LowerSymbolOperand() 106 RefKind = MCSymbolRefExpr::VK_TLSLDM; in LowerSymbolOperand() 109 RefKind = MCSymbolRefExpr::VK_GOTTPOFF; in LowerSymbolOperand() 112 RefKind = MCSymbolRefExpr::VK_TPOFF; in LowerSymbolOperand() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Disassembler/ |
H A D | AArch64ExternalSymbolizer.cpp | 23 static MCSymbolRefExpr::VariantKind 27 return MCSymbolRefExpr::VK_None; in getVariant() 29 return MCSymbolRefExpr::VK_PAGE; in getVariant() 31 return MCSymbolRefExpr::VK_PAGEOFF; in getVariant() 33 return MCSymbolRefExpr::VK_GOTPAGE; in getVariant() 35 return MCSymbolRefExpr::VK_GOTPAGEOFF; in getVariant() 37 return MCSymbolRefExpr::VK_TLVPPAGE; in getVariant() 39 return MCSymbolRefExpr::VK_TLVPPAGEOFF; in getVariant() 174 MCSymbolRefExpr::VariantKind Variant = getVariant(SymbolicOp.VariantKind); in tryAddingSymbolicOperand() 175 if (Variant != MCSymbolRefExpr::VK_None) in tryAddingSymbolicOperand() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCValue.h | 37 const MCSymbolRefExpr *SymA = nullptr, *SymB = nullptr; 44 const MCSymbolRefExpr *getSymA() const { return SymA; } in getSymA() 45 const MCSymbolRefExpr *getSymB() const { return SymB; } in getSymB() 57 MCSymbolRefExpr::VariantKind getAccessVariant() const; 59 static MCValue get(const MCSymbolRefExpr *SymA, 60 const MCSymbolRefExpr *SymB = nullptr,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMTargetObjectFile.cpp | 64 const MCExpr *Res = MCSymbolRefExpr::create( in getIndirectSymViaGOTPCRel() 65 Sym, MCSymbolRefExpr::VK_ARM_GOT_PREL, getContext()); in getIndirectSymViaGOTPCRel() 72 return MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_ARM_SBREL, in getIndirectSymViaRWPI() 85 return MCSymbolRefExpr::create(TM.getSymbol(GV), in getTTypeGlobalReference() 86 MCSymbolRefExpr::VK_ARM_TARGET2, getContext()); in getTTypeGlobalReference() 91 return MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_ARM_TLSLDO, in getDebugThreadLocalSymbol()
|
H A D | ARMMCInstLower.cpp | 40 MCSymbolRefExpr::VariantKind SymbolVariant = MCSymbolRefExpr::VK_None; in GetSymbolRef() 42 SymbolVariant = MCSymbolRefExpr::VK_ARM_SBREL; in GetSymbolRef() 45 MCSymbolRefExpr::create(Symbol, SymbolVariant, OutContext); in GetSymbolRef() 53 MCSymbolRefExpr::create(Symbol, SymbolVariant, OutContext); in GetSymbolRef() 58 MCSymbolRefExpr::create(Symbol, SymbolVariant, OutContext); in GetSymbolRef() 62 Expr = MCSymbolRefExpr::create(Symbol, SymbolVariant, OutContext); in GetSymbolRef() 66 Expr = MCSymbolRefExpr::create(Symbol, SymbolVariant, OutContext); in GetSymbolRef() 70 Expr = MCSymbolRefExpr::create(Symbol, SymbolVariant, OutContext); in GetSymbolRef() 74 Expr = MCSymbolRefExpr::create(Symbol, SymbolVariant, OutContext); in GetSymbolRef() 103 MCOp = MCOperand::createExpr(MCSymbolRefExpr::create( in lowerOperand()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZMCInstLower.cpp | 19 static MCSymbolRefExpr::VariantKind getVariantKind(unsigned Flags) { in getVariantKind() 22 return MCSymbolRefExpr::VK_None; in getVariantKind() 24 return MCSymbolRefExpr::VK_GOT; in getVariantKind() 26 return MCSymbolRefExpr::VK_INDNTPOFF; in getVariantKind() 37 MCSymbolRefExpr::VariantKind Kind) const { in getExpr() 70 const MCExpr *Expr = MCSymbolRefExpr::create(Symbol, Kind, Ctx); in getExpr() 88 MCSymbolRefExpr::VariantKind Kind = getVariantKind(MO.getTargetFlags()); in lowerOperand()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64MCInstLower.cpp | 81 MCSymbolRefExpr::create(MangledSym, MCSymbolRefExpr::VK_WEAKREF, in GetGlobalValueSymbol() 86 MCSymbolRefExpr::create(Printer.getSymbol(GV), in GetGlobalValueSymbol() 87 MCSymbolRefExpr::VK_WEAKREF, Ctx)); in GetGlobalValueSymbol() 153 MCSymbolRefExpr::VariantKind RefKind = MCSymbolRefExpr::VK_None; in lowerSymbolOperandMachO() 156 RefKind = MCSymbolRefExpr::VK_GOTPAGE; in lowerSymbolOperandMachO() 159 RefKind = MCSymbolRefExpr::VK_GOTPAGEOFF; in lowerSymbolOperandMachO() 164 RefKind = MCSymbolRefExpr::VK_TLVPPAGE; in lowerSymbolOperandMachO() 167 RefKind = MCSymbolRefExpr::VK_TLVPPAGEOFF; in lowerSymbolOperandMachO() 172 RefKind = MCSymbolRefExpr::VK_PAGE; in lowerSymbolOperandMachO() 175 RefKind = MCSymbolRefExpr::VK_PAGEOFF; in lowerSymbolOperandMachO() [all …]
|