Home
last modified time | relevance | path

Searched refs:addFile (Results 1 – 25 of 33) sorted by relevance

12

/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DFileCollector.cpp21 void FileCollectorBase::addFile(const Twine &File) { in addFile() function in FileCollectorBase
143 addFile(Dir); in addDirectoryImpl()
148 addFile(It->path()); in addDirectoryImpl()
266 Collector->addFile(Path); in status()
274 Collector->addFile(Path); in openFileForRead()
287 Collector->addFile(Path); in getRealPath()
289 Collector->addFile(Output); in getRealPath()
H A DVirtualFileSystem.cpp814 bool InMemoryFileSystem::addFile(const Twine &P, time_t ModificationTime, in addFile() function in llvm::vfs::InMemoryFileSystem
891 bool InMemoryFileSystem::addFile(const Twine &P, time_t ModificationTime, in addFile() function in llvm::vfs::InMemoryFileSystem
897 return addFile(P, ModificationTime, std::move(Buffer), User, Group, Type, in addFile()
914 return addFile(P, ModificationTime, llvm::MemoryBuffer::getMemBuffer(Buffer), in addFileNoOwn()
1013 return addFile(NewLink, 0, nullptr, std::nullopt, std::nullopt, std::nullopt, in addHardLink()
1033 return addFile(NewLinkStr, ModificationTime, nullptr, User, Group, in addSymbolicLink()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DModuleDependencyCollector.cpp42 Collector.addFile(Filename); in visitInputFile()
62 Collector.addFile(File->getName()); in InclusionDirective()
73 Collector.addFile(HeaderPath); in moduleMapAddHeader()
203 void ModuleDependencyCollector::addFile(StringRef Filename, StringRef FileDst) { in addFile() function in ModuleDependencyCollector
H A DPrecompiledPreamble.cpp61 PCHFS->addFile(PCHFilename, 0, std::move(PCHBuffer)); in createVFSOverlayForPreamblePCH()
156 void addFile(StringRef File);
177 void TemporaryFiles::addFile(StringRef File) { in addFile() function in __anon186f2d1c0111::TemporaryFiles
229 TemporaryFiles::getInstance().addFile(this->FilePath); in TempPCHFile()
H A DCompilerInstance.cpp228 MDC->addFile(Name); in collectHeaderMaps()
241 MDC->addFile(PCHInclude); in collectIncludePCH()
260 MDC->addFile(Dir->path()); in collectIncludePCH()
281 MDC->addFile(E.VPath, E.RPath); in collectVFSEntries()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DModuleDependencyCollector.h25 void addFile(llvm::StringRef Filename,
28 m_file_collector->addFile(Filename);
/openbsd-src/gnu/llvm/clang/lib/Tooling/
H A DTooling.cpp232 InMemoryFileSystem->addFile(FileName, 0, in runToolOnCodeWithArgs()
237 InMemoryFileSystem->addFile( in runToolOnCodeWithArgs()
496 InMemoryFileSystem->addFile( in run()
562 InMemoryFileSystem->addFile( in run()
677 InMemoryFileSystem->addFile(FileName, 0, in buildASTFromCodeWithArgs()
680 InMemoryFileSystem->addFile( in buildASTFromCodeWithArgs()
/openbsd-src/gnu/llvm/clang/lib/Testing/
H A DTestAST.cpp106 VFS->addFile(Filename, /*ModificationTime=*/0, in TestAST()
109 VFS->addFile( in TestAST()
/openbsd-src/gnu/llvm/lld/ELF/
H A DScriptParser.cpp69 void addFile(StringRef path);
292 void ScriptParser::addFile(StringRef s) { in addFile() function in ScriptParser
297 ctx.driver.addFile(saver().save(path), /*withLOption=*/false); in addFile()
305 ctx.driver.addFile(s, /*withLOption=*/false); in addFile()
309 ctx.driver.addFile(s.substr(1), /*withLOption=*/false); in addFile()
311 ctx.driver.addFile(saver().save(config->sysroot + "/" + s.substr(1)), in addFile()
324 ctx.driver.addFile(path, /*withLOption=*/false); in addFile()
330 ctx.driver.addFile(s, /*withLOption=*/false); in addFile()
334 ctx.driver.addFile(saver().save(*path), /*withLOption=*/true); in addFile()
346 addFile(unquote(next())); in readAsNeeded()
[all …]
H A DConfig.h108 void addFile(StringRef path, bool withLOption);
H A DInputFiles.cpp376 ctx.driver.addFile(saver().save(*s), /*withLOption=*/true); in addDependentLibrary()
378 ctx.driver.addFile(saver().save(*s), /*withLOption=*/true); in addDependentLibrary()
380 ctx.driver.addFile(specifier, /*withLOption=*/false); in addDependentLibrary()
/openbsd-src/gnu/llvm/lld/MachO/
H A DDriver.cpp268 static InputFile *addFile(StringRef path, LoadType loadType, in addFile() function
416 addFile(*path, loadType, /*isLazy=*/false, isExplicit, in addLibrary()
448 addFile(*path, loadType, /*isLazy=*/false, isExplicit, false); in addFramework()
521 addFile(rerootPath(path), LoadType::CommandLine, isLazy); in addFileList()
1120 addFile(rerootPath(arg->getValue()), LoadType::CommandLine, isLazy); in createFiles()
1124 addFile(rerootPath(arg->getValue()), LoadType::CommandLine))) in createFiles()
1129 addFile(rerootPath(arg->getValue()), LoadType::CommandLine))) { in createFiles()
1136 addFile(rerootPath(arg->getValue()), LoadType::CommandLine))) in createFiles()
1143 addFile(rerootPath(arg->getValue()), LoadType::CommandLineForce); in createFiles()
1146 addFile(rerootPath(arg->getValue()), LoadType::CommandLine, in createFiles()
[all …]
H A DSyntheticSections.h643 void addFile(const InputFile *file) { in addFile() function
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DFileCollector.h27 void addFile(const Twine &file);
H A DVirtualFileSystem.h510 bool addFile(const Twine &Path, time_t ModificationTime,
534 bool addFile(const Twine &Path, time_t ModificationTime,
/openbsd-src/gnu/llvm/lld/wasm/
H A DDriver.cpp76 void addFile(StringRef path);
241 void LinkerDriver::addFile(StringRef path) { in addFile() function in lld::wasm::LinkerDriver
326 addFile(saver().save(*path)); in addLibrary()
338 addFile(arg->getValue()); in createFiles()
1112 symtab->addFile(f); in linkerMain()
H A DSymbolTable.h44 void addFile(InputFile *file);
/openbsd-src/gnu/llvm/lld/COFF/
H A DSymbolTable.h52 void addFile(InputFile *file);
H A DDriver.cpp204 ctx.symtab.addFile(make<ArchiveFile>(ctx, mbref)); in addBuffer()
207 ctx.symtab.addFile(make<BitcodeFile>(ctx, mbref, "", 0, lazy)); in addBuffer()
211 ctx.symtab.addFile(make<ObjFile>(ctx, mbref, lazy)); in addBuffer()
214 ctx.symtab.addFile(make<PDBInputFile>(ctx, mbref)); in addBuffer()
221 ctx.symtab.addFile(make<DLLFile>(ctx, mbref)); in addBuffer()
267 ctx.symtab.addFile(imp); in addArchiveBuffer()
287 ctx.symtab.addFile(obj); in addArchiveBuffer()
1305 ctx.symtab.addFile(f); in convertResources()
H A DSymbolTable.cpp37 void SymbolTable::addFile(InputFile *file) { in addFile() function in lld::coff::SymbolTable
86 file->ctx.symtab.addFile(file); in forceLazy()
581 addFile(f); in addLazyObject()
/openbsd-src/gnu/llvm/clang/include/clang/Frontend/
H A DUtils.h150 virtual void addFile(StringRef Filename, StringRef FileDst = {});
/openbsd-src/gnu/llvm/clang/lib/Tooling/DumpTool/
H A DClangSrcLocDump.cpp109 MemFS->addFile(Filename, 0, in main()
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCCodeView.h150 bool addFile(MCStreamer &OS, unsigned FileNumber, StringRef Filename,
/openbsd-src/gnu/llvm/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp407 InMemoryFS->addFile(*ModuleName, 0, llvm::MemoryBuffer::getMemBuffer("")); in computeDependencies()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Core/
H A DReplacement.cpp592 InMemoryFileSystem->addFile( in applyAllReplacements()

12