| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | Hurd.cpp | 79 path_list &Paths = getFilePaths(); in Hurd() local 96 addPathIfExists(D, D.Dir + "/../lib/" + MultiarchTriple, Paths); in Hurd() 97 addPathIfExists(D, D.Dir + "/../" + OSLibDir, Paths); in Hurd() 100 addPathIfExists(D, SysRoot + "/lib/" + MultiarchTriple, Paths); in Hurd() 101 addPathIfExists(D, SysRoot + "/lib/../" + OSLibDir, Paths); in Hurd() 103 addPathIfExists(D, SysRoot + "/usr/lib/" + MultiarchTriple, Paths); in Hurd() 104 addPathIfExists(D, SysRoot + "/usr/lib/../" + OSLibDir, Paths); in Hurd() 106 Generic_GCC::AddMultiarchPaths(D, SysRoot, OSLibDir, Paths); in Hurd() 114 addPathIfExists(D, D.Dir + "/../lib", Paths); in Hurd() 116 addPathIfExists(D, SysRoot + "/lib", Paths); in Hurd() [all …]
|
| H A D | Linux.cpp | 265 path_list &Paths = getFilePaths(); in Linux() local 274 addPathIfExists(D, concat(SysRoot, "/libo32"), Paths); in Linux() 275 addPathIfExists(D, concat(SysRoot, "/usr/libo32"), Paths); in Linux() 279 addPathIfExists(D, concat(SysRoot, "/lib", MultiarchTriple), Paths); in Linux() 280 addPathIfExists(D, concat(SysRoot, "/lib/..", OSLibDir), Paths); in Linux() 290 Paths); in Linux() 299 addPathIfExists(D, concat(SysRoot, "/usr", OSLibDir), Paths); in Linux() 308 Generic_GCC::AddMultiarchPaths(D, SysRoot, OSLibDir, Paths); in Linux() 315 addPathIfExists(D, D.Dir + "/../lib", Paths); in Linux() 317 addPathIfExists(D, concat(SysRoot, "/lib"), Paths); in Linux() [all …]
|
| H A D | Solaris.cpp | 205 path_list &Paths = getFilePaths(); in Solaris() local 212 Paths); in Solaris() 213 addPathIfExists(D, GCCInstallation.getParentLibPath() + LibSuffix, Paths); in Solaris() 219 addPathIfExists(D, D.Dir + "/../lib", Paths); in Solaris() 221 addPathIfExists(D, D.SysRoot + "/usr/lib" + LibSuffix, Paths); in Solaris()
|
| H A D | CSKYToolChain.cpp | 28 ToolChain::path_list &Paths) { in addMultilibsFilePaths() argument 31 addPathIfExists(D, InstallPath + Path, Paths); in addMultilibsFilePaths() 42 path_list &Paths = getFilePaths(); in CSKYToolChain() local 45 GCCInstallation.getInstallPath(), Paths); in CSKYToolChain()
|
| H A D | RISCVToolchain.cpp | 28 ToolChain::path_list &Paths) { in addMultilibsFilePaths() argument 31 addPathIfExists(D, InstallPath + Path, Paths); in addMultilibsFilePaths() 57 path_list &Paths = getFilePaths(); in RISCVToolChain() local 60 GCCInstallation.getInstallPath(), Paths); in RISCVToolChain()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | CXXInheritance.cpp | 48 Paths.clear(); in clear() 59 Paths.swap(Other.Paths); in swap() 71 return isDerivedFrom(Base, Paths); in isDerivedFrom() 86 Paths); in isDerivedFrom() 106 Paths); in isVirtuallyDerivedFrom() 240 Paths.push_back(ScratchPath); in lookupInBases() 317 if (!Paths.isRecordingPaths() || !Paths.isFindingAmbiguities()) in lookupInBases() 330 Paths.Paths.remove_if([&Paths](const CXXBasePath &Path) { in lookupInBases() 408 Paths); in hasMemberName() 448 CXXBasePaths Paths; in lookupDependentName() local [all …]
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | ProfileList.cpp | 28 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS, 32 createOrDie(const std::vector<std::string> &Paths, 46 ProfileSpecialCaseList::create(const std::vector<std::string> &Paths, in create() argument 50 if (PSCL->createInternal(Paths, VFS, Error)) in create() 56 ProfileSpecialCaseList::createOrDie(const std::vector<std::string> &Paths, in createOrDie() argument 59 if (auto PSCL = create(Paths, VFS, Error)) in createOrDie() 66 ProfileList::ProfileList(ArrayRef<std::string> Paths, SourceManager &SM) in ProfileList() argument 68 Paths, SM.getFileManager().getVirtualFileSystem())), in ProfileList()
|
| H A D | SanitizerSpecialCaseList.cpp | 18 SanitizerSpecialCaseList::create(const std::vector<std::string> &Paths, in create() argument 23 if (SSCL->createInternal(Paths, VFS, Error)) { in create() 31 SanitizerSpecialCaseList::createOrDie(const std::vector<std::string> &Paths, in createOrDie() argument 34 if (auto SSCL = create(Paths, VFS, Error)) in createOrDie()
|
| /llvm-project-15.0.7/clang/lib/IndexSerialization/ |
| H A D | SerializablePathCollection.cpp | 25 FilePaths.emplace_back(DirPath(Root, Dir), Paths.add(Filename)); in addFilePath() 30 return Paths.add(Dir); in addDirPath() 37 StringRef PathPool::getPaths() const { return Paths.getBuffer(); } in getPaths() 44 WorkDirPath(Paths.addDirPath(WorkDir)), in SerializablePathCollection() 45 SysRootPath(Paths.addDirPath(SysRoot)), in SerializablePathCollection() 46 OutputFilePath(Paths.addDirPath(OutputFile)) {} in SerializablePathCollection() 55 Paths.addFilePath(Dir.Root, Dir.Path, sys::path::filename(FE.getName())); in tryStoreFilePath() 88 PathPool::DirPath Result(Root, Paths.addDirPath(Dir)); in tryStoreDirPath()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Lookup.h | 186 Paths(std::move(Other.Paths)), in LookupResult() 199 Other.Paths = nullptr; in LookupResult() 207 Paths = std::move(Other.Paths); 222 Other.Paths = nullptr; 229 if (Paths) deletePaths(Paths); in ~LookupResult() 344 return Paths; in getBasePaths() 505 if (Paths) { in resolveKindAfterFilter() 507 Paths = nullptr; in resolveKindAfterFilter() 527 Paths = nullptr; in resolveKindAfterFilter() 583 if (Paths) deletePaths(Paths); in clear() [all …]
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ReplaceConstant.cpp | 56 auto &Paths = CEPaths[&U]; in convertConstantExprsToInstructions() local 57 for (auto &Path : Paths) { in convertConstantExprsToInstructions() 106 std::vector<std::vector<ConstantExpr *>> Paths; in collectConstantExprPaths() local 117 Paths.push_back(TPath); in collectConstantExprPaths() 131 if (!Paths.empty()) in collectConstantExprPaths() 132 CEPaths[&U] = Paths; in collectConstantExprPaths()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | CXXInheritance.h | 125 std::list<CXXBasePath> Paths; variable 182 paths_iterator begin() { return Paths.begin(); } in begin() 183 paths_iterator end() { return Paths.end(); } in end() 184 const_paths_iterator begin() const { return Paths.begin(); } in begin() 185 const_paths_iterator end() const { return Paths.end(); } in end() 187 CXXBasePath& front() { return Paths.front(); } in front() 188 const CXXBasePath& front() const { return Paths.front(); } in front()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | FileCollector.cpp | 104 PathStorage Paths; in canonicalize() local 105 Paths.VirtualPath = SrcPath; in canonicalize() 106 makeAbsolute(Paths.VirtualPath); in canonicalize() 111 Paths.CopyFrom = Paths.VirtualPath; in canonicalize() 112 updateWithRealPath(Paths.CopyFrom); in canonicalize() 115 sys::path::remove_dots(Paths.VirtualPath, /*remove_dot_dot=*/true); in canonicalize() 117 return Paths; in canonicalize() 121 PathCanonicalizer::PathStorage Paths = Canonicalizer.canonicalize(SrcPath); in addFileImpl() local 124 sys::path::append(DstPath, sys::path::relative_path(Paths.CopyFrom)); in addFileImpl() 131 addFileToMapping(Paths.VirtualPath, DstPath); in addFileImpl()
|
| H A D | SpecialCaseList.cpp | 73 SpecialCaseList::create(const std::vector<std::string> &Paths, in create() argument 76 if (SCL->createInternal(Paths, FS, Error)) in create() 90 SpecialCaseList::createOrDie(const std::vector<std::string> &Paths, in createOrDie() argument 93 if (auto SCL = create(Paths, FS, Error)) in createOrDie() 98 bool SpecialCaseList::createInternal(const std::vector<std::string> &Paths, in createInternal() argument 101 for (const auto &Path : Paths) { in createInternal()
|
| /llvm-project-15.0.7/clang/include/clang/IndexSerialization/ |
| H A D | SerializablePathCollection.h | 81 StringPool Paths; 90 PathPool Paths; variable 104 llvm::StringRef getPathsBuffer() const { return Paths.getPaths(); } in getPathsBuffer() 109 return Paths.getFilePaths(); in getFilePaths()
|
| /llvm-project-15.0.7/llvm/tools/llvm-debuginfod/ |
| H A D | llvm-debuginfod.cpp | 73 SmallVector<StringRef, 1> Paths; in main() local 75 Paths.push_back(Path); in main() 79 DebuginfodCollection Collection(Paths, Log, Pool, MinInterval); in main() 99 if (Paths.size()) in main()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | ModuleDependencyCollector.cpp | 162 llvm::FileCollector::PathCanonicalizer::PathStorage Paths = in copyToRoot() local 170 path::append(CacheDst, path::relative_path(Paths.CopyFrom)); in copyToRoot() 177 Paths.CopyFrom = Dst; in copyToRoot() 184 if (std::error_code EC = fs::copy_file(Paths.CopyFrom, CacheDst)) in copyToRoot() 192 addFileMapping(Paths.VirtualPath, CacheDst); in copyToRoot()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Automaton.h | 82 SmallVector<NfaPath, 4> Paths; variable 125 Paths.clear(); in reset() 142 Paths.clear(); in getPaths() 150 Paths.push_back(std::move(P)); in getPaths() 152 return Paths; in getPaths()
|
| H A D | SpecialCaseList.h | 75 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS, 84 createOrDie(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS); 110 bool createInternal(const std::vector<std::string> &Paths,
|
| /llvm-project-15.0.7/llvm/tools/llvm-cov/ |
| H A D | CoverageReport.cpp | 122 unsigned getNumRedundantPathComponents(ArrayRef<std::string> Paths) { in getNumRedundantPathComponents() argument 125 SmallVector<StringRef, 8> FirstPathComponents{sys::path::begin(Paths[0]), in getNumRedundantPathComponents() 126 sys::path::end(Paths[0])}; in getNumRedundantPathComponents() 129 for (unsigned I = 1, E = Paths.size(); NumRedundant > 0 && I < E; ++I) { in getNumRedundantPathComponents() 130 StringRef Path = Paths[I]; in getNumRedundantPathComponents() 152 unsigned getRedundantPrefixLen(ArrayRef<std::string> Paths) { in getRedundantPrefixLen() argument 154 if (Paths.size() <= 1) in getRedundantPrefixLen() 158 unsigned NumRedundant = getNumRedundantPathComponents(Paths); in getRedundantPrefixLen() 159 auto Component = sys::path::begin(Paths[0]); in getRedundantPrefixLen()
|
| /llvm-project-15.0.7/clang/lib/Tooling/ |
| H A D | InterpolatingCompilationDatabase.cpp | 324 Paths.reserve(OriginalPaths.size()); in FileIndex() 330 Paths.emplace_back(Path, I); in FileIndex() 338 llvm::sort(Paths); in FileIndex() 343 bool empty() const { return Paths.empty(); } in empty() 409 Award(1, indexLookup</*Prefix=*/true>(Prefix, Paths)); in scoreCandidates() 438 S.PrefixLength = matchingPrefix(Filename, Paths[S.Index].first); in pickWinner() 449 S.PrefixLength = matchingPrefix(Filename, Paths[S.Index].first); in pickWinner() 455 return {longestMatch(Filename, Paths).second, 0}; in pickWinner() 492 std::vector<SubstringAndIndex> Paths; // Full path. member in clang::tooling::__anon16cad0690111::FileIndex
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | VirtualNearMissCheck.cpp | 84 CXXBasePaths Paths(/*FindAmbiguities=*/true, /*RecordPaths=*/true, in checkOverridingFunctionReturnType() local 88 if (!DRD->isDerivedFrom(BRD, Paths)) in checkOverridingFunctionReturnType() 92 if (Paths.isAmbiguous(Context->getCanonicalType(BTy).getUnqualifiedType())) in checkOverridingFunctionReturnType() 101 for (const auto &Path : Paths) { in checkOverridingFunctionReturnType()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | RefCntblBaseVirtualDtorChecker.cpp | 65 CXXBasePaths Paths; in visitCXXRecordDecl() local 66 Paths.setOrigin(RD); in visitCXXRecordDecl() 94 if (RD->lookupInBases(IsPublicBaseRefCntblWOVirtualDtor, Paths, in visitCXXRecordDecl()
|
| H A D | PtrTypesSemantics.cpp | 75 CXXBasePaths Paths; in isRefCountable() local 76 Paths.setOrigin(const_cast<CXXRecordDecl *>(R)); in isRefCountable() 90 bool BasesResult = R->lookupInBases(isRefCountableBase, Paths, in isRefCountable()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | SanitizerSpecialCaseList.h | 35 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS, 39 createOrDie(const std::vector<std::string> &Paths,
|