Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCObjectStreamer.cpp195 flushPendingLabels(DF, DF->getContents().size()); in EmitValueImpl()
213 DF->getContents().resize(DF->getContents().size() + Size, 0); in EmitValueImpl()
245 Symbol->setOffset(F->getContents().size()); in EmitLabel()
522 flushPendingLabels(DF, DF->getContents().size()); in EmitBytes()
571 flushPendingLabels(DF, DF->getContents().size()); in EmitDTPRel32Value()
575 DF->getContents().resize(DF->getContents().size() + 4, 0); in EmitDTPRel32Value()
585 DF->getContents().resize(DF->getContents().size() + 8, 0); in EmitDTPRel64Value()
595 DF->getContents().resize(DF->getContents().size() + 4, 0); in EmitTPRel32Value()
605 DF->getContents().resize(DF->getContents().size() + 8, 0); in EmitTPRel64Value()
615 DF->getContents().resize(DF->getContents().size() + 4, 0); in EmitGPRel32Value()
[all …]
H A DMCAssembler.cpp604 OS << LF.getContents(); in writeFragment()
633 OS << OF.getContents(); in writeFragment()
638 OS << CF.getContents(); in writeFragment()
643 OS << OF.getContents(); in writeFragment()
648 OS << DRF.getContents(); in writeFragment()
679 if (DF.getContents()[i]) { in writeSectionData()
913 F.getContents() = Code; in relaxInstruction()
939 SmallString<8> &Data = LF.getContents(); in relaxLEB()
1006 SmallString<8> &Data = DF.getContents(); in relaxDwarfCallFrameFragment()
1017 return OldSize != F.getContents().size(); in relaxCVInlineLineTable()
[all …]
H A DMCWinCOFFStreamer.cpp63 Fixups[i].setOffset(Fixups[i].getOffset() + DF->getContents().size()); in EmitInstToData()
67 DF->getContents().append(Code.begin(), Code.end()); in EmitInstToData()
212 MCFixup Fixup = MCFixup::create(DF->getContents().size(), SRE, FK_SecRel_2); in EmitCOFFSectionIndex()
214 DF->getContents().resize(DF->getContents().size() + 2, 0); in EmitCOFFSectionIndex()
228 MCFixup Fixup = MCFixup::create(DF->getContents().size(), MCE, FK_SecRel_4); in EmitCOFFSecRel32()
232 DF->getContents().resize(DF->getContents().size() + 4, 0); in EmitCOFFSecRel32()
247 MCFixup Fixup = MCFixup::create(DF->getContents().size(), MCE, FK_Data_4); in EmitCOFFImgRel32()
251 DF->getContents().resize(DF->getContents().size() + 4, 0); in EmitCOFFImgRel32()
H A DMCWasmStreamer.cpp41 flushPendingLabels(DF, DF->getContents().size()); in mergeFragment()
45 DF->getContents().size()); in mergeFragment()
50 DF->getContents().append(EF->getContents().begin(), EF->getContents().end()); in mergeFragment()
183 Fixups[i].setOffset(Fixups[i].getOffset() + DF->getContents().size()); in EmitInstToData()
187 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()
563 CEIF->getContents().append(Code.begin(), Code.end()); in EmitInstToData()
587 Fixups[i].setOffset(Fixups[i].getOffset() + DF->getContents().size()); in EmitInstToData()
591 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()
360 ->getContents()[Files[CurFileNum - 1].StringTableOffset]) + in emitLineTableForFunction()
510 SmallVectorImpl<char> &Buffer = Frag.getContents(); in encodeInlineLineTable()
612 SmallVectorImpl<char> &Contents = Frag.getContents(); in encodeDefRange()
H A DMCMachOStreamer.cpp462 Fixup.setOffset(Fixup.getOffset() + DF->getContents().size()); in EmitInstToData()
466 DF->getContents().append(Code.begin(), Code.end()); in EmitInstToData()
H A DMCFragment.cpp356 const SmallVectorImpl<char> &Contents = DF->getContents(); in dump()
380 const SmallVectorImpl<char> &Contents = CEIF->getContents(); in dump()
H A DMCCodePadder.cpp132 Inst, InstDataFragment->getContents().size()); in handleInstructionEnd()
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCFragment.h198 SmallVectorImpl<char> &getContents() { return Contents; } in getContents() function
199 const SmallVectorImpl<char> &getContents() const { return Contents; } in getContents() function
404 return InstInfo.InstFragment->getContents().size(); in getInstSize()
508 SmallString<8> &getContents() { return Contents; } in getContents() function
509 const SmallString<8> &getContents() const { return Contents; } in getContents() function
565 SmallString<8> &getContents() { return Contents; } in getContents() function
566 const SmallString<8> &getContents() const { return Contents; } in getContents() function
625 SmallString<8> &getContents() { return Contents; } in getContents() function
626 const SmallString<8> &getContents() const { return Contents; } in getContents() function
/freebsd-12.1/contrib/llvm/tools/llvm-cov/
H A DTestingSupport.cpp73 if (CoverageMapping.getContents(CoverageMappingData) || in convertForTestingMain()
74 ProfileNames.getContents(ProfileNamesData)) in convertForTestingMain()
/freebsd-12.1/contrib/llvm/tools/llvm-readobj/
H A DObjDumper.cpp77 Section.getContents(SectionContent); in printSectionAsString()
111 Section.getContents(SectionContent); in printSectionAsHex()
H A DCOFFDumper.cpp955 error(Section.getContents(SectionContents)); in printCodeViewSymbolSection()
1237 error(S.getContents(Data)); in mergeCodeViewTypes()
1265 error(Section.getContents(Data)); in printCodeViewTypeSection()
1326 error(Sec.getContents(Data)); in printSectionHeaders()
1684 error(Section.getContents(Contents)); in printCOFFDirectives()
1725 error(S.getContents(Ref)); in printCOFFResources()
1852 StackMapSection.getContents(StackMapContents); in printStackMap()
1880 AddrsigSection.getContents(AddrsigContents); in printAddrsig()
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DICF.cpp172 A->Checksum == B->Checksum && A->getContents() == B->getContents() && in equalsConstant()
266 SC->Class[0] = xxHash64(SC->getContents()); in run()
H A DChunks.cpp349 ArrayRef<uint8_t> A = getContents(); in writeTo()
590 ArrayRef<uint8_t> SectionChunk::getContents() const { in getContents() function in lld::coff::SectionChunk
844 Builder.add(toStringRef(C->getContents())); in finalizeContents()
852 size_t Off = Builder.getOffset(toStringRef(C->getContents())); in finalizeContents()
H A DPDB.cpp332 return consumeDebugMagic(Sec->getContents(), SecName); in getDebugSection()
356 ArrayRef<uint8_t> Contents = Sec->getContents(); in getDebugH()
398 consumeDebugMagic((*DbgIt)->getContents(), ".debug$S"); in extractPCHSignature()
1147 ArrayRef<uint8_t> Contents = SecChunk->getContents(); in createSectionContrib()
1680 consumeDebugMagic(DbgC->getContents(), ".debug$S"); in findLineTable()
1702 size_t OffsetInDbgC = Bytes.data() - DbgC->getContents().data(); in findLineTable()
/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DObjectFile.h101 std::error_code getContents(StringRef &Result) const;
430 inline std::error_code SectionRef::getContents(StringRef &Result) const { in getContents() function
/freebsd-12.1/contrib/llvm/lib/Object/
H A DIRObjectFile.cpp80 if (std::error_code EC = Sec.getContents(SecContents)) in findBitcodeInObject()
H A DObject.cpp150 if (std::error_code ec = (*unwrap(SI))->getContents(ret)) in LLVMGetSectionContents()
H A DELFObjectFile.cpp374 if (Plt->getContents(PltContents)) in getPltAddresses()
/freebsd-12.1/contrib/llvm/lib/XRay/
H A DInstrumentationMap.cpp82 if (I->getContents(Contents)) in loadObj()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/Symbolize/
H A DSymbolizableObjectFile.cpp61 if (auto EC = Section->getContents(Data)) in create()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFStreamer.cpp623 EMS->Offset = DF->getContents().size(); in EmitDataMappingSymbol()
1237 Frag->getFixups().push_back(MCFixup::create(Frag->getContents().size(), Expr, in EmitFixup()
1325 DF->getFixups().push_back(MCFixup::create(DF->getContents().size(), in EmitPersonalityFixup()
/freebsd-12.1/contrib/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp351 if (auto EC = Section.getContents(Data)) in create()
676 if (auto EC = CoverageSection->getContents(CoverageMapping)) in loadBinaryFormat()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp341 Section.getContents(PCH); in ExtractPCH()

12