| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCObjectStreamer.cpp | 248 flushPendingLabels(DF, DF->getContents().size()); in emitValueImpl() 266 DF->getContents().resize(DF->getContents().size() + Size, 0); in emitValueImpl() 298 Symbol->setOffset(F->getContents().size()); in emitLabel() 640 flushPendingLabels(DF, DF->getContents().size()); in emitBytes() 675 flushPendingLabels(DF, DF->getContents().size()); in emitDTPRel32Value() 679 DF->getContents().resize(DF->getContents().size() + 4, 0); in emitDTPRel32Value() 689 DF->getContents().resize(DF->getContents().size() + 8, 0); in emitDTPRel64Value() 699 DF->getContents().resize(DF->getContents().size() + 4, 0); in emitTPRel32Value() 709 DF->getContents().resize(DF->getContents().size() + 8, 0); in emitTPRel64Value() 719 DF->getContents().resize(DF->getContents().size() + 4, 0); in emitGPRel32Value() [all …]
|
| H A D | MCAssembler.cpp | 670 OS << LF.getContents(); in writeFragment() 700 OS << OF.getContents(); in writeFragment() 705 OS << CF.getContents(); in writeFragment() 710 OS << OF.getContents(); in writeFragment() 715 OS << DRF.getContents(); in writeFragment() 720 OS << PF.getContents(); in writeFragment() 753 if (DF.getContents()[i]) { in writeSectionData() 884 Contents = DF.getContents(); in layout() 892 Contents = RF.getContents(); in layout() 900 Contents = CF.getContents(); in layout() [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() 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 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() 598 CEIF->getContents().append(Code.begin(), Code.end()); in emitInstToData() 622 Fixup.setOffset(Fixup.getOffset() + DF->getContents().size()); in emitInstToData() 627 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
|
| H A D | MCXCOFFStreamer.cpp | 113 const size_t ContentsSize = DF->getContents().size(); in emitInstToData() 121 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
|
| H A D | MCMachOStreamer.cpp | 495 Fixup.setOffset(Fixup.getOffset() + DF->getContents().size()); in emitInstToData() 499 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData() 564 Frag->getContents().resize(SectionBytes); in finalizeCGProfile() 608 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()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVELFStreamer.cpp | 266 flushPendingLabels(DF, DF->getContents().size()); in emitValueImpl() 273 DF->getContents().size(), A, static_cast<MCFixupKind>(Add), Loc)); in emitValueImpl() 275 DF->getContents().size(), B, static_cast<MCFixupKind>(Sub), Loc)); in emitValueImpl() 277 DF->getContents().resize(DF->getContents().size() + Size, 0); in emitValueImpl()
|
| /llvm-project-15.0.7/bolt/include/bolt/Core/ |
| H A D | BinarySection.h | 108 static StringRef getContents(SectionRef Section) { in getContents() function 113 Expected<StringRef> ContentsOrErr = Section.getContents(); in getContents() 146 Contents(Section.getContents()), Address(Section.getAddress()), in BinarySection() 154 Contents(getContents(Section)), Address(Section.getAddress()), in BinarySection() 266 const_cast<char *>(getContents().data())); in getData() 269 return reinterpret_cast<const uint8_t *>(getContents().data()); in getData() 271 StringRef getContents() const { return Contents; } in getContents() function
|
| /llvm-project-15.0.7/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
|
| /llvm-project-15.0.7/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() 793 const unsigned OldSize = RF.getContents().size(); in padInstructionViaPrefix() 823 Code.append(RF.getContents().begin(), RF.getContents().end()); in padInstructionViaPrefix() 824 RF.getContents() = Code; in padInstructionViaPrefix() 850 const unsigned OldSize = RF.getContents().size(); in padInstructionViaRelaxation() 857 RF.getContents() = Code; in padInstructionViaRelaxation()
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | BinarySection.cpp | 46 const StringRef Contents = getContents(); in hash() 70 StringRef SectionContents = getContents(); in emitAsData() 172 OutputContents.data() != getContents(Section).data())) { in ~BinarySection()
|
| /llvm-project-15.0.7/lld/COFF/ |
| H A D | ICF.cpp | 178 a->checksum == b->checksum && a->getContents() == b->getContents() && in equalsConstant() 273 sc->eqClass[0] = xxHash64(sc->getContents()); in run()
|
| H A D | PDB.cpp | 589 ArrayRef<uint8_t> sectionContents = debugChunk->getContents(); in analyzeSymbolSubsection() 653 ArrayRef<uint8_t> sectionContents = debugChunk->getContents(); in writeAllModuleSymbolRecords() 726 ArrayRef<uint8_t> contents = secChunk->getContents(); in createSectionContrib() 756 ArrayRef<uint8_t> contents = debugChunk->getContents(); in handleDebugS() 828 ptrdiff_t vaBegin = subsec.data() - sc->getContents().data(); in advanceRelocIndex() 859 debugChunk->writeAndRelocateSubsection(debugChunk->getContents(), subsec, in commit() 949 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 D | Chunks.cpp | 362 ArrayRef<uint8_t> a = getContents(); in writeTo() 647 ArrayRef<uint8_t> SectionChunk::getContents() const { in getContents() function in lld::coff::SectionChunk 655 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()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXString.h | 102 static inline StringRef getContents(const CXUnsavedFile &UF) { in getContents() function
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/unittests/MC/ |
| H A D | DwarfLineTableHeaders.cpp | 152 Expected<StringRef> ContentsOrErr = Section.getContents(); in verifyDebugLineContents() 172 Expected<StringRef> ContentsOrErr = Section.getContents(); in verifyDebugLineStrContents()
|
| /llvm-project-15.0.7/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
|
| /llvm-project-15.0.7/llvm/tools/llvm-objdump/ |
| H A D | OffloadDump.cpp | 79 Expected<StringRef> Contents = Sec.getContents(); in dumpOffloadBinary()
|