Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DInputFile.h32 class InputFile; variable
39 class InputFile {
40 InputFile();
57 InputFile(PDBFile *Pdb) { PdbOrObj = Pdb; } in InputFile() function
58 InputFile(object::COFFObjectFile *Obj) { PdbOrObj = Obj; } in InputFile() function
59 InputFile(MemoryBuffer *Buffer) { PdbOrObj = Buffer; } in InputFile() function
60 ~InputFile();
61 InputFile(InputFile &&Other) = default;
63 static Expected<InputFile> open(StringRef Path,
94 explicit SymbolGroup(InputFile *File, uint32_t GroupIndex = 0);
[all …]
/freebsd/contrib/llvm-project/lld/MachO/
H A DInputFiles.h32 class InputFile; variable
64 class InputFile; variable
68 InputFile *file;
75 Section(InputFile *file, StringRef segname, StringRef name, uint32_t flags, in Section()
105 class InputFile {
115 virtual ~InputFile() = default;
137 InputFile(Kind kind, MemoryBufferRef mb, bool lazy = false)
141 InputFile(Kind, const llvm::MachO::InterfaceFile &);
160 class ObjFile final : public InputFile {
171 static bool classof(const InputFile *
[all...]
H A DSymbolTable.h23 class InputFile; variable
39 Defined *addDefined(StringRef name, InputFile *, InputSection *,
44 Defined *aliasDefined(Defined *src, StringRef target, InputFile *newFile,
47 Symbol *addUndefined(StringRef name, InputFile *, bool isWeakRef);
49 Symbol *addCommon(StringRef name, InputFile *, uint64_t size, uint32_t align,
57 Symbol *addLazyObject(StringRef name, InputFile &file);
68 std::pair<Symbol *, bool> insert(StringRef name, const InputFile *);
H A DDriver.h26 class InputFile; variable
44 InputFile *f, unsigned argc, StringRef data);
70 void printArchiveMemberLoad(StringRef reason, const InputFile *);
89 const llvm::SetVector<InputFile *> &inputs,
H A DSymbols.h96 InputFile *getFile() const { return file; } in getFile()
99 Symbol(Kind k, StringRefZ name, InputFile *file) in Symbol()
106 InputFile *file;
119 Defined(StringRefZ name, InputFile *file, InputSection *isec, uint64_t value,
209 Undefined(StringRefZ name, InputFile *file, RefState refState, in Undefined()
241 CommonSymbol(StringRefZ name, InputFile *file, uint64_t size, uint32_t align, in CommonSymbol()
328 LazyObject(InputFile &file, StringRef name) in LazyObject()
341 AliasSymbol(InputFile *file, StringRef name, StringRef aliasedName, in AliasSymbol()
H A DMapFile.cpp56 SmallVector<InputFile *> files;
66 for (InputFile *file : inputFiles) { in gatherMapInfo()
127 static void printFileName(raw_fd_ostream &os, const InputFile *f) { in printFileName()
137 const DenseMap<lld::macho::InputFile *, uint32_t> &readerToFileOrdinal, in printStubsEntries() argument
187 DenseMap<lld::macho::InputFile *, uint32_t> readerToFileOrdinal; in writeMapFile()
188 for (InputFile *file : info.files) { in writeMapFile()
/freebsd/contrib/llvm-project/lld/COFF/
H A DInputFiles.h33 class InputFile; variable
64 class InputFile {
76 virtual ~InputFile() {} in ~InputFile()
98 InputFile(COFFLinkerContext &c, Kind k, MemoryBufferRef m, bool lazy = false)
112 class ArchiveFile : public InputFile {
115 static bool classof(const InputFile *f) { return f->kind() == ArchiveKind; } in classof()
129 class ObjFile : public InputFile {
132 : InputFile(ctx, ObjectKind, m, lazy) {} in InputFile() function
133 static bool classof(const InputFile *f) { return f->kind() == ObjectKind; } in classof()
317 class PDBInputFile : public InputFile {
[all …]
H A DSymbolTable.h51 void addFile(InputFile *file);
90 Symbol *addUndefined(StringRef name, InputFile *f, bool isWeakAlias);
92 void addLazyObject(InputFile *f, StringRef n);
95 Symbol *addRegular(InputFile *f, StringRef n,
100 addComdat(InputFile *f, StringRef n,
102 Symbol *addCommon(InputFile *f, StringRef n, uint64_t size,
112 void reportDuplicate(Symbol *existing, InputFile *newFile,
132 std::pair<Symbol *, bool> insert(StringRef name, InputFile *f);
H A DSymbols.h34 class InputFile; variable
83 InputFile *getFile();
180 DefinedCOFF(Kind k, InputFile *f, StringRef n, const coff_symbol_generic *s) in DefinedCOFF()
187 InputFile *getFile() { return file; } in getFile()
191 InputFile *file;
200 DefinedRegular(InputFile *f, StringRef n, bool isCOMDAT,
223 DefinedCommon(InputFile *f, StringRef n, uint64_t size,
309 LazyObject(InputFile *f, StringRef n) : Symbol(LazyObjectKind, n), file(f) {} in LazyObject()
311 InputFile *file;
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfutil/
H A Dllvm-dwarfutil.cpp251 ObjectFile &InputFile) {
262 if (Error Err = objcopy::executeObjcopyOnBinary(Config, InputFile, in saveSeparateDebugInfo()
274 static Error saveNonDebugInfo(const Options &Opts, ObjectFile &InputFile, in saveSeparateDebugInfo()
287 objcopy::executeObjcopyOnBinary(Config, InputFile, OutFile)) in saveNonDebugInfo()
298 ObjectFile &InputFile) { in saveNonDebugInfo()
300 saveSeparateDebugInfo(Opts, InputFile); in saveNonDebugInfo()
305 saveNonDebugInfo(Opts, InputFile, *SeparateDebugFileCRC32OrErr)) in splitDebugIntoSeparateFile() argument
314 ObjectFile &InputFile, in splitDebugIntoSeparateFile()
316 if (isa<ELFObjectFile<ELF32LE>>(&InputFile)) { in splitDebugIntoSeparateFile()
324 } else if (isa<ELFObjectFile<ELF64LE>>(&InputFile)) { in addSectionsFromLinkedData()
258 saveSeparateDebugInfo(const Options & Opts,ObjectFile & InputFile) saveSeparateDebugInfo() argument
281 saveNonDebugInfo(const Options & Opts,ObjectFile & InputFile,uint32_t GnuDebugLinkCRC32) saveNonDebugInfo() argument
321 addSectionsFromLinkedData(objcopy::ConfigManager & Config,ObjectFile & InputFile,DebugInfoBits & LinkedDebugInfoBits) addSectionsFromLinkedData() argument
363 saveSeparateLinkedDebugInfo(const Options & Opts,ObjectFile & InputFile,DebugInfoBits LinkedDebugInfoBits) saveSeparateLinkedDebugInfo() argument
394 saveSingleLinkedDebugInfo(const Options & Opts,ObjectFile & InputFile,DebugInfoBits LinkedDebugInfoBits) saveSingleLinkedDebugInfo() argument
414 saveLinkedDebugInfo(const Options & Opts,ObjectFile & InputFile,DebugInfoBits LinkedDebugInfoBits) saveLinkedDebugInfo() argument
435 saveCopyOfFile(const Options & Opts,ObjectFile & InputFile) saveCopyOfFile() argument
450 applyCLOptions(const struct Options & Opts,ObjectFile & InputFile) applyCLOptions() argument
[all...]
/freebsd/contrib/llvm-project/lld/ELF/
H A DInputFiles.h27 class InputFile; variable
35 std::string toString(const elf::InputFile *f);
49 void parseFile(InputFile *file);
50 void parseFiles(const std::vector<InputFile *> &files,
51 InputFile *armCmseImpLib);
54 class InputFile {
69 InputFile(Kind k, MemoryBufferRef m);
182 class ELFFileBase : public InputFile {
185 static bool classof(const InputFile *f) { return f->isElf(); } in classof()
222 template <typename ELFT> void init(InputFile::Kind k);
[all …]
H A DSymbols.h41 class InputFile; variable
85 InputFile *file;
263 Symbol(Kind k, InputFile *file, StringRef name, uint8_t binding, in Symbol()
375 Defined(InputFile *file, StringRef name, uint8_t binding, uint8_t stOther, in Defined()
413 CommonSymbol(InputFile *file, StringRef name, uint8_t binding, in CommonSymbol()
434 Undefined(InputFile *file, StringRef name, uint8_t binding, uint8_t stOther,
456 SharedSymbol(InputFile &file, StringRef name, uint8_t binding, in SharedSymbol()
507 LazySymbol(InputFile &file) in LazySymbol()
576 void reportDuplicate(const Symbol &sym, const InputFile *newFile,
H A DConfig.h37 class InputFile; variable
143 std::vector<InputFile *> files;
144 InputFile *armCmseImpLib = nullptr;
464 const InputFile *file;
485 SmallVector<std::tuple<std::string, const InputFile *, const Symbol &>, 0>
490 std::pair<const InputFile *, const InputFile *>>
494 InputFile *internalFile;
H A DInputFiles.cpp52 bool InputFile::isInGroup;
53 uint32_t InputFile::nextGroupId;
58 std::string lld::toString(const InputFile *f) { in toString()
109 const InputFile *f) { in updateARMVFPArgs()
210 InputFile::InputFile(Kind k, MemoryBufferRef m) in InputFile() function in InputFile
270 static bool isCompatible(InputFile *file) { in isCompatible()
288 InputFile *existing = nullptr; in isCompatible()
302 template <class ELFT> static void doParseFile(InputFile *file) { in doParseFile()
320 if (file->kind() == InputFile::ObjKind) { in doParseFile()
335 void elf::parseFile(InputFile *file) { invokeELFT(doParseFile, file); } in parseFile()
[all …]
H A DLTO.h37 class InputFile; variable
45 std::vector<InputFile *> compile();
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DInputFile.cpp1 //===- InputFile.cpp ------------------------------------------ *- C++ --*-===//
9 #include "llvm/DebugInfo/PDB/Native/InputFile.h"
35 InputFile::InputFile() = default;
36 InputFile::~InputFile() = default;
157 SymbolGroup::SymbolGroup(InputFile *File, uint32_t GroupIndex) : File(File) { in SymbolGroup()
301 Expected<InputFile> InputFile::open(StringRef Path, bool AllowUnknownFile) { in open()
302 InputFile I in open()
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h111 class InputFile {
118 InputFile() = default;
132 ~InputFile();
135 static Expected<std::unique_ptr<InputFile>> create(MemoryBufferRef Object);
257 friend InputFile; variable
285 Error add(std::unique_ptr<InputFile> Obj, ArrayRef<SymbolResolution> Res);
413 void addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms,
421 Error addModule(InputFile &Input, unsigned ModI,
425 addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
430 Error addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/legacy/
H A DThinLTOCodeGenerator.h257 const lto::InputFile &File);
264 const lto::InputFile &File);
271 const lto::InputFile &File);
280 GVSummaryPtrSet &DecSummaries, const lto::InputFile &File);
286 const lto::InputFile &File);
315 std::vector<std::unique_ptr<lto::InputFile>> Modules;
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DModuleFile.h78 class InputFile {
87 InputFile() = default;
89 InputFile(FileEntryRef File, bool isOverridden = false,
101 static InputFile getNotFound() { in getNotFound()
102 InputFile File; in getNotFound()
258 std::vector<InputFile> InputFilesLoaded;
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DExplainOutputStyle.h22 class InputFile;
27 ExplainOutputStyle(InputFile &File, uint64_t FileOffset);
59 InputFile &File;
24 class InputFile; global() variable
H A DDumpOutputStyle.h27 class InputFile;
60 DumpOutputStyle(InputFile &File);
105 InputFile &File;
29 class InputFile; global() variable
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DToolRunner.cpp158 const std::string &InputFile, const std::string &OutputFile,
167 const std::string &InputFile, in ExecuteProgram() argument
198 return RunProgramWithTimeout(LLIPath, LLIArgs, InputFile, OutputFile, in ExecuteProgram()
254 const std::string &InputFile, const std::string &OutputFile, in ExecuteProgram() argument
303 const std::string &InputFile, const std::string &OutputFile,
312 const std::string &InputFile, const std::string &OutputFile, in ExecuteProgram() argument
328 return RunProgramWithTimeout(ExecutionCommand, ProgramArgs, InputFile, in ExecuteProgram()
484 const std::string &InputFile, in ExecuteProgram() argument
501 return cc->ExecuteProgram(OutputAsmFile, Args, *FileKind, InputFile, in ExecuteProgram()
546 const std::string &InputFile, cons
555 ExecuteProgram(const std::string & Bitcode,const std::vector<std::string> & Args,const std::string & InputFile,const std::string & OutputFile,const std::vector<std::string> & CCArgs,const std::vector<std::string> & SharedLibs,unsigned Timeout,unsigned MemoryLimit) ExecuteProgram() argument
625 ExecuteProgram(const std::string & ProgramFile,const std::vector<std::string> & Args,FileType fileType,const std::string & InputFile,const std::string & OutputFile,const std::vector<std::string> & ArgsForCC,unsigned Timeout,unsigned MemoryLimit) ExecuteProgram() argument
765 MakeSharedObject(const std::string & InputFile,FileType fileType,std::string & OutputFile,const std::vector<std::string> & ArgsForCC) MakeSharedObject() argument
[all...]
H A DToolRunner.h64 FileType fileType, const std::string &InputFile,
72 Error MakeSharedObject(const std::string &InputFile, FileType fileType,
137 const std::string &InputFile, const std::string &OutputFile,
171 const std::string &InputFile, const std::string &OutputFile,
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DAMDGPU.cpp48 static uint32_t getEFlags(InputFile *file) { in getEFlags()
56 for (InputFile *f : ArrayRef(ctx.objectFiles).slice(1)) { in calcEFlagsV3()
74 for (InputFile *f : ArrayRef(ctx.objectFiles).slice(1)) { in calcEFlagsV4()
117 for (InputFile *f : ArrayRef(ctx.objectFiles).slice(1)) { in calcEFlagsV6()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp151 static StringMap<lto::InputFile *>
152 generateModuleMap(std::vector<std::unique_ptr<lto::InputFile>> &Modules) { in generateModuleMap()
153 StringMap<lto::InputFile *> ModuleMap; in generateModuleMap()
192 static std::unique_ptr<Module> loadModuleFromInput(lto::InputFile *Input, in loadModuleFromInput()
217 StringMap<lto::InputFile *> &ModuleMap, in crossImportIntoModule()
297 addUsedSymbolToPreservedGUID(const lto::InputFile &File, in addUsedSymbolToPreservedGUID()
306 static void computeGUIDPreservedSymbols(const lto::InputFile &File, in computeGUIDPreservedSymbols()
320 computeGUIDPreservedSymbols(const lto::InputFile &File, in computeGUIDPreservedSymbols()
434 StringMap<lto::InputFile *> &ModuleMap, TargetMachine &TM, in ProcessThinLTOModule()
553 auto InputOrError = lto::InputFile::create(Buffer); in addModule()
[all …]

12345