Searched refs:Writer (Results 76 - 100 of 140) sorted by relevance

123456

/freebsd-13-stable/contrib/llvm-project/lld/ELF/
H A DWriter.cpp1 //===- Writer.cpp ---------------------------------------------------------===//
9 #include "Writer.h"
46 template <class ELFT> class Writer { class in namespace:__anon2708
48 Writer() : buffer(errorHandler().outputBuffer) {} function in class:__anon2708::Writer
157 Writer<ELFT>().run();
245 // Define _gp for MIPS. st_value of _gp symbol will be updated by Writer
578 template <class ELFT> void Writer<ELFT>::run() {
758 template <class ELFT> void Writer<ELFT>::copyLocalSymbols() {
785 template <class ELFT> void Writer<ELFT>::addSectionSymbols() {
1077 template <class ELFT> void Writer<ELF
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DContinuationRecordBuilder.cpp21 static void addPadding(BinaryStreamWriter &Writer) { argument
22 uint32_t Align = Writer.getOffset() % 4;
29 cantFail(Writer.writeInteger(Pad));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/XRay/
H A DFDRTraceWriter.cpp1 //===- FDRTraceWriter.cpp - XRay FDR Trace Writer ---------------*- C++ -*-===//
26 static size_t write(support::endian::Writer &OS, Tuple &&T) {
36 static size_t write(support::endian::Writer &OS, Tuple &&) {
42 Error writeMetadata(support::endian::Writer &OS, Values &&... Ds) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp36 ASTWriter &Writer; member in class:clang::ASTDeclWriter
44 ASTDeclWriter(ASTWriter &Writer, ASTContext &Context, argument
46 : Writer(Writer), Context(Context), Record(Writer, Record),
182 Firsts[Writer.Chain->getOwningModuleFile(R)] = R;
213 if (Writer.Chain != Writer.Context->getExternalSource() &&
260 if (Writer.getFirstLocalDecl(Specialization) != Specialization)
263 Writer
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp187 InstrProfWriter Writer; member in struct:WriterContext
194 : Lock(), Writer(IsSparse), Errors(), ErrLock(ErrLock),
219 WC->Writer.overlapRecord(std::move(I), Overlap, FuncOverlap, FuncFilter);
246 if (WC->Writer.setIsIRLevelProfile(IsIRProfile, HasCSIRProfile)) {
260 WC->Writer.addRecord(std::move(I), Input.Weight, [&](Error E) {
285 Dst->Writer.mergeRecordsFromWriter(std::move(Src->Writer), [&](Error E) {
296 InstrProfWriter &Writer) {
303 if (Error E = Writer.writeText(Output))
306 Writer
294 writeInstrProfile(StringRef OutputFilename, ProfileFormat OutputFormat, InstrProfWriter &Writer) argument
453 handleExtBinaryWriter(sampleprof::SampleProfileWriter &Writer, ProfileFormat OutputFormat, MemoryBuffer *Buffer, sampleprof::ProfileSymbolList &WriterList, bool CompressAllSections, bool UseMD5, bool GenPartialProfile) argument
542 auto Writer = std::move(WriterOrErr.get()); local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugInlineeLinesSubsection.h102 Error commit(BinaryStreamWriter &Writer) const override;
H A DDebugLinesSubsection.h129 Error commit(BinaryStreamWriter &Writer) const override;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/MSF/
H A DMSFBuilder.cpp353 BinaryStreamWriter Writer(Buffer);
355 if (auto EC = Writer.writeObject(*Layout.SB))
362 Writer.setOffset(BlockMapOffset);
363 if (auto EC = Writer.writeArray(Layout.DirectoryBlocks))
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DELFObjcopy.cpp136 static std::unique_ptr<Writer> createELFWriter(const CopyConfig &Config,
139 // Depending on the initial ELFT and OutputFormat we need a different Writer.
157 static std::unique_ptr<Writer> createWriter(const CopyConfig &Config,
281 auto Writer = createWriter(Config, *DWOFile, FB, OutputElfType); local
282 if (Error E = Writer->finalize())
284 return Writer->write();
762 std::unique_ptr<Writer> Writer = local
764 if (Error E = Writer->finalize())
766 return Writer
[all...]
H A DObject.h304 class Writer { class in namespace:llvm::objcopy::elf
310 virtual ~Writer();
314 Writer(Object &O, Buffer &B) : Obj(O), Buf(B) {} function in class:llvm::objcopy::elf::Writer
317 template <class ELFT> class ELFWriter : public Writer {
354 class BinaryWriter : public Writer {
364 BinaryWriter(Object &Obj, Buffer &Buf) : Writer(Obj, Buf) {}
367 class IHexWriter : public Writer {
383 IHexWriter(Object &Obj, Buffer &Buf) : Writer(Obj, Buf) {}
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DObjDumper.cpp30 ObjDumper::ObjDumper(ScopedPrinter &Writer) : W(Writer) {} argument
H A DXCOFFDumper.cpp27 XCOFFDumper(const XCOFFObjectFile &Obj, ScopedPrinter &Writer) argument
28 : ObjDumper(Writer), Obj(Obj) {}
519 ScopedPrinter &Writer,
525 Result.reset(new XCOFFDumper(*XObj, Writer));
518 createXCOFFDumper(const object::ObjectFile *Obj, ScopedPrinter &Writer, std::unique_ptr<ObjDumper> &Result) argument
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCMachObjectWriter.h1 //===- llvm/MC/MCMachObjectWriter.h - Mach Object Writer --------*- C++ -*-===//
75 virtual void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm,
134 support::endian::Writer W;
166 /// \name Target Writer Proxy Accessors
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DFileUtilities.cpp300 std::function<llvm::Error(llvm::raw_ostream &)> Writer) {
311 if (llvm::Error Err = Writer(OS)) {
H A DStatistic.cpp103 sys::SmartScopedLock<true> Writer(Lock);
149 sys::SmartScopedLock<true> Writer(*StatLock);
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_fdr_logging.cpp62 FDRLogWriter *Writer = nullptr; variable
475 // Set up the Log Writer for this thread.
476 if (UNLIKELY(TLD.Writer == nullptr)) {
479 TLD.Writer = LWStorage;
481 TLD.Writer->resetRecord();
486 FDRController<>(TLD.BQ, TLD.Buffer, *TLD.Writer, clock_gettime,
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInstance.h531 auto *Writer = ThePCHContainerOperations->getWriterOrNull(Format); local
532 if (!Writer) {
537 return *Writer;
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DMachOObjcopy.cpp386 MachOWriter Writer(*O, In.is64Bit(), In.isLittleEndian(), PageSize, Out);
387 if (auto E = Writer.finalize())
389 return Writer.write();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVAsmBackend.cpp360 auto *Writer = Asm.getWriterPtr();
361 if (!Writer)
364 bool IsResolved = Writer->isSymbolRefDifferenceFullyResolvedImpl(
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTWriter.h1 //===- ASTWriter.h - AST File Writer ----------------------------*- C++ -*-===//
523 ModuleFileExtensionWriter &Writer);
764 ASTWriter Writer; member in class:clang::PCHGenerator
769 ASTWriter &getWriter() { return Writer; }
770 const ASTWriter &getWriter() const { return Writer; }
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/wasm/
H A DWasmObjcopy.cpp14 #include "Writer.h"
106 Writer TheWriter(*Obj, Out);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFMCCodeEmitter.cpp125 support::endian::Writer OSE(OS,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/
H A DWindowsResource.cpp377 ScopedPrinter Writer(OS);
378 Root.print(Writer, "Resource Tree");
551 void WindowsResourceParser::TreeNode::print(ScopedPrinter &Writer, argument
553 ListScope NodeScope(Writer, Name);
555 Child.second->print(Writer, Child.first);
558 Child.second->print(Writer, to_string(Child.first));
1008 WindowsResourceCOFFWriter Writer(MachineType, Parser, E);
1011 return Writer.write(TimeDateStamp);
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/
H A DCOFFObjcopy.cpp14 #include "Writer.h"
276 COFFWriter Writer(*Obj, Out);
277 if (Error E = Writer.write())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp560 MachOWriter Writer(*ObjectFile.MachO);
561 return Writer.writeMachO(OS);
575 MachOWriter Writer(FatFile.Slices[i]);
576 if (Error Err = Writer.writeMachO(OS))
652 UniversalWriter Writer(Doc);
653 if (Error Err = Writer.writeMachO(Out)) {

Completed in 478 milliseconds

123456