| /openbsd-src/gnu/llvm/llvm/lib/MC/ |
| H A D | MCObjectStreamer.cpp | 120 flushPendingLabels(PendingFixup.DF, PendingFixup.DF->getContents().size()); in resolvePendingFixups() 250 flushPendingLabels(DF, DF->getContents().size()); in emitValueImpl() 266 MCFixup::create(DF->getContents().size(), Value, in emitValueImpl() 268 DF->getContents().resize(DF->getContents().size() + Size, 0); in emitValueImpl() 300 Symbol->setOffset(F->getContents().size()); in emitLabel() 477 IF->getContents().append(Code.begin(), Code.end()); in emitInstToFragment() 642 flushPendingLabels(DF, DF->getContents().size()); in emitBytes() 643 DF->getContents().append(Data.begin(), Data.end()); in emitBytes() 674 flushPendingLabels(DF, DF->getContents().size()); in emitDTPRel32Value() 676 DF->getFixups().push_back(MCFixup::create(DF->getContents().size(), in emitDTPRel32Value() [all …]
|
| H A D | MCAssembler.cpp | 298 return cast<MCDataFragment>(F).getContents().size(); in computeFragmentSize() 300 return cast<MCRelaxableFragment>(F).getContents().size(); in computeFragmentSize() 302 return cast<MCCompactEncodedInstFragment>(F).getContents().size(); in computeFragmentSize() 323 return cast<MCLEBFragment>(F).getContents().size(); in computeFragmentSize() 383 return cast<MCDwarfLineAddrFragment>(F).getContents().size(); in computeFragmentSize() 385 return cast<MCDwarfCallFrameFragment>(F).getContents().size(); in computeFragmentSize() 387 return cast<MCCVInlineLineTableFragment>(F).getContents().size(); in computeFragmentSize() 389 return cast<MCCVDefRangeFragment>(F).getContents().size(); in computeFragmentSize() 391 return cast<MCPseudoProbeAddrFragment>(F).getContents().size(); in computeFragmentSize() 579 OS << cast<MCDataFragment>(F).getContents(); in writeFragment() [all …]
|
| H A D | MCWinCOFFStreamer.cpp | 61 Fixups[i].setOffset(Fixups[i].getOffset() + DF->getContents().size()); in emitInstToData() 65 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData() 220 MCFixup Fixup = MCFixup::create(DF->getContents().size(), SRE, FK_SecRel_2); in emitCOFFSectionIndex() 222 DF->getContents().resize(DF->getContents().size() + 2, 0); in emitCOFFSectionIndex() 236 MCFixup Fixup = MCFixup::create(DF->getContents().size(), MCE, FK_SecRel_4); in emitCOFFSecRel32() 240 DF->getContents().resize(DF->getContents().size() + 4, 0); in emitCOFFSecRel32() 255 MCFixup Fixup = MCFixup::create(DF->getContents().size(), MCE, FK_Data_4); in emitCOFFImgRel32() 259 DF->getContents().resize(DF->getContents().size() + 4, 0); in emitCOFFImgRel32()
|
| H A D | MCWasmStreamer.cpp | 43 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() 211 Fixups[I].setOffset(Fixups[I].getOffset() + DF->getContents().size()); in emitInstToData() 215 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
|
| H A D | MCELFStreamer.cpp | 58 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() 605 CEIF->getContents().append(Code.begin(), Code.end()); in emitInstToData() 629 Fixup.setOffset(Fixup.getOffset() + DF->getContents().size()); in emitInstToData() 634 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
|
| H A D | MCXCOFFStreamer.cpp | 126 const size_t ContentsSize = DF->getContents().size(); in emitInstToData() 134 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
|
| H A D | MCMachOStreamer.cpp | 494 Fixup.setOffset(Fixup.getOffset() + DF->getContents().size()); in emitInstToData() 498 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData() 563 Frag->getContents().resize(SectionBytes); in finalizeCGProfile() 607 Frag->getContents().resize(8); in createAddrSigSection()
|
| H A D | MCCodeView.cpp | 143 StrTabFragment->getContents().push_back('\0'); in getStringTableFragment() 149 SmallVectorImpl<char> &Contents = getStringTableFragment()->getContents(); in addToStringTable() 360 ->getContents()[Files[CurFileNum - 1].StringTableOffset]) + in emitLineTableForFunction() 510 SmallVectorImpl<char> &Buffer = Frag.getContents(); in encodeInlineLineTable() 609 SmallVectorImpl<char> &Contents = Frag.getContents(); in encodeDefRange()
|
| H A D | MCSPIRVStreamer.cpp | 32 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
|
| H A D | MCFragment.cpp | 388 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()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-cov/ |
| H A D | TestingSupport.cpp | 84 if (Expected<StringRef> E = CoverageMapping.getContents()) in convertForTestingMain() 90 if (Expected<StringRef> E = CoverageRecords.getContents()) in convertForTestingMain() 96 if (Expected<StringRef> E = ProfileNames.getContents()) in convertForTestingMain()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVELFStreamer.cpp | 271 flushPendingLabels(DF, DF->getContents().size()); in emitValueImpl() 278 DF->getContents().size(), A, static_cast<MCFixupKind>(Add), Loc)); in emitValueImpl() 280 DF->getContents().size(), B, static_cast<MCFixupKind>(Sub), Loc)); in emitValueImpl() 282 DF->getContents().resize(DF->getContents().size() + Size, 0); in emitValueImpl()
|
| H A D | RISCVMCExpr.cpp | 66 if (DF->getContents().size() == Offset) { in getPCRelHiFixup()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/MC/ |
| H A D | MCFragment.h | 196 SmallVectorImpl<char> &getContents() { return Contents; } in getContents() function 197 const SmallVectorImpl<char> &getContents() const { return Contents; } in getContents() function 446 SmallString<8> &getContents() { return Contents; } in getContents() function 447 const SmallString<8> &getContents() const { return Contents; } in getContents() function 539 SmallString<8> &getContents() { return Contents; } in getContents() function 540 const SmallString<8> &getContents() const { return Contents; } in getContents() function
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86AsmBackend.cpp | 414 if (cast<MCDataFragment>(F)->getContents().size() != 0) in isRightAfterData() 429 DF->getContents().size() != PrevInstPosition.second; in isRightAfterData() 443 return cast<MCDataFragment>(*F).getContents().size(); in getSizeForInstFragment() 445 return cast<MCRelaxableFragment>(*F).getContents().size(); in getSizeForInstFragment() 447 return cast<MCCompactEncodedInstFragment>(*F).getContents().size(); in getSizeForInstFragment() 792 const unsigned OldSize = RF.getContents().size(); in padInstructionViaPrefix() 822 Code.append(RF.getContents().begin(), RF.getContents().end()); in padInstructionViaPrefix() 823 RF.getContents() = Code; in padInstructionViaPrefix() 849 const unsigned OldSize = RF.getContents().size(); in padInstructionViaRelaxation() 856 RF.getContents() = Code; in padInstructionViaRelaxation()
|
| /openbsd-src/gnu/llvm/lld/COFF/ |
| H A D | ICF.cpp | 176 a->checksum == b->checksum && a->getContents() == b->getContents() && in equalsConstant() 271 sc->eqClass[0] = xxHash64(sc->getContents()); in run()
|
| H A D | PDB.cpp | 593 ArrayRef<uint8_t> sectionContents = debugChunk->getContents(); in analyzeSymbolSubsection() 658 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() 834 ptrdiff_t vaBegin = subsec.data() - sc->getContents().data(); in advanceRelocIndex() 865 debugChunk->writeAndRelocateSubsection(debugChunk->getContents(), subsec, in commit() 958 debugChunk->writeAndRelocateSubsection(debugChunk->getContents(), in finish() 1740 SectionChunk::consumeDebugMagic(dbgC->getContents(), ".debug$S"); in findLineTable() 1762 size_t offsetInDbgC = bytes.data() - dbgC->getContents().data(); in findLineTable()
|
| H A D | Chunks.cpp | 394 ArrayRef<uint8_t> a = getContents(); in writeTo() 683 ArrayRef<uint8_t> SectionChunk::getContents() const { in getContents() function in lld::coff::SectionChunk 691 return consumeDebugMagic(getContents(), getSectionName()); in consumeDebugMagic() 1005 builder.add(toStringRef(c->getContents())); in finalizeContents() 1014 size_t off = builder.getOffset(toStringRef(c->getContents())); in assignSubsectionRVAs()
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFObjcopy.cpp | 68 Sec.Header.VirtualSize = NeedVA ? Sec.getContents().size() : 0u; in addSection() 73 : Sec.getContents().size(); in addSection() 256 size_t ContentSize = It->getContents().size(); in handleArgs()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/ |
| H A D | ObjDumper.cpp | 157 unwrapOrError(Obj.getFileName(), Section.getContents()); in printSectionsAsString() 175 unwrapOrError(Obj.getFileName(), Section.getContents()); in printSectionsAsHex()
|
| H A D | COFFDumper.cpp | 1045 unwrapOrError(Obj->getFileName(), Section.getContents()); in printCodeViewSymbolSection() 1355 StringRef Data = unwrapOrError(Obj->getFileName(), S.getContents()); in mergeCodeViewTypes() 1395 StringRef Data = unwrapOrError(Obj->getFileName(), Section.getContents()); in printCodeViewTypeSection() 1459 StringRef Data = unwrapOrError(Obj->getFileName(), Sec.getContents()); in printSectionHeaders() 1823 unwrapOrError(Obj->getFileName(), Section.getContents()); in printCOFFDirectives() 1863 StringRef Ref = unwrapOrError(Obj->getFileName(), S.getContents()); in printCOFFResources() 1975 unwrapOrError(Obj->getFileName(), RSF.getContents(DataEntry)); in printResourceDirectoryTable() 2000 unwrapOrError(Obj->getFileName(), StackMapSection.getContents()); in printStackMap() 2031 unwrapOrError(Obj->getFileName(), AddrsigSection.getContents()); in printAddrsig() 2064 unwrapOrError(Obj->getFileName(), CGProfileSection.getContents()); in printCGProfile()
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CXString.h | 102 static inline StringRef getContents(const CXUnsavedFile &UF) { in getContents() function
|
| /openbsd-src/gnu/llvm/clang/include/clang/Tooling/DependencyScanning/ |
| H A D | DependencyScanningFilesystem.h | 250 Stat = llvm::vfs::Status::copyWithNewSize(Stat, getContents().size()); in getStatus() 264 StringRef getContents() const { return Entry.getOriginalContents(); } in getContents() function
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/GSYM/ |
| H A D | ObjectFileTransformer.cpp | 44 Expected<StringRef> E = Sect.getContents(); in getUUID()
|
| /openbsd-src/gnu/llvm/llvm/lib/Remarks/ |
| H A D | RemarkLinker.cpp | 51 if (Expected<StringRef> Contents = Section.getContents()) in getRemarksSectionContents()
|