Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DInputFile.h33 class InputFile; variable
40 class InputFile {
41 InputFile();
58 InputFile(PDBFile *Pdb) { PdbOrObj = Pdb; } in InputFile() function
59 InputFile(object::COFFObjectFile *Obj) { PdbOrObj = Obj; } in InputFile() function
60 InputFile(MemoryBuffer *Buffer) { PdbOrObj = Buffer; } in InputFile() function
61 LLVM_ABI ~InputFile();
62 InputFile(InputFile &&Other) = default;
64 LLVM_ABI static Expected<InputFile> open(StringRef Path,
95 LLVM_ABI 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 *f) { return f->kind() == ObjKind; } in classof()
[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.h29 class InputFile; variable
49 InputFile *f, unsigned argc, StringRef data);
75 void printArchiveMemberLoad(StringRef reason, const InputFile *);
94 const llvm::SetVector<InputFile *> &inputs,
H A DSymbols.h94 InputFile *getFile() const { return file; } in getFile()
97 Symbol(Kind k, StringRef name, InputFile *file) in Symbol()
104 InputFile *file;
117 Defined(StringRef name, InputFile *file, InputSection *isec, uint64_t value,
208 Undefined(StringRef name, InputFile *file, RefState refState, in Undefined()
240 CommonSymbol(StringRef 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()
125 static void printFileName(raw_fd_ostream &os, const InputFile *f) { in printFileName()
135 const DenseMap<lld::macho::InputFile *, uint32_t> &readerToFileOrdinal, in printStubsEntries() argument
185 DenseMap<lld::macho::InputFile *, uint32_t> readerToFileOrdinal; in writeMapFile()
186 for (InputFile *file : info.files) { in writeMapFile()
H A DLTO.cpp108 lto::InputFile &obj = *f.obj; in add()
113 ArrayRef<lto::InputFile::Symbol> objSyms = obj.symbols(); in add()
121 for (const lto::InputFile::Symbol &objSym : objSyms) { in add()
163 for (InputFile *file : inputFiles) in thinLTOCreateEmptyIndexFiles()
168 for (InputFile *file : inputFiles) { in thinLTOCreateEmptyIndexFiles()
/freebsd/contrib/llvm-project/lld/ELF/
H A DInputFiles.h27 class InputFile; variable
39 std::string toStr(Ctx &, const InputFile *f);
40 const ELFSyncStream &operator<<(const ELFSyncStream &, const InputFile *);
46 void parseFile(Ctx &, InputFile *file);
47 void parseFiles(Ctx &, const SmallVector<std::unique_ptr<InputFile>, 0> &);
50 class InputFile {
68 InputFile(Ctx &, Kind k, MemoryBufferRef m);
69 virtual ~InputFile();
178 class ELFFileBase : public InputFile {
182 static bool classof(const InputFile *f) { return f->isElf(); } in classof()
[all …]
H A DSymbols.h34 class InputFile; variable
75 InputFile *file;
242 Symbol(Kind k, InputFile *file, StringRef name, uint8_t binding, in Symbol()
372 Defined(Ctx &ctx, InputFile *file, StringRef name, uint8_t binding, in Defined()
410 CommonSymbol(Ctx &ctx, InputFile *file, StringRef name, uint8_t binding, in CommonSymbol()
430 Undefined(InputFile *file, StringRef name, uint8_t binding, uint8_t stOther,
452 SharedSymbol(InputFile &file, StringRef name, uint8_t binding, in SharedSymbol()
502 LazySymbol(InputFile &file) in LazySymbol()
532 void reportDuplicate(Ctx &, const Symbol &sym, const InputFile *newFile,
H A DLTO.h37 class InputFile; variable
45 SmallVector<std::unique_ptr<InputFile>, 0> compile();
/freebsd/contrib/llvm-project/lld/COFF/
H A DInputFiles.h33 class InputFile; variable
43 const COFFSyncStream &operator<<(const COFFSyncStream &, const InputFile *);
70 class InputFile {
81 virtual ~InputFile() {} in ~InputFile()
105 InputFile(SymbolTable &s, Kind k, MemoryBufferRef m, bool lazy = false)
119 class ArchiveFile : public InputFile {
122 static bool classof(const InputFile *f) { return f->kind() == ArchiveKind; } in classof()
136 class ObjFile : public InputFile {
142 static bool classof(const InputFile *f) { return f->kind() == ObjectKind; } in classof()
326 class PDBInputFile : public InputFile {
[all …]
H A DSymbolTable.h120 Symbol *addUndefined(StringRef name, InputFile *f, bool overrideLazy);
122 void addLazyObject(InputFile *f, StringRef n);
125 Symbol *addRegular(InputFile *f, StringRef n,
130 addComdat(InputFile *f, StringRef n,
132 Symbol *addCommon(InputFile *f, StringRef n, uint64_t size,
144 void reportDuplicate(Symbol *existing, InputFile *newFile,
209 std::pair<Symbol *, bool> insert(StringRef name, InputFile *f);
H A DSymbols.h34 class InputFile; variable
87 InputFile *getFile();
187 DefinedCOFF(Kind k, InputFile *f, StringRef n, const coff_symbol_generic *s) in DefinedCOFF()
194 InputFile *getFile() { return file; } in getFile()
198 InputFile *file;
207 DefinedRegular(InputFile *f, StringRef n, bool isCOMDAT,
230 DefinedCommon(InputFile *f, StringRef n, uint64_t size,
316 LazyObject(InputFile *f, StringRef n) : Symbol(LazyObjectKind, n), file(f) {} in LazyObject()
318 InputFile *file;
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfutil/
H A Dllvm-dwarfutil.cpp253 ObjectFile &InputFile) { in saveSeparateDebugInfo() argument
264 if (Error Err = objcopy::executeObjcopyOnBinary(Config, InputFile, in saveSeparateDebugInfo()
276 static Error saveNonDebugInfo(const Options &Opts, ObjectFile &InputFile, in saveNonDebugInfo() argument
289 objcopy::executeObjcopyOnBinary(Config, InputFile, OutFile)) in saveNonDebugInfo()
300 ObjectFile &InputFile) { in splitDebugIntoSeparateFile() argument
302 saveSeparateDebugInfo(Opts, InputFile); in splitDebugIntoSeparateFile()
307 saveNonDebugInfo(Opts, InputFile, *SeparateDebugFileCRC32OrErr)) in splitDebugIntoSeparateFile()
316 ObjectFile &InputFile, in addSectionsFromLinkedData() argument
318 if (isa<ELFObjectFile<ELF32LE>>(&InputFile)) { in addSectionsFromLinkedData()
326 } else if (isa<ELFObjectFile<ELF64LE>>(&InputFile)) { in addSectionsFromLinkedData()
[all …]
/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/legacy/
H A DThinLTOCodeGenerator.h265 const lto::InputFile &File);
272 const lto::InputFile &File);
279 const lto::InputFile &File);
288 GVSummaryPtrSet &DecSummaries, const lto::InputFile &File);
294 const lto::InputFile &File);
323 std::vector<std::unique_ptr<lto::InputFile>> Modules;
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DModuleFile.h84 class InputFile {
93 InputFile() = default;
95 InputFile(FileEntryRef File, bool isOverridden = false,
107 static InputFile getNotFound() { in getNotFound()
108 InputFile File; in getNotFound()
264 std::vector<InputFile> InputFilesLoaded;
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h118 class InputFile {
125 InputFile() = default;
139 LLVM_ABI ~InputFile();
142 LLVM_ABI static Expected<std::unique_ptr<InputFile>>
374 friend InputFile; variable
402 LLVM_ABI Error add(std::unique_ptr<InputFile> Obj,
541 void addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms,
549 Error addModule(InputFile &Input, unsigned ModI,
553 addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
558 Error addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
/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
H A DTypeReferenceTracker.h29 TypeReferenceTracker(InputFile &File);
52 InputFile &File;
/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
196 return RunProgramWithTimeout(LLIPath, LLIArgs, InputFile, OutputFile, in ExecuteProgram()
252 const std::string &InputFile, const std::string &OutputFile, in ExecuteProgram() argument
299 const std::string &InputFile, const std::string &OutputFile,
308 const std::string &InputFile, const std::string &OutputFile, in ExecuteProgram() argument
322 return RunProgramWithTimeout(ExecutionCommand, ProgramArgs, InputFile, in ExecuteProgram()
477 const std::string &InputFile, in ExecuteProgram() argument
494 return cc->ExecuteProgram(OutputAsmFile, Args, *FileKind, InputFile, in ExecuteProgram()
539 const std::string &InputFile, const std::string &OutputFile,
[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.cpp145 static StringMap<lto::InputFile *>
146 generateModuleMap(std::vector<std::unique_ptr<lto::InputFile>> &Modules) { in generateModuleMap()
147 StringMap<lto::InputFile *> ModuleMap; in generateModuleMap()
185 static std::unique_ptr<Module> loadModuleFromInput(lto::InputFile *Input, in loadModuleFromInput()
210 StringMap<lto::InputFile *> &ModuleMap, in crossImportIntoModule()
290 addUsedSymbolToPreservedGUID(const lto::InputFile &File, in addUsedSymbolToPreservedGUID()
300 static void computeGUIDPreservedSymbols(const lto::InputFile &File, in computeGUIDPreservedSymbols()
315 computeGUIDPreservedSymbols(const lto::InputFile &File, in computeGUIDPreservedSymbols()
427 StringMap<lto::InputFile *> &ModuleMap, TargetMachine &TM, in ProcessThinLTOModule()
544 auto InputOrError = lto::InputFile::create(Buffer); in addModule()
[all …]

12345