Home
last modified time | relevance | path

Searched refs:getContents (Results 1 – 25 of 78) sorted by relevance

1234

/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectStreamer.cpp252 flushPendingLabels(DF, DF->getContents().size()); in emitValueImpl()
270 DF->getContents().resize(DF->getContents().size() + Size, 0); in emitValueImpl()
302 Symbol->setOffset(F->getContents().size()); in emitLabel()
639 flushPendingLabels(DF, DF->getContents().size()); in emitBytes()
671 flushPendingLabels(DF, DF->getContents().size()); in emitDTPRel32Value()
675 DF->getContents().resize(DF->getContents().size() + 4, 0); in emitDTPRel32Value()
685 DF->getContents().resize(DF->getContents().size() + 8, 0); in emitDTPRel64Value()
695 DF->getContents().resize(DF->getContents().size() + 4, 0); in emitTPRel32Value()
705 DF->getContents().resize(DF->getContents().size() + 8, 0); in emitTPRel64Value()
715 DF->getContents().resize(DF->getContents().size() + 4, 0); in emitGPRel32Value()
[all …]
H A DMCAssembler.cpp677 OS << LF.getContents(); in writeFragment()
707 OS << OF.getContents(); in writeFragment()
712 OS << CF.getContents(); in writeFragment()
717 OS << OF.getContents(); in writeFragment()
722 OS << DRF.getContents(); in writeFragment()
727 OS << PF.getContents(); in writeFragment()
760 if (DF.getContents()[i]) { in writeSectionData()
891 Contents = DF.getContents(); in layout()
899 Contents = RF.getContents(); in layout()
907 Contents = CF.getContents(); in layout()
[all …]
H A DMCWinCOFFStreamer.cpp60 Fixups[i].setOffset(Fixups[i].getOffset() + DF->getContents().size()); in emitInstToData()
64 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
224 MCFixup Fixup = MCFixup::create(DF->getContents().size(), SRE, FK_SecRel_2); in emitCOFFSectionIndex()
226 DF->getContents().resize(DF->getContents().size() + 2, 0); in emitCOFFSectionIndex()
240 MCFixup Fixup = MCFixup::create(DF->getContents().size(), MCE, FK_SecRel_4); in emitCOFFSecRel32()
244 DF->getContents().resize(DF->getContents().size() + 4, 0); in emitCOFFSecRel32()
259 MCFixup Fixup = MCFixup::create(DF->getContents().size(), MCE, FK_Data_4); in emitCOFFImgRel32()
263 DF->getContents().resize(DF->getContents().size() + 4, 0); in emitCOFFImgRel32()
H A DMCWasmStreamer.cpp43 flushPendingLabels(DF, DF->getContents().size()); in mergeFragment()
47 DF->getContents().size()); in mergeFragment()
52 DF->getContents().append(EF->getContents().begin(), EF->getContents().end()); in mergeFragment()
210 Fixups[I].setOffset(Fixups[I].getOffset() + DF->getContents().size()); in emitInstToData()
214 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
H A DMCELFStreamer.cpp58 uint64_t FSize = EF->getContents().size(); in mergeFragment()
64 Assembler, EF, DF->getContents().size(), FSize); in mergeFragment()
75 DF->getContents().append(Code.begin(), Code.end()); in mergeFragment()
79 flushPendingLabels(DF, DF->getContents().size()); in mergeFragment()
83 DF->getContents().size()); in mergeFragment()
88 DF->getContents().append(EF->getContents().begin(), EF->getContents().end()); in mergeFragment()
601 CEIF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
625 Fixup.setOffset(Fixup.getOffset() + DF->getContents().size()); in emitInstToData()
633 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
H A DMCXCOFFStreamer.cpp95 MCFixup Fixup = MCFixup::create(DF->getContents().size(), SRE, Kind); in emitXCOFFRefDirective()
151 const size_t ContentsSize = DF->getContents().size(); in emitInstToData()
159 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
H A DMCMachOStreamer.cpp493 Fixup.setOffset(Fixup.getOffset() + DF->getContents().size()); in emitInstToData()
497 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
560 Frag->getContents().resize(SectionBytes); in finalizeCGProfile()
604 Frag->getContents().resize(8); in createAddrSigSection()
H A DMCSPIRVStreamer.cpp31 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
H A DMCCodeView.cpp143 StrTabFragment->getContents().push_back('\0'); in getStringTableFragment()
149 SmallVectorImpl<char> &Contents = getStringTableFragment()->getContents(); in addToStringTable()
383 ->getContents()[Files[CurFileNum - 1].StringTableOffset]) + in emitLineTableForFunction()
526 SmallVectorImpl<char> &Buffer = Frag.getContents(); in encodeInlineLineTable()
625 SmallVectorImpl<char> &Contents = Frag.getContents(); in encodeDefRange()
H A DMCFragment.cpp388 const SmallVectorImpl<char> &Contents = DF->getContents(); in dump()
412 const SmallVectorImpl<char> &Contents = CEIF->getContents(); in dump()
438 OS << " (" << F->getContents().size() << " bytes)"; in dump()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DOutputSections.cpp100 Expected<StringRef> Data = Sect.getContents(); in setSizesForSectionCreatedByAsmPrinter()
227 assert(PatchOffset < getContents().size()); in getIntVal()
231 (getContents().data() + PatchOffset)); in getIntVal()
234 return support::endian::read16(getContents().data() + PatchOffset, in getIntVal()
252 assert(PatchOffset < getContents().size()); in applyIntVal()
257 const_cast<char *>(getContents().data() + PatchOffset), in applyIntVal()
262 const_cast<char *>(getContents().data() + PatchOffset), in applyIntVal()
267 const_cast<char *>(getContents().data() + PatchOffset), in applyIntVal()
272 const_cast<char *>(getContents().data() + PatchOffset), in applyIntVal()
281 assert(PatchOffset < getContents().size()); in applyULEB128()
[all …]
H A DOutputSections.h221 StringRef getContents() override { in getContents() function
419 Section.second->getKind())] += Section.second->getContents().size(); in assignSectionsOffsetAndAccumulateSize()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-cov/
H A DTestingSupport.cpp105 if (Expected<StringRef> E = CoverageMapping.getContents()) in convertForTestingMain()
111 if (Expected<StringRef> E = CoverageRecords.getContents()) in convertForTestingMain()
117 if (Expected<StringRef> E = ProfileNames.getContents()) in convertForTestingMain()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp413 if (cast<MCDataFragment>(F)->getContents().size() != 0) in isRightAfterData()
428 DF->getContents().size() != PrevInstPosition.second; in isRightAfterData()
442 return cast<MCDataFragment>(*F).getContents().size(); in getSizeForInstFragment()
444 return cast<MCRelaxableFragment>(*F).getContents().size(); in getSizeForInstFragment()
446 return cast<MCCompactEncodedInstFragment>(*F).getContents().size(); in getSizeForInstFragment()
770 const unsigned OldSize = RF.getContents().size(); in padInstructionViaPrefix()
799 Code.append(RF.getContents().begin(), RF.getContents().end()); in padInstructionViaPrefix()
800 RF.getContents() = Code; in padInstructionViaPrefix()
825 const unsigned OldSize = RF.getContents().size(); in padInstructionViaRelaxation()
832 RF.getContents() = Code; in padInstructionViaRelaxation()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFObjcopy.cpp69 Sec.Header.VirtualSize = NeedVA ? Sec.getContents().size() : 0u; in addSection()
74 : Sec.getContents().size(); in addSection()
139 ArrayRef<uint8_t> Contents = Section.getContents(); in dumpSection()
286 size_t ContentSize = It->getContents().size(); in handleArgs()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCFragment.h197 SmallVectorImpl<char> &getContents() { return Contents; } in getContents() function
198 const SmallVectorImpl<char> &getContents() const { return Contents; } in getContents() function
442 getContents().push_back(0);
541 SmallString<8> &getContents() { return Contents; } in getContents() function
542 const SmallString<8> &getContents() const { return Contents; } in getContents() function
/freebsd-14.2/contrib/llvm-project/lld/COFF/
H A DICF.cpp180 a->checksum == b->checksum && a->getContents() == b->getContents() && in equalsConstant()
276 sc->eqClass[0] = xxh3_64bits(sc->getContents()); in run()
H A DPDB.cpp590 ArrayRef<uint8_t> sectionContents = debugChunk->getContents(); in analyzeSymbolSubsection()
655 ArrayRef<uint8_t> sectionContents = debugChunk->getContents(); in writeAllModuleSymbolRecords()
728 ArrayRef<uint8_t> contents = secChunk->getContents(); in createSectionContrib()
758 ArrayRef<uint8_t> contents = debugChunk->getContents(); in handleDebugS()
831 ptrdiff_t vaBegin = subsec.data() - sc->getContents().data(); in advanceRelocIndex()
862 debugChunk->writeAndRelocateSubsection(debugChunk->getContents(), subsec, in commit()
955 debugChunk->writeAndRelocateSubsection(debugChunk->getContents(), in finish()
1774 SectionChunk::consumeDebugMagic(dbgC->getContents(), ".debug$S"); in findLineTable()
1796 size_t offsetInDbgC = bytes.data() - dbgC->getContents().data(); in findLineTable()
H A DChunks.cpp395 ArrayRef<uint8_t> a = getContents(); in writeTo()
701 ArrayRef<uint8_t> SectionChunk::getContents() const { in getContents() function in lld::coff::SectionChunk
709 return consumeDebugMagic(getContents(), getSectionName()); in consumeDebugMagic()
1037 builder.add(toStringRef(c->getContents())); in finalizeContents()
1046 size_t off = builder.getOffset(toStringRef(c->getContents())); in assignSubsectionRVAs()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Parallel/
H A DDWARFLinker.h99 virtual StringRef getContents() = 0;
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DObjDumper.cpp174 unwrapOrError(Obj.getFileName(), Section.getContents()); in printSectionsAsString()
196 unwrapOrError(Obj.getFileName(), Section.getContents()); in printSectionsAsHex()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h252 Stat = llvm::vfs::Status::copyWithNewSize(Stat, getContents().size()); in getStatus()
266 StringRef getContents() const { return Entry.getOriginalContents(); } in getContents() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DObjectFileTransformer.cpp44 Expected<StringRef> E = Sect.getContents(); in getUUID()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkLinker.cpp51 if (Expected<StringRef> Contents = Section.getContents()) in getRemarksSectionContents()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/
H A DPrecompiledPreamble.h106 llvm::StringRef getContents() const { in getContents() function

1234