Lines Matching refs:InputFile
27 class InputFile;
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 {
182 static bool classof(const InputFile *f) { return f->isElf(); }
222 template <typename ELFT> void init(InputFile::Kind k);
252 static bool classof(const InputFile *f) { return f->kind() == ObjKind; }
324 class BitcodeFile : public InputFile {
328 static bool classof(const InputFile *f) { return f->kind() == BitcodeKind; }
332 std::unique_ptr<llvm::lto::InputFile> obj;
352 static bool classof(const InputFile *f) { return f->kind() == SharedKind; }
369 class BinaryFile : public InputFile {
372 : InputFile(ctx, BinaryKind, m) {}
373 static bool classof(const InputFile *f) { return f->kind() == BinaryKind; }
377 InputFile *createInternalFile(Ctx &, StringRef name);