Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectStreamer.cpp226 flushPendingLabels(DF, DF->getContents().size()); in emitValueImpl()
244 DF->getContents().resize(DF->getContents().size() + Size, 0); in emitValueImpl()
276 Symbol->setOffset(F->getContents().size()); in emitLabel()
593 flushPendingLabels(DF, DF->getContents().size()); in emitBytes()
626 flushPendingLabels(DF, DF->getContents().size()); in emitDTPRel32Value()
630 DF->getContents().resize(DF->getContents().size() + 4, 0); in emitDTPRel32Value()
640 DF->getContents().resize(DF->getContents().size() + 8, 0); in emitDTPRel64Value()
650 DF->getContents().resize(DF->getContents().size() + 4, 0); in emitTPRel32Value()
660 DF->getContents().resize(DF->getContents().size() + 8, 0); in emitTPRel64Value()
670 DF->getContents().resize(DF->getContents().size() + 4, 0); in emitGPRel32Value()
[all …]
H A DMCAssembler.cpp662 OS << LF.getContents(); in writeFragment()
691 OS << OF.getContents(); in writeFragment()
696 OS << CF.getContents(); in writeFragment()
701 OS << OF.getContents(); in writeFragment()
706 OS << DRF.getContents(); in writeFragment()
711 OS << PF.getContents(); in writeFragment()
744 if (DF.getContents()[i]) { in writeSectionData()
875 Contents = DF.getContents(); in layout()
883 Contents = RF.getContents(); in layout()
891 Contents = CF.getContents(); in layout()
[all …]
H A DMCWinCOFFStreamer.cpp62 Fixups[i].setOffset(Fixups[i].getOffset() + DF->getContents().size()); in emitInstToData()
66 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
222 MCFixup Fixup = MCFixup::create(DF->getContents().size(), SRE, FK_SecRel_2); in EmitCOFFSectionIndex()
224 DF->getContents().resize(DF->getContents().size() + 2, 0); in EmitCOFFSectionIndex()
238 MCFixup Fixup = MCFixup::create(DF->getContents().size(), MCE, FK_SecRel_4); in EmitCOFFSecRel32()
242 DF->getContents().resize(DF->getContents().size() + 4, 0); in EmitCOFFSecRel32()
257 MCFixup Fixup = MCFixup::create(DF->getContents().size(), MCE, FK_Data_4); in EmitCOFFImgRel32()
261 DF->getContents().resize(DF->getContents().size() + 4, 0); in EmitCOFFImgRel32()
H A DMCWasmStreamer.cpp40 flushPendingLabels(DF, DF->getContents().size()); in mergeFragment()
44 DF->getContents().size()); in mergeFragment()
49 DF->getContents().append(EF->getContents().begin(), EF->getContents().end()); in mergeFragment()
175 Fixups[I].setOffset(Fixups[I].getOffset() + DF->getContents().size()); in emitInstToData()
179 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()
596 CEIF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
620 Fixup.setOffset(Fixup.getOffset() + DF->getContents().size()); in emitInstToData()
625 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
H A DMCXCOFFStreamer.cpp108 const size_t ContentsSize = DF->getContents().size(); in emitInstToData()
116 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
H A DMCCodeView.cpp142 StrTabFragment->getContents().push_back('\0'); in getStringTableFragment()
148 SmallVectorImpl<char> &Contents = getStringTableFragment()->getContents(); in addToStringTable()
359 ->getContents()[Files[CurFileNum - 1].StringTableOffset]) + in emitLineTableForFunction()
509 SmallVectorImpl<char> &Buffer = Frag.getContents(); in encodeInlineLineTable()
608 SmallVectorImpl<char> &Contents = Frag.getContents(); in encodeDefRange()
H A DMCFragment.cpp384 const SmallVectorImpl<char> &Contents = DF->getContents(); in dump()
408 const SmallVectorImpl<char> &Contents = CEIF->getContents(); in dump()
434 OS << " (" << F->getContents().size() << " bytes)"; in dump()
H A DMCMachOStreamer.cpp469 Fixup.setOffset(Fixup.getOffset() + DF->getContents().size()); in emitInstToData()
473 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cov/
H A DTestingSupport.cpp83 if (Expected<StringRef> E = CoverageMapping.getContents()) in convertForTestingMain()
89 if (Expected<StringRef> E = CoverageRecords.getContents()) in convertForTestingMain()
95 if (Expected<StringRef> E = ProfileNames.getContents()) in convertForTestingMain()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVELFStreamer.cpp235 flushPendingLabels(DF, DF->getContents().size()); in emitValueImpl()
242 DF->getContents().size(), A, static_cast<MCFixupKind>(Add), Loc)); in emitValueImpl()
244 DF->getContents().size(), B, static_cast<MCFixupKind>(Sub), Loc)); in emitValueImpl()
246 DF->getContents().resize(DF->getContents().size() + Size, 0); in emitValueImpl()
H A DRISCVMCExpr.cpp65 if (DF->getContents().size() == Offset) { in getPCRelHiFixup()
/freebsd-13.1/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
434 SmallString<8> &getContents() { return Contents; } in getContents() function
435 const SmallString<8> &getContents() const { return Contents; } in getContents() function
527 SmallString<8> &getContents() { return Contents; } in getContents() function
528 const SmallString<8> &getContents() const { return Contents; } in getContents() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp498 if (cast<MCDataFragment>(F)->getContents().size() != 0) in isRightAfterData()
513 DF->getContents().size() != PrevInstPosition.second; in isRightAfterData()
527 return cast<MCDataFragment>(*F).getContents().size(); in getSizeForInstFragment()
529 return cast<MCRelaxableFragment>(*F).getContents().size(); in getSizeForInstFragment()
531 return cast<MCCompactEncodedInstFragment>(*F).getContents().size(); in getSizeForInstFragment()
877 const unsigned OldSize = RF.getContents().size(); in padInstructionViaPrefix()
907 Code.append(RF.getContents().begin(), RF.getContents().end()); in padInstructionViaPrefix()
908 RF.getContents() = Code; in padInstructionViaPrefix()
934 const unsigned OldSize = RF.getContents().size(); in padInstructionViaRelaxation()
941 RF.getContents() = Code; in padInstructionViaRelaxation()
/freebsd-13.1/contrib/llvm-project/lld/COFF/
H A DICF.cpp177 a->checksum == b->checksum && a->getContents() == b->getContents() && in equalsConstant()
272 sc->eqClass[0] = xxHash64(sc->getContents()); in run()
H A DPDB.cpp595 ArrayRef<uint8_t> sectionContents = debugChunk->getContents(); in analyzeSymbolSubsection()
659 ArrayRef<uint8_t> sectionContents = debugChunk->getContents(); in writeAllModuleSymbolRecords()
731 ArrayRef<uint8_t> contents = secChunk->getContents(); in createSectionContrib()
761 ArrayRef<uint8_t> contents = debugChunk->getContents(); in handleDebugS()
829 ptrdiff_t vaBegin = subsec.data() - sc->getContents().data(); in advanceRelocIndex()
860 debugChunk->writeAndRelocateSubsection(debugChunk->getContents(), subsec, in commit()
950 debugChunk->writeAndRelocateSubsection(debugChunk->getContents(), in finish()
1722 SectionChunk::consumeDebugMagic(dbgC->getContents(), ".debug$S"); in findLineTable()
1744 size_t offsetInDbgC = bytes.data() - dbgC->getContents().data(); in findLineTable()
H A DChunks.cpp360 ArrayRef<uint8_t> a = getContents(); in writeTo()
645 ArrayRef<uint8_t> SectionChunk::getContents() const { in getContents() function in lld::coff::SectionChunk
653 return consumeDebugMagic(getContents(), getSectionName()); in consumeDebugMagic()
962 builder.add(toStringRef(c->getContents())); in finalizeContents()
971 size_t off = builder.getOffset(toStringRef(c->getContents())); in assignSubsectionRVAs()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DObjDumper.cpp130 unwrapOrError(Obj.getFileName(), Section.getContents()); in printSectionsAsString()
148 unwrapOrError(Obj.getFileName(), Section.getContents()); in printSectionsAsHex()
H A DCOFFDumper.cpp987 unwrapOrError(Obj->getFileName(), Section.getContents()); in printCodeViewSymbolSection()
1297 StringRef Data = unwrapOrError(Obj->getFileName(), S.getContents()); in mergeCodeViewTypes()
1337 StringRef Data = unwrapOrError(Obj->getFileName(), Section.getContents()); in printCodeViewTypeSection()
1401 StringRef Data = unwrapOrError(Obj->getFileName(), Sec.getContents()); in printSectionHeaders()
1754 unwrapOrError(Obj->getFileName(), Section.getContents()); in printCOFFDirectives()
1794 StringRef Ref = unwrapOrError(Obj->getFileName(), S.getContents()); in printCOFFResources()
1906 unwrapOrError(Obj->getFileName(), RSF.getContents(DataEntry)); in printResourceDirectoryTable()
1931 unwrapOrError(Obj->getFileName(), StackMapSection.getContents()); in printStackMap()
1962 unwrapOrError(Obj->getFileName(), AddrsigSection.getContents()); in printAddrsig()
1995 unwrapOrError(Obj->getFileName(), CGProfileSection.getContents()); in printCGProfile()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/
H A DCOFFObjcopy.cpp68 Sec.Header.VirtualSize = NeedVA ? Sec.getContents().size() : 0u; in addSection()
73 : Sec.getContents().size(); in addSection()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DObjectFileTransformer.cpp44 Expected<StringRef> E = Sect.getContents(); in getUUID()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkLinker.cpp45 if (Expected<StringRef> Contents = Section.getContents()) in getRemarksSectionContents()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h63 llvm::ErrorOr<StringRef> getContents() const { in getContents() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DIRObjectFile.cpp77 Expected<StringRef> Contents = Sec.getContents(); in findBitcodeInObject()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Frontend/
H A DPrecompiledPreamble.h101 llvm::StringRef getContents() const { in getContents() function

123