/freebsd-13-stable/contrib/llvm-project/lld/ELF/ |
H A D | Writer.cpp | 1 //===- 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 D | ContinuationRecordBuilder.cpp | 21 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 D | FDRTraceWriter.cpp | 1 //===- 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 D | ASTWriterDecl.cpp | 36 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 D | llvm-profdata.cpp | 187 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 D | DebugInlineeLinesSubsection.h | 102 Error commit(BinaryStreamWriter &Writer) const override;
|
H A D | DebugLinesSubsection.h | 129 Error commit(BinaryStreamWriter &Writer) const override;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/MSF/ |
H A D | MSFBuilder.cpp | 353 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 D | ELFObjcopy.cpp | 136 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 D | Object.h | 304 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 D | ObjDumper.cpp | 30 ObjDumper::ObjDumper(ScopedPrinter &Writer) : W(Writer) {} argument
|
H A D | XCOFFDumper.cpp | 27 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 D | MCMachObjectWriter.h | 1 //===- 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 D | FileUtilities.cpp | 300 std::function<llvm::Error(llvm::raw_ostream &)> Writer) { 311 if (llvm::Error Err = Writer(OS)) {
|
H A D | Statistic.cpp | 103 sys::SmartScopedLock<true> Writer(Lock); 149 sys::SmartScopedLock<true> Writer(*StatLock);
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_fdr_logging.cpp | 62 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 D | CompilerInstance.h | 531 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 D | MachOObjcopy.cpp | 386 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 D | RISCVAsmBackend.cpp | 360 auto *Writer = Asm.getWriterPtr(); 361 if (!Writer) 364 bool IsResolved = Writer->isSymbolRefDifferenceFullyResolvedImpl(
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ASTWriter.h | 1 //===- 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 D | WasmObjcopy.cpp | 14 #include "Writer.h" 106 Writer TheWriter(*Obj, Out);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/ |
H A D | BPFMCCodeEmitter.cpp | 125 support::endian::Writer OSE(OS,
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/ |
H A D | WindowsResource.cpp | 377 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 D | COFFObjcopy.cpp | 14 #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 D | MachOEmitter.cpp | 560 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)) {
|