Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCObjectStreamer.cpp121 flushPendingLabels(PendingFixup.DF, PendingFixup.DF->getContents().size()); in resolvePendingFixups()
231 flushPendingLabels(DF, DF->getContents().size()); in emitValueImpl()
247 MCFixup::create(DF->getContents().size(), Value, in emitValueImpl()
249 DF->getContents().resize(DF->getContents().size() + Size, 0); in emitValueImpl()
281 Symbol->setOffset(F->getContents().size()); in emitLabel()
433 IF->getContents().append(Code.begin(), Code.end()); in emitInstToFragment()
598 flushPendingLabels(DF, DF->getContents().size()); in emitBytes()
599 DF->getContents().append(Data.begin(), Data.end()); in emitBytes()
631 flushPendingLabels(DF, DF->getContents().size()); in emitDTPRel32Value()
633 DF->getFixups().push_back(MCFixup::create(DF->getContents().size(), in emitDTPRel32Value()
[all …]
H A DMCAssembler.cpp294 return cast<MCDataFragment>(F).getContents().size(); in computeFragmentSize()
296 return cast<MCRelaxableFragment>(F).getContents().size(); in computeFragmentSize()
298 return cast<MCCompactEncodedInstFragment>(F).getContents().size(); in computeFragmentSize()
319 return cast<MCLEBFragment>(F).getContents().size(); in computeFragmentSize()
379 return cast<MCDwarfLineAddrFragment>(F).getContents().size(); in computeFragmentSize()
381 return cast<MCDwarfCallFrameFragment>(F).getContents().size(); in computeFragmentSize()
383 return cast<MCCVInlineLineTableFragment>(F).getContents().size(); in computeFragmentSize()
385 return cast<MCCVDefRangeFragment>(F).getContents().size(); in computeFragmentSize()
387 return cast<MCPseudoProbeAddrFragment>(F).getContents().size(); in computeFragmentSize()
574 OS << cast<MCDataFragment>(F).getContents(); in writeFragment()
[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.cpp57 uint64_t FSize = EF->getContents().size(); in mergeFragment()
63 Assembler, EF, DF->getContents().size(), FSize); in mergeFragment()
74 DF->getContents().append(Code.begin(), Code.end()); in mergeFragment()
78 flushPendingLabels(DF, DF->getContents().size()); in mergeFragment()
82 DF->getContents().size()); in mergeFragment()
87 DF->getContents().append(EF->getContents().begin(), EF->getContents().end()); in mergeFragment()
580 CEIF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
604 Fixup.setOffset(Fixup.getOffset() + DF->getContents().size()); in emitInstToData()
609 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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A DObjDumper.cpp111 unwrapOrError(Obj.getFileName(), Section.getContents()); in printSectionsAsString()
145 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()
/netbsd-src/regress/sys/uvm/pdsim/
H A Drenumber.hs40 main = getContents >>=
H A Dlru.hs56 xs <- getContents
H A Drand.hs61 xs <- getContents
H A Dopt.hs62 xs <- getContents
H A Dlfu.hs73 xs <- getContents
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXString.h102 static inline StringRef getContents(const CXUnsavedFile &UF) { in getContents() function
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/
H A DProfiledBinary.cpp195 StringRef Contents = unwrapOrError(Section.getContents(), FileName); in decodePseudoProbe()
199 StringRef Contents = unwrapOrError(Section.getContents(), FileName); in decodePseudoProbe()
399 arrayRefFromStringRef(unwrapOrError(Section.getContents(), FileName)); in disassemble()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/GSYM/
H A DObjectFileTransformer.cpp44 Expected<StringRef> E = Sect.getContents(); in getUUID()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Remarks/
H A DRemarkLinker.cpp45 if (Expected<StringRef> Contents = Section.getContents()) in getRemarksSectionContents()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h63 llvm::ErrorOr<StringRef> getContents() const { in getContents() function

123