Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCAssembler.cpp253 return cast<MCDataFragment>(F).getContents().size(); in computeFragmentSize()
255 return cast<MCRelaxableFragment>(F).getContents().size(); in computeFragmentSize()
257 return cast<MCCompactEncodedInstFragment>(F).getContents().size(); in computeFragmentSize()
278 return cast<MCLEBFragment>(F).getContents().size(); in computeFragmentSize()
338 return cast<MCDwarfLineAddrFragment>(F).getContents().size(); in computeFragmentSize()
340 return cast<MCDwarfCallFrameFragment>(F).getContents().size(); in computeFragmentSize()
342 return cast<MCCVInlineLineTableFragment>(F).getContents().size(); in computeFragmentSize()
344 return cast<MCCVDefRangeFragment>(F).getContents().size(); in computeFragmentSize()
346 return cast<MCPseudoProbeAddrFragment>(F).getContents().size(); in computeFragmentSize()
431 if (DF->getContents().empty()) in layoutBundle()
[all …]
H A DMCObjectStreamer.cpp203 MCFixup::create(DF->getContents().size(), Value, in emitValueImpl()
205 DF->getContents().resize(DF->getContents().size() + Size, 0); in emitValueImpl()
235 Symbol->setOffset(F->getContents().size()); in emitLabel()
396 getAssembler().getEmitter().encodeInstruction(Inst, IF->getContents(), in emitInstToFragment()
551 DF->getContents().append(Data.begin(), Data.end()); in emitBytes()
583 DF->getFixups().push_back(MCFixup::create(DF->getContents().size(), in emitDTPRel32Value()
585 DF->getContents().resize(DF->getContents().size() + 4, 0); in emitDTPRel32Value()
591 DF->getFixups().push_back(MCFixup::create(DF->getContents().size(), in emitDTPRel64Value()
593 DF->getContents().resize(DF->getContents().size() + 8, 0); in emitDTPRel64Value()
599 DF->getFixups().push_back(MCFixup::create(DF->getContents().size(), in emitTPRel32Value()
[all …]
H A DMCWinCOFFStreamer.cpp70 Fixups[i].setOffset(Fixups[i].getOffset() + DF->getContents().size()); in emitInstToData()
74 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
240 MCFixup Fixup = MCFixup::create(DF->getContents().size(), SRE, FK_SecRel_2); in emitCOFFSectionIndex()
242 DF->getContents().resize(DF->getContents().size() + 2, 0); in emitCOFFSectionIndex()
256 MCFixup Fixup = MCFixup::create(DF->getContents().size(), MCE, FK_SecRel_4); in emitCOFFSecRel32()
260 DF->getContents().resize(DF->getContents().size() + 4, 0); in emitCOFFSecRel32()
275 MCFixup Fixup = MCFixup::create(DF->getContents().size(), MCE, FK_Data_4); in emitCOFFImgRel32()
279 DF->getContents().resize(DF->getContents().size() + 4, 0); in emitCOFFImgRel32()
H A DMCXCOFFStreamer.cpp96 MCFixup Fixup = MCFixup::create(DF->getContents().size(), SRE, Kind); in emitXCOFFRefDirective()
154 const size_t ContentsSize = DF->getContents().size(); in emitInstToData()
162 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
H A DMCFragment.cpp152 const SmallVectorImpl<char> &Contents = DF->getContents(); in dump()
176 const SmallVectorImpl<char> &Contents = CEIF->getContents(); in dump()
202 OS << " (" << F->getContents().size() << " bytes)"; in dump()
H A DMCMachOStreamer.cpp455 Fixup.setOffset(Fixup.getOffset() + DF->getContents().size()); in emitInstToData()
459 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
526 .getContents() in finalizeCGProfile()
568 Frag->getContents().resize(8); in createAddrSigSection()
H A DMCCodeView.cpp140 StrTabFragment->getContents().push_back('\0'); in getStringTableFragment()
146 SmallVectorImpl<char> &Contents = getStringTableFragment()->getContents(); in addToStringTable()
380 ->getContents()[Files[CurFileNum - 1].StringTableOffset]) + in emitLineTableForFunction()
525 SmallVectorImpl<char> &Buffer = Frag.getContents(); in encodeInlineLineTable()
624 SmallVectorImpl<char> &Contents = Frag.getContents(); in encodeDefRange()
H A DMCSPIRVStreamer.cpp31 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
H A DMCWasmStreamer.cpp196 Fixups[I].setOffset(Fixups[I].getOffset() + DF->getContents().size()); in emitInstToData()
200 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
/freebsd/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/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCFragment.h188 SmallVectorImpl<char> &getContents() { return Contents; } in getContents() function
189 const SmallVectorImpl<char> &getContents() const { return Contents; } in getContents() function
427 getContents().push_back(0); in MCLEBFragment()
524 SmallString<8> &getContents() { return Contents; } in getContents() function
525 const SmallString<8> &getContents() const { return Contents; } in getContents() function
/freebsd/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/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp421 return DF->getContents().size() && in isRightAfterData()
423 DF->getContents().size() != PrevInstPosition.second); in isRightAfterData()
437 return cast<MCDataFragment>(*F).getContents().size(); in getSizeForInstFragment()
439 return cast<MCRelaxableFragment>(*F).getContents().size(); in getSizeForInstFragment()
441 return cast<MCCompactEncodedInstFragment>(*F).getContents().size(); in getSizeForInstFragment()
780 const unsigned OldSize = RF.getContents().size(); in padInstructionViaPrefix()
809 Code.append(RF.getContents().begin(), RF.getContents().end()); in padInstructionViaPrefix()
810 RF.getContents() = Code; in padInstructionViaPrefix()
835 const unsigned OldSize = RF.getContents().size(); in padInstructionViaRelaxation()
842 RF.getContents() = Code; in padInstructionViaRelaxation()
/freebsd/contrib/llvm-project/lld/COFF/
H A DICF.cpp180 a->checksum == b->checksum && a->getContents() == b->getContents() && in equalsConstant()
285 sc->eqClass[0] = xxh3_64bits(sc->getContents()); in run()
H A DInputFiles.cpp163 if (chunk->getContents().size() % sizeof(ECMapEntry)) { in initializeECThunks()
164 error("Invalid .hybmp chunk size " + Twine(chunk->getContents().size())); in initializeECThunks()
169 chunk->getContents().data() + chunk->getContents().size(); in initializeECThunks()
170 for (const uint8_t *iter = chunk->getContents().data(); iter != end; in initializeECThunks()
590 if (leaderChunk->getContents() != newChunk.getContents()) in handleComdatSelection()
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()
703 ArrayRef<uint8_t> SectionChunk::getContents() const { in getContents() function in lld::coff::SectionChunk
711 return consumeDebugMagic(getContents(), getSectionName()); in consumeDebugMagic()
1039 builder.add(toStringRef(c->getContents())); in finalizeContents()
1048 size_t off = builder.getOffset(toStringRef(c->getContents())); in assignSubsectionRVAs()
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Parallel/
H A DDWARFLinker.h99 virtual StringRef getContents() = 0;
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DObjDumper.cpp169 unwrapOrError(Obj.getFileName(), Section.getContents()); in printSectionsAsString()
186 unwrapOrError(Obj.getFileName(), Section.getContents()); in printSectionsAsHex()
H A DCOFFDumper.cpp1135 unwrapOrError(Obj->getFileName(), Section.getContents()); in printCodeViewSymbolSection()
1446 StringRef Data = unwrapOrError(Obj->getFileName(), S.getContents()); in mergeCodeViewTypes()
1486 StringRef Data = unwrapOrError(Obj->getFileName(), Section.getContents()); in printCodeViewTypeSection()
1550 StringRef Data = unwrapOrError(Obj->getFileName(), Sec.getContents()); in printSectionHeaders()
1915 unwrapOrError(Obj->getFileName(), Section.getContents()); in printCOFFDirectives()
1955 StringRef Ref = unwrapOrError(Obj->getFileName(), S.getContents()); in printCOFFResources()
2067 unwrapOrError(Obj->getFileName(), RSF.getContents(DataEntry)); in printResourceDirectoryTable()
2092 unwrapOrError(Obj->getFileName(), StackMapSection.getContents()); in printStackMap()
2123 unwrapOrError(Obj->getFileName(), AddrsigSection.getContents()); in printAddrsig()
2156 unwrapOrError(Obj->getFileName(), CGProfileSection.getContents()); in printCGProfile()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h306 Stat = llvm::vfs::Status::copyWithNewSize(Stat, getContents().size()); in getStatus()
320 StringRef getContents() const { return Entry.getOriginalContents(); } in getContents() function
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DOutputSections.h221 StringRef getContents() override { in getContents() function
419 Section.second->getKind())] += Section.second->getContents().size(); in assignSectionsOffsetAndAccumulateSize()
/freebsd/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkLinker.cpp51 if (Expected<StringRef> Contents = Section.getContents()) in getRemarksSectionContents()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DObjectFileTransformer.cpp45 Expected<StringRef> E = Sect.getContents(); in getUUID()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DIRObjectFile.cpp76 Expected<StringRef> Contents = Sec.getContents(); in findBitcodeInObject()

1234