Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/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.cpp840 bool InMemoryFileSystem::addFile(const Twine &P, time_t ModificationTime, in addFile() function in llvm::vfs::InMemoryFileSystem
918 bool InMemoryFileSystem::addFile(const Twine &P, time_t ModificationTime, in addFile() function in llvm::vfs::InMemoryFileSystem
924 return addFile(P, ModificationTime, std::move(Buffer), User, Group, Type, in addFile()
941 return addFile(P, ModificationTime, llvm::MemoryBuffer::getMemBuffer(Buffer), in addFileNoOwn()
1040 return addFile(NewLink, 0, nullptr, std::nullopt, std::nullopt, std::nullopt, in addHardLink()
1060 return addFile(NewLinkStr, ModificationTime, nullptr, User, Group, in addSymbolicLink()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DModuleDependencyCollector.cpp42 Collector.addFile(Filename); in visitInputFile()
63 Collector.addFile(File->getName()); in InclusionDirective()
74 Collector.addFile(HeaderPath); in moduleMapAddHeader()
179 void ModuleDependencyCollector::addFile(StringRef Filename, StringRef FileDst) { in addFile() function in ModuleDependencyCollector
H A DPrecompiledPreamble.cpp62 PCHFS->addFile(PCHFilename, 0, std::move(PCHBuffer)); in createVFSOverlayForPreamblePCH()
158 void addFile(StringRef File);
179 void TemporaryFiles::addFile(StringRef File) { in addFile() function in __anon90aee0a50111::TemporaryFiles
243 TemporaryFiles::getInstance().addFile(this->FilePath); in TempPCHFile()
H A DCompilerInstance.cpp226 MDC->addFile(Name); in collectHeaderMaps()
239 MDC->addFile(PCHInclude); in collectIncludePCH()
258 MDC->addFile(Dir->path()); in collectIncludePCH()
279 MDC->addFile(E.VPath, E.RPath); in collectVFSEntries()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DModuleDependencyCollector.h25 void addFile(llvm::StringRef Filename,
28 m_file_collector->addFile(Filename);
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DTooling.cpp240 InMemoryFileSystem->addFile(FileName, 0, in runToolOnCodeWithArgs()
245 InMemoryFileSystem->addFile( in runToolOnCodeWithArgs()
527 InMemoryFileSystem->addFile( in run()
593 InMemoryFileSystem->addFile( in run()
708 InMemoryFileSystem->addFile(FileName, 0, in buildASTFromCodeWithArgs()
711 InMemoryFileSystem->addFile( in buildASTFromCodeWithArgs()
/freebsd/contrib/llvm-project/clang/lib/Testing/
H A DTestAST.cpp112 VFS->addFile(Filename, /*ModificationTime=*/0, in TestAST()
115 VFS->addFile( in TestAST()
/freebsd/contrib/llvm-project/lld/ELF/
H A DScriptParser.cpp70 void addFile(StringRef path);
318 void ScriptParser::addFile(StringRef s) { in addFile() function in ScriptParser
323 ctx.driver.addFile(saver().save(path), /*withLOption=*/false); in addFile()
331 ctx.driver.addFile(s, /*withLOption=*/false); in addFile()
335 ctx.driver.addFile(s.substr(1), /*withLOption=*/false); in addFile()
337 ctx.driver.addFile(saver().save(config->sysroot + "/" + s.substr(1)), in addFile()
350 ctx.driver.addFile(path, /*withLOption=*/false); in addFile()
356 ctx.driver.addFile(s, /*withLOption=*/false); in addFile()
360 ctx.driver.addFile(saver().save(*path), /*withLOption=*/true); in addFile()
372 addFile(unquote(next())); in readAsNeeded()
[all …]
H A DConfig.h126 void addFile(StringRef path, bool withLOption);
H A DInputFiles.cpp428 ctx.driver.addFile(saver().save(*s), /*withLOption=*/true); in addDependentLibrary()
430 ctx.driver.addFile(saver().save(*s), /*withLOption=*/true); in addDependentLibrary()
432 ctx.driver.addFile(specifier, /*withLOption=*/false); in addDependentLibrary()
H A DDriver.cpp266 void LinkerDriver::addFile(StringRef path, bool withLOption) { in addFile() function in LinkerDriver
359 addFile(saver().save(*path), /*withLOption=*/true); in addLibrary()
1919 addFile(arg->getValue(), /*withLOption=*/false); in createFiles()
/freebsd/contrib/llvm-project/lld/MachO/
H A DDriver.cpp288 static InputFile *addFile(StringRef path, LoadType loadType, in addFile() function
454 addFile(*path, loadType, /*isLazy=*/false, isExplicit, in addLibrary()
483 addFile(*path, loadType, /*isLazy=*/false, isExplicit, false); in addFramework()
577 addFile(rerootPath(path), LoadType::CommandLine, isLazy); in addFileList()
1220 addFile(rerootPath(arg->getValue()), LoadType::CommandLine, isLazy); in createFiles()
1224 addFile(rerootPath(arg->getValue()), LoadType::CommandLine))) in createFiles()
1229 addFile(rerootPath(arg->getValue()), LoadType::CommandLine))) { in createFiles()
1236 addFile(rerootPath(arg->getValue()), LoadType::CommandLine))) in createFiles()
1243 addFile(rerootPath(arg->getValue()), LoadType::CommandLineForce); in createFiles()
1246 addFile(rerootPath(arg->getValue()), LoadType::CommandLine, in createFiles()
[all …]
H A DSyntheticSections.h646 void addFile(const InputFile *file) { in addFile() function
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DFileCollector.h27 void addFile(const Twine &file);
H A DVirtualFileSystem.h537 bool addFile(const Twine &Path, time_t ModificationTime,
561 bool addFile(const Twine &Path, time_t ModificationTime,
/freebsd/contrib/llvm-project/lld/COFF/
H A DSymbolTable.h51 void addFile(InputFile *file);
H A DDriver.cpp202 ctx.symtab.addFile(make<ArchiveFile>(ctx, mbref)); in addBuffer()
205 ctx.symtab.addFile(make<BitcodeFile>(ctx, mbref, "", 0, lazy)); in addBuffer()
209 ctx.symtab.addFile(make<ObjFile>(ctx, mbref, lazy)); in addBuffer()
212 ctx.symtab.addFile(make<PDBInputFile>(ctx, mbref)); in addBuffer()
219 ctx.symtab.addFile(make<DLLFile>(ctx, mbref)); in addBuffer()
284 ctx.symtab.addFile(imp); in addArchiveBuffer()
304 ctx.symtab.addFile(obj); in addArchiveBuffer()
1316 ctx.symtab.addFile(f); in convertResources()
H A DSymbolTable.cpp52 void SymbolTable::addFile(InputFile *file) { in addFile() function in lld::coff::SymbolTable
105 file->ctx.symtab.addFile(file); in forceLazy()
625 addFile(f); in addLazyObject()
H A DInputFiles.cpp1252 ctx.symtab.addFile(impFile); in makeImport()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCCodeView.h153 bool addFile(MCStreamer &OS, unsigned FileNumber, StringRef Filename,
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DDeviceOffload.cpp60 VFS->addFile(FatbinFileName, 0, in Parse()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCCodeView.cpp44 bool CodeViewContext::addFile(MCStreamer &OS, unsigned FileNumber, in addFile() function in CodeViewContext
H A DMCStreamer.cpp297 return getContext().getCVContext().addFile(*this, FileNo, Filename, Checksum, in emitCVFileDirective()
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp617 InMemoryFS->addFile(FakeInputPath, 0, llvm::MemoryBuffer::getMemBuffer("")); in computeDependencies()

12