Searched refs:vfs (Results 1 – 5 of 5) sorted by relevance
/bionic/tools/versioner/src/ |
D | VFS.cpp | 35 using namespace llvm::vfs; 37 static void addDirectoryToVFS(InMemoryFileSystem* vfs, const std::string& path) { in addDirectoryToVFS() argument 62 if (!vfs->addFile(file_path, ent->fts_statp->st_mtime, std::move(buffer_opt.get()))) { in addDirectoryToVFS() 71 auto vfs = std::make_unique<InMemoryFileSystem>(); in createCommonVFS() local 72 addDirectoryToVFS(vfs.get(), header_dir); in createCommonVFS() 74 addDirectoryToVFS(vfs.get(), dependency_dir); in createCommonVFS() 88 vfs->addFile("android/versioning.h", 0, std::move(buffer_opt.get())); in createCommonVFS() 91 return llvm::IntrusiveRefCntPtr<FileSystem>(vfs.release()); in createCommonVFS()
|
D | Driver.h | 34 void initializeTargetCC1FlagCache(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> vfs, 38 void compileHeader(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> vfs,
|
D | Driver.cpp | 98 static void generateTargetCC1Flags(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> vfs, in generateTargetCC1Flags() argument 152 driver::Driver driver("versioner", llvm::sys::getDefaultTargetTriple(), *diags, "versioner", vfs); in generateTargetCC1Flags() 206 void initializeTargetCC1FlagCache(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> vfs, in initializeTargetCC1FlagCache() argument 216 threads.emplace_back([type, &vfs, &reqs]() { in initializeTargetCC1FlagCache() 223 generateTargetCC1Flags(vfs, type, arch_req_it->second.dependencies); in initializeTargetCC1FlagCache() 241 void compileHeader(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> vfs, in compileHeader() argument 255 Compiler.createFileManager(vfs); in compileHeader()
|
D | VFS.h | 25 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> createCommonVFS(const std::string& header_dir,
|
D | versioner.cpp | 191 auto vfs = createCommonVFS(location.header_path, location.dependency_dir, add_include); in compileHeaders() local 206 initializeTargetCC1FlagCache(vfs, types, requirements); in compileHeaders() 236 compileHeader(vfs, result.get(), job.first, job.second); in compileHeaders() 241 threads.emplace_back([&jobs, &job_index, &result, vfs]() { in compileHeaders() 249 compileHeader(vfs, result.get(), job.first, job.second); in compileHeaders()
|