Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/llvm/lib/MC/
H A DMCObjectStreamer.cpp126 MCFixup::Create(DF->getContents().size(), Value, in EmitValueImpl()
128 DF->getContents().resize(DF->getContents().size() + Size, 0); in EmitValueImpl()
153 SD.setOffset(F->getContents().size()); in EmitLabel()
253 IF->getContents().append(Code.begin(), Code.end()); in EmitInstToFragment()
339 getOrCreateDataFragment()->getContents().append(Data.begin(), Data.end()); in EmitBytes()
387 DF->getFixups().push_back(MCFixup::Create(DF->getContents().size(), in EmitGPRel32Value()
389 DF->getContents().resize(DF->getContents().size() + 4, 0); in EmitGPRel32Value()
396 DF->getFixups().push_back(MCFixup::Create(DF->getContents().size(), in EmitGPRel64Value()
398 DF->getContents().resize(DF->getContents().size() + 8, 0); in EmitGPRel64Value()
404 getOrCreateDataFragment()->getContents().append(NumBytes, FillValue); in EmitFill()
H A DWinCOFFStreamer.cpp57 Fixups[i].setOffset(Fixups[i].getOffset() + DF->getContents().size()); in EmitInstToData()
61 DF->getContents().append(Code.begin(), Code.end()); in EmitInstToData()
164 MCFixup Fixup = MCFixup::Create(DF->getContents().size(), SRE, FK_SecRel_2); in EmitCOFFSectionIndex()
166 DF->getContents().resize(DF->getContents().size() + 2, 0); in EmitCOFFSectionIndex()
172 MCFixup Fixup = MCFixup::Create(DF->getContents().size(), SRE, FK_SecRel_4); in EmitCOFFSecRel32()
174 DF->getContents().resize(DF->getContents().size() + 4, 0); in EmitCOFFSecRel32()
H A DMCAssembler.cpp552 return cast<MCEncodedFragment>(F).getContents().size(); in computeFragmentSize()
557 return cast<MCLEBFragment>(F).getContents().size(); in computeFragmentSize()
590 return cast<MCDwarfLineAddrFragment>(F).getContents().size(); in computeFragmentSize()
592 return cast<MCDwarfCallFrameFragment>(F).getContents().size(); in computeFragmentSize()
653 OW->WriteBytes(EF.getContents()); in writeFragmentContents()
776 OW->WriteBytes(LF.getContents().str()); in writeFragment()
792 OW->WriteBytes(OF.getContents().str()); in writeFragment()
797 OW->WriteBytes(CF.getContents().str()); in writeFragment()
824 for (unsigned i = 0, e = DF.getContents().size(); i != e; ++i) in writeSectionData()
825 if (DF.getContents()[i]) { in writeSectionData()
[all …]
H A DELFObjectWriter.cpp319 F.getContents().append(Start, Start + sizeof(T)); in write()
371 raw_svector_ostream OS(SymtabF->getContents()); in writeSymbol()
1144 Contents = &cast<MCDataFragment>(F).getContents(); in getUncompressedData()
1147 Contents = &cast<MCDwarfLineAddrFragment>(F).getContents(); in getUncompressedData()
1150 Contents = &cast<MCDwarfCallFrameFragment>(F).getContents(); in getUncompressedData()
1193 SmallVectorImpl<char> &CompressedContents = CompressedFragment->getContents(); in getCompressedFragment()
1417 F->getContents().append(StrTabBuilder.data().begin(), in CreateMetadataSections()
1429 F->getContents().append(ShStrTabBuilder.data().begin(), in CreateMetadataSections()
1589 Ret += cast<MCDataFragment>(F).getContents().size(); in DataSectionSize()
1621 WriteBytes(cast<MCDataFragment>(F).getContents()); in WriteDataSectionData()
H A DMCELFStreamer.cpp460 CEIF->getContents().append(Code.begin(), Code.end()); in EmitInstToData()
483 Fixups[i].setOffset(Fixups[i].getOffset() + DF->getContents().size()); in EmitInstToData()
487 DF->getContents().append(Code.begin(), Code.end()); in EmitInstToData()
H A DMCMachOStreamer.cpp416 Fixups[i].setOffset(Fixups[i].getOffset() + DF->getContents().size()); in EmitInstToData()
419 DF->getContents().append(Code.begin(), Code.end()); in EmitInstToData()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/MC/
H A DMCAssembler.h147 virtual SmallVectorImpl<char> &getContents() = 0;
148 virtual const SmallVectorImpl<char> &getContents() const = 0;
225 SmallVectorImpl<char> &getContents() override { return Contents; } in getContents() function
226 const SmallVectorImpl<char> &getContents() const override { in getContents() function
277 SmallVectorImpl<char> &getContents() override { return Contents; } in getContents() function
278 const SmallVectorImpl<char> &getContents() const override { return Contents; } in getContents() function
315 SmallVectorImpl<char> &getContents() override { return Contents; } in getContents() function
316 const SmallVectorImpl<char> &getContents() const override { return Contents; } in getContents() function
483 SmallString<8> &getContents() { return Contents; } in getContents() function
484 const SmallString<8> &getContents() const { return Contents; } in getContents() function
[all …]
/minix3/external/bsd/llvm/dist/llvm/tools/llvm-cov/
H A DTestingSupport.cpp72 if (CoverageMapping.getContents(CoverageMappingData) || in convertForTestingMain()
73 ProfileNames.getContents(ProfileNamesData)) in convertForTestingMain()
/minix3/external/bsd/llvm/dist/clang/tools/libclang/
H A DCXString.h101 static inline StringRef getContents(const CXUnsavedFile &UF) { in getContents() function
H A DCIndexCodeCompletion.cpp702 llvm::MemoryBuffer::getMemBufferCopy(getContents(UF), UF.Filename); in clang_codeCompleteAt_Impl()
H A DIndexing.cpp579 llvm::MemoryBuffer::getMemBufferCopy(getContents(UF), UF.Filename); in clang_indexSourceFile_Impl()
H A DCIndex.cpp2915 llvm::MemoryBuffer::getMemBufferCopy(getContents(UF), UF.Filename); in clang_parseTranslationUnit_Impl()
3199 llvm::MemoryBuffer::getMemBufferCopy(getContents(UF), UF.Filename); in clang_reparseTranslationUnit_Impl()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Object/
H A DObjectFile.h100 std::error_code getContents(StringRef &Result) const;
395 inline std::error_code SectionRef::getContents(StringRef &Result) const { in getContents() function
/minix3/external/bsd/llvm/dist/llvm/lib/ProfileData/
H A DCoverageMappingReader.cpp334 if (auto Err = Section.getContents(Data)) in load()
515 if (auto Err = CoverageMapping.getContents(Data)) in readHeader()
/minix3/external/bsd/llvm/dist/llvm/lib/Object/
H A DObject.cpp140 if (std::error_code ec = (*unwrap(SI))->getContents(ret)) in LLVMGetSectionContents()
H A DIRObjectFile.cpp266 if (std::error_code EC = Sec.getContents(SecContents)) in findBitcodeInObject()
/minix3/external/bsd/llvm/dist/llvm/tools/llvm-symbolizer/
H A DLLVMSymbolize.cpp57 if (!error(Section->getContents(Data))) { in ModuleInfo()
316 Section.getContents(Data); in getGNUDebuglinkContents()
/minix3/external/bsd/llvm/dist/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp474 if (error(Section.getContents(Data))) in printCodeViewLineTables()
756 if (error(Sec.getContents(Data))) in printSections()
1096 if (error(Section.getContents(Contents))) in printCOFFDirectives()
H A DMachODumper.cpp445 if (error(Section.getContents(Data))) in printSections()
/minix3/external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp199 Check(SI->getContents(SectionData)); in loadObjectImpl()
486 Check(Section.getContents(data)); in emitSection()
/minix3/external/bsd/llvm/dist/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp378 if (error(Section.getContents(BytesStr))) in DisassembleObject()
534 if (error(Section.getContents(Contents))) in PrintSectionContents()
H A DMachODump.cpp1445 ((*(info->Sections))[SectIdx]).getContents(SectContents); in get_pointer_64()
2213 Sections[SectIdx].getContents(BytesStr); in DisassembleMachO()
2607 CompactUnwind.getContents(Contents); in printMachOCompactUnwindSection()
2746 UnwindInfo.getContents(Contents); in printMachOUnwindInfoSection()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFStreamer.cpp1102 Frag->getFixups().push_back(MCFixup::Create(Frag->getContents().size(), Expr, in EmitFixup()
1190 DF->getFixups().push_back(MCFixup::Create(DF->getContents().size(), in EmitPersonalityFixup()
/minix3/external/bsd/llvm/dist/llvm/tools/llvm-vtabledump/
H A Dllvm-vtabledump.cpp186 if (error(Sec.getContents(SecContents))) in dumpVTables()
/minix3/external/bsd/llvm/dist/llvm/lib/DebugInfo/
H A DDWARFContext.cpp554 Section.getContents(data); in DWARFContextInMemory()