Home
last modified time | relevance | path

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

1234567

/llvm-project/lld/wasm/
H A DInputFiles.h42 class InputFile {
51 virtual ~InputFile() {} in ~InputFile()
65 // An InputFile is considered live if any of the symbols defined by it
75 InputFile(Kind k, MemoryBufferRef m) in InputFile() function
90 class WasmFileBase : public InputFile {
105 static bool classof(const InputFile *f) { return f->kind() == ObjectKind; }
159 static bool classof(const InputFile *f) { return f->kind() == SharedKind; }
163 class BitcodeFile : public InputFile {
167 static bool classof(const InputFile *f) { return f->kind() == BitcodeKind; }
171 std::unique_ptr<llvm::lto::InputFile> ob
[all...]
H A DSymbolTable.h43 void addFile(InputFile *file, StringRef symName = {});
53 Symbol *addSharedFunction(StringRef name, uint32_t flags, InputFile *file,
55 Symbol *addSharedData(StringRef name, uint32_t flags, InputFile *file);
56 Symbol *addDefinedFunction(StringRef name, uint32_t flags, InputFile *file,
58 Symbol *addDefinedData(StringRef name, uint32_t flags, InputFile *file,
60 Symbol *addDefinedGlobal(StringRef name, uint32_t flags, InputFile *file,
62 Symbol *addDefinedTag(StringRef name, uint32_t flags, InputFile *file,
64 Symbol *addDefinedTable(StringRef name, uint32_t flags, InputFile *file,
70 uint32_t flags, InputFile *file,
73 Symbol *addUndefinedData(StringRef name, uint32_t flags, InputFile *fil
[all...]
H A DSymbols.h34 class InputFile; variable
102 InputFile *getFile() const { return file; }
141 Symbol(StringRef name, Kind k, uint32_t flags, InputFile *f)
148 InputFile *file;
215 FunctionSymbol(StringRef name, Kind k, uint32_t flags, InputFile *f,
225 DefinedFunction(StringRef name, uint32_t flags, InputFile *f,
245 InputFile *file = nullptr, in FunctionSymbol()
281 SectionSymbol(uint32_t flags, const InputChunk *s, InputFile *f = nullptr)
299 DataSymbol(StringRef name, Kind k, uint32_t flags, InputFile *f) in DefinedData()
306 DefinedData(StringRef name, uint32_t flags, InputFile * in DefinedData()
[all...]
H A DSymbolTable.cpp26 void SymbolTable::addFile(InputFile *file, StringRef symName) { in addFile()
134 const InputFile *file) { in insert()
139 if (!file || file->kind() == InputFile::ObjectKind) in insert()
145 static void reportTypeError(const Symbol *existing, const InputFile *file, in reportTypeError()
169 static void checkGlobalType(const Symbol *existing, const InputFile *file, in checkGlobalType()
184 static void checkTagType(const Symbol *existing, const InputFile *file, in checkTagType()
200 static void checkTableType(const Symbol *existing, const InputFile *file, in checkTableType()
216 static void checkDataType(const Symbol *existing, const InputFile *file) { in checkDataType()
292 static bool shouldReplace(const Symbol *existing, InputFile *newFile, in shouldReplace()
332 InputFile *fil in addDefinedFunction()
[all...]
/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 …]
/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.h29 class InputFile;
49 InputFile *f, unsigned argc, StringRef data);
75 void printArchiveMemberLoad(StringRef reason, const InputFile *);
94 const llvm::SetVector<InputFile *> &inputs,
26 class InputFile; global() variable
H A DSymbols.h94 InputFile *getFile() const { return file; }
97 Symbol(Kind k, StringRef name, InputFile *file)
104 InputFile *file;
117 Defined(StringRef name, InputFile *file, InputSection *isec, uint64_t value,
208 Undefined(StringRef name, InputFile *file, RefState refState,
240 CommonSymbol(StringRef name, InputFile *file, uint64_t size, uint32_t align,
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 // We use this instead of `toString(const InputFile *)` as we don't want to
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()
/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();
169 // Cache for toStr(Ctx &, const InputFile *). Only toStr should use this
178 class ELFFileBase : public InputFile {
[all...]
H A DSymbols.h34 class InputFile;
75 InputFile *file;
247 Symbol(Kind k, InputFile *file, StringRef name, uint8_t binding,
377 Defined(Ctx &ctx, InputFile *file, StringRef name, uint8_t binding, in Defined()
415 CommonSymbol(Ctx &ctx, InputFile *file, StringRef name, uint8_t binding, in CommonSymbol()
435 Undefined(InputFile *file, StringRef name, uint8_t binding, uint8_t stOther,
457 SharedSymbol(InputFile &file, StringRef name, uint8_t binding, in SharedSymbol()
507 LazySymbol(InputFile &file) in LazySymbol()
537 void reportDuplicate(Ctx &, const Symbol &sym, const InputFile *newFile,
41 class InputFile; global() variable
/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() {}
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; }
136 class ObjFile : public InputFile {
142 static bool classof(const InputFile *f) { return f->kind() == ObjectKind; } in getGuardLJmpChunks()
326 class PDBInputFile : public InputFile {
132 : InputFile(ctx, ObjectKind, m, lazy) {} InputFile() function
[all...]
H A DSymbolTable.h111 Symbol *addUndefined(StringRef name, InputFile *f, bool overrideLazy);
113 void addLazyObject(InputFile *f, StringRef n);
116 Symbol *addRegular(InputFile *f, StringRef n,
121 addComdat(InputFile *f, StringRef n, in forEachSymbol()
123 Symbol *addCommon(InputFile *f, StringRef n, uint64_t size, in forEachSymbol()
135 void reportDuplicate(Symbol *existing, InputFile *newFile,
187 std::pair<Symbol *, bool> insert(StringRef name, InputFile *f);
H A DSymbols.h34 class InputFile; variable
88 InputFile *getFile();
188 DefinedCOFF(Kind k, InputFile *f, StringRef n, const coff_symbol_generic *s)
195 InputFile *getFile() { return file; }
199 InputFile *file;
208 DefinedRegular(InputFile *f, StringRef n, bool isCOMDAT, in DefinedCOFF()
231 DefinedCommon(InputFile *f, StringRef n, uint64_t size, in classof()
317 LazyObject(InputFile *f, StringRef n) : Symbol(LazyObjectKind, n), file(f) {} in LazyDLLSymbol()
319 InputFile *file; in classof()
/llvm-project/llvm/tools/llvm-dwarfutil/
H A Dllvm-dwarfutil.cpp253 ObjectFile &InputFile) { in saveSeparateDebugInfo()
264 if (Error Err = objcopy::executeObjcopyOnBinary(Config, InputFile, in saveSeparateDebugInfo()
276 static Error saveNonDebugInfo(const Options &Opts, ObjectFile &InputFile, in saveNonDebugInfo()
289 objcopy::executeObjcopyOnBinary(Config, InputFile, OutFile)) in saveNonDebugInfo()
300 ObjectFile &InputFile) { in splitDebugIntoSeparateFile()
302 saveSeparateDebugInfo(Opts, InputFile); in splitDebugIntoSeparateFile()
307 saveNonDebugInfo(Opts, InputFile, *SeparateDebugFileCRC32OrErr)) in splitDebugIntoSeparateFile()
316 ObjectFile &InputFile, in addSectionsFromLinkedData()
318 if (isa<ELFObjectFile<ELF32LE>>(&InputFile)) { in addSectionsFromLinkedData()
326 } else if (isa<ELFObjectFile<ELF64LE>>(&InputFile)) { in addSectionsFromLinkedData()
251 saveSeparateDebugInfo(const Options & Opts,ObjectFile & InputFile) saveSeparateDebugInfo() argument
274 saveNonDebugInfo(const Options & Opts,ObjectFile & InputFile,uint32_t GnuDebugLinkCRC32) saveNonDebugInfo() argument
298 splitDebugIntoSeparateFile(const Options & Opts,ObjectFile & InputFile) splitDebugIntoSeparateFile() argument
314 addSectionsFromLinkedData(objcopy::ConfigManager & Config,ObjectFile & InputFile,DebugInfoBits & LinkedDebugInfoBits) addSectionsFromLinkedData() argument
356 saveSeparateLinkedDebugInfo(const Options & Opts,ObjectFile & InputFile,DebugInfoBits LinkedDebugInfoBits) saveSeparateLinkedDebugInfo() argument
387 saveSingleLinkedDebugInfo(const Options & Opts,ObjectFile & InputFile,DebugInfoBits LinkedDebugInfoBits) saveSingleLinkedDebugInfo() argument
407 saveLinkedDebugInfo(const Options & Opts,ObjectFile & InputFile,DebugInfoBits LinkedDebugInfoBits) saveLinkedDebugInfo() argument
428 saveCopyOfFile(const Options & Opts,ObjectFile & InputFile) saveCopyOfFile() argument
443 applyCLOptions(const struct Options & Opts,ObjectFile & InputFile) applyCLOptions() argument
[all...]
/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DInputFile.cpp35 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 IF; in open()
349 PDBFile &InputFile::pdb() { in pdb()
354 const PDBFile &InputFile::pdb() const { in pdb()
359 object::COFFObjectFile &InputFile::obj() { in obj()
364 const object::COFFObjectFile &InputFile::obj() const { in obj()
369 MemoryBuffer &InputFile::unknown() { in unknown()
[all …]
/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h115 class InputFile {
122 InputFile() = default;
136 ~InputFile();
138 /// Create an InputFile.
139 static Expected<std::unique_ptr<InputFile>> create(MemoryBufferRef Object);
167 /// A range over the symbols in this InputFile. in getCOFFLinkerOpts()
176 /// Returns the path to the InputFile. in getTargetTriple()
190 // Returns the only BitcodeModule from InputFile. in module_symbols()
325 /// - Create lto::InputFile objects using lto::InputFile
257 friend InputFile; global() variable
[all...]
/llvm-project/llvm/include/llvm/LTO/legacy/
H A DThinLTOCodeGenerator.h264 const lto::InputFile &File);
271 const lto::InputFile &File);
278 const lto::InputFile &File);
287 GVSummaryPtrSet &DecSummaries, const lto::InputFile &File);
293 const lto::InputFile &File);
322 std::vector<std::unique_ptr<lto::InputFile>> Modules;
/llvm-project/bolt/tools/bat-dump/
H A Dbat-dump.cpp86 void dumpBATFor(llvm::object::ELFObjectFileBase *InputFile) { in dumpBATFor() argument
88 if (!BAT.enabledFor(InputFile)) { in dumpBATFor()
96 for (const llvm::object::SectionRef &Section : InputFile->sections()) { in dumpBATFor()
129 for (const llvm::object::ELFSymbolRef &Symbol : InputFile->symbols()) { in dumpBATFor()
173 if (auto *InputFile = dyn_cast<llvm::object::ELFObjectFileBase>(&Binary)) in main() local
174 dumpBATFor(InputFile); in main()
/llvm-project/bolt/lib/Rewrite/
H A DMachORewriteInstance.cpp61 MachORewriteInstance::create(object::MachOObjectFile *InputFile, in create() argument
65 std::make_unique<MachORewriteInstance>(InputFile, ToolPath, Err); in create()
71 MachORewriteInstance::MachORewriteInstance(object::MachOObjectFile *InputFile, in MachORewriteInstance() argument
73 : InputFile(InputFile), ToolPath(ToolPath) { in MachORewriteInstance()
75 Relocation::Arch = InputFile->makeTriple().getArch(); in MachORewriteInstance()
77 InputFile->makeTriple(), std::make_shared<orc::SymbolStringPool>(), in MachORewriteInstance()
78 InputFile->getFileName(), nullptr, in MachORewriteInstance()
79 /* IsPIC */ true, DWARFContext::create(*InputFile), in MachORewriteInstance()
130 for (const object::SectionRef &Section : InputFile in readSpecialSections()
[all...]
/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 getFile()
108 InputFile File; in getFile()
264 std::vector<InputFile> InputFilesLoaded;
/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, const std::string &OutputFile,
[all …]
/llvm-project/llvm/tools/llvm-pdbutil/
H A DExplainOutputStyle.h22 class InputFile; variable
27 ExplainOutputStyle(InputFile &File, uint64_t FileOffset);
59 InputFile &File;
/llvm-project/clang/tools/clang-offload-packager/
H A DClangOffloadPackager.cpp42 static cl::opt<std::string> InputFile(cl::Positional, variable
147 MemoryBuffer::getFileOrSTDIN(InputFile); in unbundleImages()
149 return createFileError(InputFile, EC); in unbundleImages()
213 Saver.save(sys::path::stem(InputFile) + "-" + Binary->getTriple() + in unbundleImages()
246 if (!InputFile.empty() && !OutputFile.empty()) in main()
255 } else if (!InputFile.empty()) { in main()

1234567