Home
last modified time | relevance | path

Searched refs:Asm (Results 1 – 25 of 193) sorted by relevance

12345678

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DEHStreamer.cpp37 EHStreamer::EHStreamer(AsmPrinter *A) : Asm(A), MMI(Asm->MMI) {} in EHStreamer()
79 const std::vector<unsigned> &FilterIds = Asm->MF->getFilterIds(); in computeActionsTable()
239 MCSymbol *LastLabel = Asm->getFunctionBegin(); in computeCallSiteTable()
248 bool IsSJLJ = Asm->MAI->getExceptionHandlingType() == ExceptionHandling::SjLj; in computeCallSiteTable()
251 for (const auto &MBB : *Asm->MF) { in computeCallSiteTable()
252 if (&MBB == &Asm->MF->front() || MBB.isBeginSection()) { in computeCallSiteTable()
256 {Asm->MBBSectionRanges[MBB.getSectionID()].BeginLabel, in computeCallSiteTable()
257 Asm->MBBSectionRanges[MBB.getSectionID()].EndLabel, in computeCallSiteTable()
258 Asm->getMBBExceptionSym(MBB), CallSites.size()}); in computeCallSiteTable()
295 (Asm->MAI->usesCFIForEH() || in computeCallSiteTable()
[all …]
H A DAccelTable.cpp44 void AccelTableBase::finalize(AsmPrinter *Asm, StringRef Prefix) { in finalize() argument
66 E.second.Sym = Asm->createTempSymbol(Prefix); in finalize()
82 AsmPrinter *const Asm; ///< Destination. member in __anon2660ec280311::AccelTableWriter
97 AccelTableWriter(AsmPrinter *Asm, const AccelTableBase &Contents, in AccelTableWriter() argument
99 : Asm(Asm), Contents(Contents), SkipIdenticalHashes(SkipIdenticalHashes) { in AccelTableWriter()
122 void emit(AsmPrinter *Asm) const;
141 void emit(AsmPrinter *Asm) const;
156 AppleAccelTableWriter(AsmPrinter *Asm, const AccelTableBase &Contents, in AppleAccelTableWriter() argument
158 : AccelTableWriter(Asm, Contents, true), in AppleAccelTableWriter()
212 MCSymbol *AbbrevStart = Asm->createTempSymbol("names_abbrev_start");
[all …]
H A DAddressPool.cpp27 MCSymbol *AddressPool::emitHeader(AsmPrinter &Asm, MCSection *Section) { in emitHeader() argument
28 static const uint8_t AddrSize = Asm.MAI->getCodePointerSize(); in emitHeader()
31 Asm.emitDwarfUnitLength("debug_addr", "Length of contribution"); in emitHeader()
32 Asm.OutStreamer->AddComment("DWARF version number"); in emitHeader()
33 Asm.emitInt16(Asm.getDwarfVersion()); in emitHeader()
34 Asm.OutStreamer->AddComment("Address size"); in emitHeader()
35 Asm.emitInt8(AddrSize); in emitHeader()
36 Asm.OutStreamer->AddComment("Segment selector size"); in emitHeader()
37 Asm.emitInt8(0); // TODO: Support non-zero segment_selector_size. in emitHeader()
43 void AddressPool::emit(AsmPrinter &Asm, MCSection *AddrSection) { in emit() argument
[all …]
H A DDwarfStringPool.cpp20 DwarfStringPool::DwarfStringPool(BumpPtrAllocator &A, AsmPrinter &Asm, in DwarfStringPool() argument
23 ShouldCreateSymbols(Asm.doesDwarfUseRelocationsAcrossSections()) {} in DwarfStringPool()
26 DwarfStringPool::getEntryImpl(AsmPrinter &Asm, StringRef Str) { in getEntryImpl() argument
32 Entry.Symbol = ShouldCreateSymbols ? Asm.createTempSymbol(Prefix) : nullptr; in getEntryImpl()
39 DwarfStringPool::EntryRef DwarfStringPool::getEntry(AsmPrinter &Asm, in getEntry() argument
41 auto &MapEntry = getEntryImpl(Asm, Str); in getEntry()
45 DwarfStringPool::EntryRef DwarfStringPool::getIndexedEntry(AsmPrinter &Asm, in getIndexedEntry() argument
47 auto &MapEntry = getEntryImpl(Asm, Str); in getIndexedEntry()
53 void DwarfStringPool::emitStringOffsetsTableHeader(AsmPrinter &Asm, in emitStringOffsetsTableHeader() argument
58 Asm.OutStreamer->switchSection(Section); in emitStringOffsetsTableHeader()
[all …]
H A DARMException.cpp27 MCTargetStreamer &TS = *Asm->OutStreamer->getTargetStreamer(); in getTargetStreamer()
32 if (Asm->MAI->getExceptionHandlingType() == ExceptionHandling::ARM) in beginFunction()
35 AsmPrinter::CFISection CFISecType = Asm->getFunctionCFISectionType(*MF); in beginFunction()
41 if (Asm->getModuleCFISectionType() == AsmPrinter::CFISection::Debug) in beginFunction()
42 Asm->OutStreamer->emitCFISections(false, true); in beginFunction()
47 Asm->OutStreamer->emitCFIStartProc(false); in beginFunction()
53 Asm->OutStreamer->emitCFIEndProc(); in markFunctionEnd()
69 if (!Asm->MF->getFunction().needsUnwindTableEntry() && in endFunction()
75 MCSymbol *PerSym = Asm->getSymbol(Per); in endFunction()
86 if (Asm->MAI->getExceptionHandlingType() == ExceptionHandling::ARM) in endFunction()
[all …]
H A DDwarfDebug.cpp335 const Triple &TT = Asm->TM.getTargetTriple(); in DwarfDebug()
339 if (Asm->TM.Options.DebuggerTuning != DebuggerKind::Default) in DwarfDebug()
340 DebuggerTuning = Asm->TM.Options.DebuggerTuning; in DwarfDebug()
360 HasSplitDwarf = !Asm->TM.Options.MCOptions.SplitDwarfFile.empty(); in DwarfDebug()
368 unsigned DwarfVersionNumber = Asm->TM.Options.MCOptions.DwarfVersion; in DwarfDebug()
384 ((Asm->TM.Options.MCOptions.Dwarf64 || MMI->getModule()->isDwarf64()) && in DwarfDebug()
424 EmitDebugEntryValues = Asm->TM.Options.ShouldEmitDebugEntryValues(); in DwarfDebug()
440 Asm->OutStreamer->getContext().setDwarfVersion(DwarfVersion); in DwarfDebug()
441 Asm->OutStreamer->getContext().setDwarfFormat(Dwarf64 ? dwarf::DWARF64 in DwarfDebug()
1089 InfoHolder.getUnits().size(), DIUnit, Asm, this, &InfoHolder); in getOrCreateDwarfCompileUnit()
[all …]
H A DWinException.cpp39 isAArch64 = Asm->TM.getTargetTriple().isAArch64(); in WinException()
40 isThumb = Asm->TM.getTargetTriple().isThumb(); in WinException()
48 auto &OS = *Asm->OutStreamer; in endModule()
52 OS.emitCOFFSafeSEH(Asm->getSymbol(&F)); in endModule()
56 OS.switchSection(Asm->OutContext.getObjectFileInfo()->getGEHContSection()); in endModule()
72 shouldEmitMoves = Asm->needsSEHMoves() && MF->hasWinCFI(); in beginFunction()
74 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); in beginFunction()
98 if (!Asm->MAI->usesWindowsCFI()) { in beginFunction()
113 beginFunclet(MF->front(), Asm->CurrentFnSym); in beginFunction()
119 Asm->OutStreamer->emitWinCFIFuncletOrFuncEnd(); in markFunctionEnd()
[all …]
H A DDwarfCFIException.cpp40 if (!Asm->MAI->usesCFIForEH()) in endModule()
43 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); in endModule()
52 MCSymbol *Sym = Asm->getSymbol(Personality); in endModule()
53 TLOF.emitPersonalityValue(*Asm->OutStreamer, Asm->getDataLayout(), Sym); in endModule()
67 Asm->getFunctionCFISectionType(*MF) != AsmPrinter::CFISection::None; in beginFunction()
69 const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); in beginFunction()
98 shouldEmitCFI = Asm->usesCFIWithoutEH() && shouldEmitMoves; in beginFunction()
106 AsmPrinter::CFISection CFISecType = Asm->getModuleCFISectionType(); in beginBasicBlockSection()
111 Asm->TM.Options.ForceDwarfFrameSection) in beginBasicBlockSection()
112 Asm->OutStreamer->emitCFISections( in beginBasicBlockSection()
[all …]
H A DAIXException.cpp41 cast<MCSectionXCOFF>(Asm->getObjFileLowering().getCompactUnwindSection()); in emitExceptionInfoTable()
42 if (Asm->TM.getFunctionSections()) { in emitExceptionInfoTable()
48 raw_svector_ostream(NameStr) << '.' << Asm->MF->getFunction().getName(); in emitExceptionInfoTable()
49 EHInfo = Asm->OutContext.getXCOFFSection(NameStr, EHInfo->getKind(), in emitExceptionInfoTable()
52 Asm->OutStreamer->switchSection(EHInfo); in emitExceptionInfoTable()
54 TargetLoweringObjectFileXCOFF::getEHInfoTableSymbol(Asm->MF); in emitExceptionInfoTable()
55 Asm->OutStreamer->emitLabel(EHInfoLabel); in emitExceptionInfoTable()
58 Asm->emitInt32(0); in emitExceptionInfoTable()
64 Asm->OutStreamer->emitValueToAlignment(Align(PointerSize)); in emitExceptionInfoTable()
67 Asm->OutStreamer->emitValue(MCSymbolRefExpr::create(LSDA, Asm->OutContext), in emitExceptionInfoTable()
[all …]
H A DWasmException.cpp33 if (!Asm->isPositionIndependent()) { in endModule()
36 Mangler::getNameWithPrefix(NameStr, SymName, Asm->getDataLayout()); in endModule()
37 if (Asm->OutContext.lookupSymbol(NameStr)) { in endModule()
38 MCSymbol *ExceptionSym = Asm->GetExternalSymbolSymbol(SymName); in endModule()
39 Asm->OutStreamer->emitLabel(ExceptionSym); in endModule()
61 MCSymbol *LSDAEndLabel = Asm->createTempSymbol("GCC_except_table_end"); in endFunction()
62 Asm->OutStreamer->emitLabel(LSDAEndLabel); in endFunction()
63 MCContext &OutContext = Asm->OutStreamer->getContext(); in endFunction()
67 Asm->OutStreamer->emitELFSize(LSDALabel, SizeExp); in endFunction()
83 MachineFunction &MF = *Asm->MF; in computeCallSiteTable()
H A DDwarfFile.cpp21 : Asm(AP), Abbrevs(AbbrevAllocator), StrPool(DA, *Asm, Pref) {} in DwarfFile()
48 Asm->OutStreamer->switchSection(S); in emitUnit()
50 Asm->emitDwarfDIE(TheU->getUnitDie()); in emitUnit()
53 Asm->OutStreamer->emitLabel(EndLabel); in emitUnit()
75 if (SecOffset > UINT32_MAX && !Asm->isDwarf64()) in computeSizeAndOffsets()
82 unsigned Offset = Asm->getUnitLengthFieldByteSize() + // Length of Unit Info in computeSizeAndOffsetsForUnit()
93 return Die.computeOffsetsAndAbbrevs(Asm->getDwarfFormParams(), Abbrevs, in computeSizeAndOffset()
97 void DwarfFile::emitAbbrevs(MCSection *Section) { Abbrevs.Emit(Asm, Section); } in emitAbbrevs()
102 StrPool.emit(*Asm, StrSectio in emitStrings()
[all...]
H A DWinCFGuard.cpp28 WinCFGuard::WinCFGuard(AsmPrinter *A) : Asm(A) {} in WinCFGuard()
81 return Asm->OutContext.lookupSymbol(Twine("__imp_") + Sym->getName()); in lookupImpSymbol()
85 const Module *M = Asm->MMI->getModule(); in endModule()
93 if (MCSymbol *impSym = lookupImpSymbol(Asm->getSymbol(&F))) { in endModule()
102 GFIDsEntries.push_back(Asm->getSymbol(&F)); in endModule()
110 auto &OS = *Asm->OutStreamer; in endModule()
111 OS.switchSection(Asm->OutContext.getObjectFileInfo()->getGFIDsSection()); in endModule()
116 OS.switchSection(Asm->OutContext.getObjectFileInfo()->getGIATsSection()); in endModule()
122 OS.switchSection(Asm->OutContext.getObjectFileInfo()->getGLJMPSection()); in endModule()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFEmitterImpl.cpp112 Asm.reset(TheTarget->createAsmPrinter(*TM, std::unique_ptr<MCStreamer>(MS))); in init()
113 if (!Asm) in init()
117 Asm->setDwarfUsesRelocationsAcrossSections(false); in init()
129 Asm->emitDwarfAbbrevs(Abbrevs); in emitAbbrevs()
139 Asm->emitInt32(Unit.getUnitSize() - 4); in emitCompileUnitHeader()
140 Asm->emitInt16(Unit.getVersion()); in emitCompileUnitHeader()
143 Asm->emitInt8(dwarf::DW_UT_compile); in emitCompileUnitHeader()
144 Asm->emitInt8(Unit.getFormParams().AddrSize); in emitCompileUnitHeader()
146 Asm->emitInt32(0); in emitCompileUnitHeader()
150 Asm->emitInt32(0); in emitCompileUnitHeader()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp28 const MCAssembler &Asm,
35 const MCAssembler &Asm,
42 const MCAssembler &Asm,
47 void RecordX86_64Relocation(MachObjectWriter *Writer, MCAssembler &Asm,
55 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm, in recordRelocation() argument
59 RecordX86_64Relocation(Writer, Asm, Fragment, Fixup, Target, FixedValue); in recordRelocation()
61 RecordX86Relocation(Writer, Asm, Fragment, Fixup, Target, FixedValue); in recordRelocation()
96 MachObjectWriter *Writer, MCAssembler &Asm, const MCFragment *Fragment, in RecordX86_64Relocation() argument
98 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordX86_64Relocation()
103 uint32_t FixupOffset = Asm.getFragmentOffset(*Fragment) + Fixup.getOffset(); in RecordX86_64Relocation()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp37 unsigned &Log2Size, const MCAssembler &Asm);
43 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm,
52 unsigned &Log2Size, const MCAssembler &Asm) { in getAArch64FixupKindMachOInfo() argument
101 Asm.getContext().reportError(Fixup.getLoc(), in getAArch64FixupKindMachOInfo()
149 MachObjectWriter *Writer, MCAssembler &Asm, const MCFragment *Fragment, in recordRelocation() argument
151 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in recordRelocation()
154 uint32_t FixupOffset = Asm.getFragmentOffset(*Fragment); in recordRelocation()
178 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation()
189 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation()
195 Asm)) { in recordRelocation()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFStreamer.cpp133 Asm.reset(TheTarget->createAsmPrinter(*TM, std::unique_ptr<MCStreamer>(MS))); in init()
134 if (!Asm) in init()
138 Asm->setDwarfUsesRelocationsAcrossSections(false); in init()
181 Unit.setLabelBegin(Asm->createTempSymbol("cu_begin")); in emitCompileUnitHeader()
182 Asm->OutStreamer->emitLabel(Unit.getLabelBegin()); in emitCompileUnitHeader()
187 Asm->emitInt32(Unit.getNextUnitOffset() - Unit.getStartOffset() - 4); in emitCompileUnitHeader()
188 Asm->emitInt16(DwarfVersion); in emitCompileUnitHeader()
191 Asm->emitInt8(dwarf::DW_UT_compile); in emitCompileUnitHeader()
192 Asm->emitInt8(Unit.getOrigUnit().getAddressByteSize()); in emitCompileUnitHeader()
195 Asm->emitInt32(0); in emitCompileUnitHeader()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp30 const MCAssembler &Asm,
36 const MCAssembler &Asm,
42 const MCAssembler &Asm,
50 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm,
134 MachObjectWriter *Writer, const MCAssembler &Asm, in recordARMScatteredHalfRelocation() argument
137 uint32_t FixupOffset = Asm.getFragmentOffset(*Fragment) + Fixup.getOffset(); in recordARMScatteredHalfRelocation()
140 Asm.getContext().reportError(Fixup.getLoc(), in recordARMScatteredHalfRelocation()
147 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in recordARMScatteredHalfRelocation()
154 Asm.getContext().reportError(Fixup.getLoc(), in recordARMScatteredHalfRelocation()
160 uint32_t Value = Writer->getSymbolAddress(*A, Asm); in recordARMScatteredHalfRelocation()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMachObjectWriter.cpp86 bool MachObjectWriter::isFixupKindPCRel(const MCAssembler &Asm, unsigned Kind) { in isFixupKindPCRel() argument
87 const MCFixupKindInfo &FKI = Asm.getBackend().getFixupKindInfo( in isFixupKindPCRel()
94 MachObjectWriter::getFragmentAddress(const MCAssembler &Asm, in getFragmentAddress() argument
97 Asm.getFragmentOffset(*Fragment); in getFragmentAddress()
101 const MCAssembler &Asm) const { in getSymbolAddress()
109 if (!S.getVariableValue()->evaluateAsRelocatable(Target, &Asm, nullptr)) in getSymbolAddress()
123 Address += getSymbolAddress(Target.getSymA()->getSymbol(), Asm); in getSymbolAddress()
125 Address += getSymbolAddress(Target.getSymB()->getSymbol(), Asm); in getSymbolAddress()
130 Asm.getSymbolOffset(S); in getSymbolAddress()
133 uint64_t MachObjectWriter::getPaddingSize(const MCAssembler &Asm, in getPaddingSize() argument
[all …]
H A DWinCOFFObjectWriter.cpp162 void executePostLayoutBinding(MCAssembler &Asm);
163 void recordRelocation(MCAssembler &Asm, const MCFragment *Fragment,
166 uint64_t writeObject(MCAssembler &Asm);
173 void defineSection(const MCAssembler &Asm, MCSectionCOFF const &Sec);
176 void defineSymbol(const MCAssembler &Asm, const MCSymbol &Symbol);
189 uint32_t writeSectionContents(MCAssembler &Asm, const MCSection &MCSec);
190 void writeSection(MCAssembler &Asm, const COFFSection &Sec);
192 void createFileSymbols(MCAssembler &Asm);
195 void assignFileOffsets(MCAssembler &Asm);
294 void WinCOFFWriter::defineSection(const MCAssembler &Asm, in defineSection() argument
[all …]
H A DMCExpr.cpp550 bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler &Asm, in evaluateAsAbsolute() argument
554 return evaluateAsAbsolute(Res, &Asm, &Addrs, true); in evaluateAsAbsolute()
557 bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler &Asm) const { in evaluateAsAbsolute()
558 return evaluateAsAbsolute(Res, &Asm, nullptr, false); in evaluateAsAbsolute()
561 bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler *Asm) const { in evaluateAsAbsolute()
562 return evaluateAsAbsolute(Res, Asm, nullptr, false); in evaluateAsAbsolute()
565 bool MCExpr::evaluateKnownAbsolute(int64_t &Res, const MCAssembler &Asm) const { in evaluateKnownAbsolute()
566 return evaluateAsAbsolute(Res, &Asm, nullptr, true); in evaluateKnownAbsolute()
569 bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler *Asm, in evaluateAsAbsolute() argument
580 evaluateAsRelocatableImpl(Value, Asm, nullptr, Addrs, InSet); in evaluateAsAbsolute()
[all …]
H A DELFObjectWriter.cpp109 static uint64_t symbolValue(const MCAssembler &Asm, const MCSymbol &Sym);
110 static bool isInSymtab(const MCAssembler &Asm, const MCSymbolELF &Symbol,
167 void writeHeader(const MCAssembler &Asm);
169 void writeSymbol(const MCAssembler &Asm, SymbolTableWriter &Writer,
179 void computeSymbolTable(MCAssembler &Asm, const RevGroupMapTy &RevGroupMap);
186 void writeSectionHeader(const MCAssembler &Asm);
188 void writeSectionData(const MCAssembler &Asm, MCSection &Sec);
195 void writeRelocations(const MCAssembler &Asm, const MCSectionELF &Sec);
197 uint64_t writeObject(MCAssembler &Asm);
271 void ELFWriter::writeHeader(const MCAssembler &Asm) { in writeHeader() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVAsmBackend.cpp114 bool RISCVAsmBackend::shouldForceRelocation(const MCAssembler &Asm, in shouldForceRelocation() argument
142 const MCAssembler &Asm, const MCFixup &Fixup, bool Resolved, uint64_t Value, in fixupNeedsRelaxationAdvanced() argument
204 bool RISCVAsmBackend::relaxDwarfLineAddr(const MCAssembler &Asm, in relaxDwarfLineAddr() argument
207 MCContext &C = Asm.getContext(); in relaxDwarfLineAddr()
217 AddrDelta.evaluateKnownAbsolute(Value, Asm); in relaxDwarfLineAddr()
270 bool RISCVAsmBackend::relaxDwarfCFA(const MCAssembler &Asm, in relaxDwarfCFA() argument
279 if (AddrDelta.evaluateAsAbsolute(Value, Asm)) in relaxDwarfCFA()
282 AddrDelta.evaluateKnownAbsolute(Value, Asm); in relaxDwarfCFA()
289 assert(Asm.getContext().getAsmInfo()->getMinInstAlignment() == 1 && in relaxDwarfCFA()
332 std::pair<bool, bool> RISCVAsmBackend::relaxLEB128(const MCAssembler &Asm, in relaxLEB128() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYMCExpr.cpp70 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { in fixELFSymbolsInTLSFixupsImpl() argument
80 fixELFSymbolsInTLSFixupsImpl(BE->getLHS(), Asm); in fixELFSymbolsInTLSFixupsImpl()
81 fixELFSymbolsInTLSFixupsImpl(BE->getRHS(), Asm); in fixELFSymbolsInTLSFixupsImpl()
94 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
99 void CSKYMCExpr::fixELFSymbolsInTLSFixups(MCAssembler &Asm) const { in fixELFSymbolsInTLSFixups()
109 fixELFSymbolsInTLSFixupsImpl(getSubExpr(), Asm); in fixELFSymbolsInTLSFixups()
112 bool CSKYMCExpr::evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm, in evaluateAsRelocatableImpl() argument
114 if (!getSubExpr()->evaluateAsRelocatable(Res, Asm, Fixup)) in evaluateAsRelocatableImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCExpr.cpp132 bool MipsMCExpr::evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm, in evaluateAsRelocatableImpl() argument
139 if (!SubExpr->evaluateAsRelocatable(Res, Asm, Fixup)) in evaluateAsRelocatableImpl()
147 if (!getSubExpr()->evaluateAsRelocatable(Res, Asm, Fixup)) in evaluateAsRelocatableImpl()
165 return getSubExpr()->evaluateAsRelocatable(Res, Asm, Fixup); in evaluateAsRelocatableImpl()
222 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { in fixELFSymbolsInTLSFixupsImpl() argument
225 fixELFSymbolsInTLSFixupsImpl(cast<MipsMCExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
231 fixELFSymbolsInTLSFixupsImpl(BE->getLHS(), Asm); in fixELFSymbolsInTLSFixupsImpl()
232 fixELFSymbolsInTLSFixupsImpl(BE->getRHS(), Asm); in fixELFSymbolsInTLSFixupsImpl()
243 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
248 void MipsMCExpr::fixELFSymbolsInTLSFixups(MCAssembler &Asm) const { in fixELFSymbolsInTLSFixups()
[all …]

12345678