| /freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | Hurd.cpp | 87 path_list &Paths = getFilePaths(); in Hurd() local 96 Generic_GCC::AddMultilibPaths(D, SysRoot, OSLibDir, MultiarchTriple, Paths); in Hurd() 104 addPathIfExists(D, D.Dir + "/../lib/" + MultiarchTriple, Paths); in Hurd() 105 addPathIfExists(D, D.Dir + "/../" + OSLibDir, Paths); in Hurd() 108 addPathIfExists(D, SysRoot + "/lib/" + MultiarchTriple, Paths); in Hurd() 109 addPathIfExists(D, SysRoot + "/lib/../" + OSLibDir, Paths); in Hurd() 111 addPathIfExists(D, SysRoot + "/usr/lib/" + MultiarchTriple, Paths); in Hurd() 112 addPathIfExists(D, SysRoot + "/usr/lib/../" + OSLibDir, Paths); in Hurd() 114 Generic_GCC::AddMultiarchPaths(D, SysRoot, OSLibDir, Paths); in Hurd() 122 addPathIfExists(D, D.Dir + "/../lib", Paths); in Hurd() [all …]
|
| H A D | Managarm.cpp | 85 path_list &Paths = getFilePaths(); in Managarm() local 90 Generic_GCC::AddMultilibPaths(D, SysRoot, OSLibDir, MultiarchTriple, Paths); in Managarm() 92 addPathIfExists(D, concat(SysRoot, "/lib", MultiarchTriple), Paths); in Managarm() 93 addPathIfExists(D, concat(SysRoot, "/lib/..", OSLibDir), Paths); in Managarm() 94 addPathIfExists(D, concat(SysRoot, "/usr/lib", MultiarchTriple), Paths); in Managarm() 95 addPathIfExists(D, concat(SysRoot, "/usr", OSLibDir), Paths); in Managarm() 97 Generic_GCC::AddMultiarchPaths(D, SysRoot, OSLibDir, Paths); in Managarm() 99 addPathIfExists(D, concat(SysRoot, "/lib"), Paths); in Managarm() 100 addPathIfExists(D, concat(SysRoot, "/usr/lib"), Paths); in Managarm()
|
| H A D | Cygwin.cpp | 32 path_list &Paths = getFilePaths(); in Cygwin() local 34 Generic_GCC::AddMultiarchPaths(D, SysRoot, "lib", Paths); in Cygwin() 42 addPathIfExists(D, D.Dir + "/../lib", Paths); in Cygwin() 44 addPathIfExists(D, SysRoot + "/lib", Paths); in Cygwin() 45 addPathIfExists(D, SysRoot + "/usr/lib", Paths); in Cygwin() 46 addPathIfExists(D, SysRoot + "/usr/lib/w32api", Paths); in Cygwin()
|
| H A D | OHOS.cpp | 159 path_list &Paths = getFilePaths(); in OHOS() local 163 Paths); in OHOS() 167 Paths); in OHOS() 172 Paths); in OHOS() 288 path_list Paths; in getRuntimePaths() local 295 Paths.push_back(P.c_str()); in getRuntimePaths() 300 Paths.push_back(P.c_str()); in getRuntimePaths() 306 Paths.push_back(P.c_str()); in getRuntimePaths() 308 return Paths; in getRuntimePaths() 410 ToolChain::path_list Paths; in getArchSpecificLibPaths() local [all …]
|
| H A D | Linux.cpp | 316 path_list &Paths = getFilePaths(); in Linux() local 324 Generic_GCC::AddMultilibPaths(D, SysRoot, "libo32", MultiarchTriple, Paths); in Linux() 325 addPathIfExists(D, concat(SysRoot, "/libo32"), Paths); in Linux() 326 addPathIfExists(D, concat(SysRoot, "/usr/libo32"), Paths); in Linux() 328 Generic_GCC::AddMultilibPaths(D, SysRoot, OSLibDir, MultiarchTriple, Paths); in Linux() 330 addPathIfExists(D, concat(SysRoot, "/lib", MultiarchTriple), Paths); in Linux() 331 addPathIfExists(D, concat(SysRoot, "/lib/..", OSLibDir), Paths); in Linux() 341 Paths); in Linux() 344 addPathIfExists(D, concat(SysRoot, "/usr/lib", MultiarchTriple), Paths); in Linux() 345 addPathIfExists(D, concat(SysRoot, "/usr", OSLibDir), Paths); in Linux() [all …]
|
| H A D | CSKYToolChain.cpp | 27 ToolChain::path_list &Paths) { in addMultilibsFilePaths() argument 30 addPathIfExists(D, InstallPath + Path, Paths); in addMultilibsFilePaths() 41 path_list &Paths = getFilePaths(); in CSKYToolChain() local 44 GCCInstallation.getInstallPath(), Paths); in CSKYToolChain()
|
| H A D | Solaris.cpp | 312 path_list &Paths = getFilePaths(); in Solaris() local 319 Paths); in Solaris() 320 addPathIfExists(D, GCCInstallation.getParentLibPath() + LibSuffix, Paths); in Solaris() 326 addPathIfExists(D, D.Dir + "/../lib", Paths); in Solaris() 328 addPathIfExists(D, D.SysRoot + "/usr/lib" + LibSuffix, Paths); in Solaris()
|
| H A D | BareMetal.cpp | 208 ToolChain::path_list &Paths) { in addMultilibsFilePaths() argument 211 addPathIfExists(D, InstallPath + Path, Paths); in addMultilibsFilePaths() 230 path_list &Paths = getFilePaths(); in BareMetal() local 233 GCCInstallation.getInstallPath(), Paths); in BareMetal() 235 Paths.push_back(GCCInstallation.getInstallPath().str()); in BareMetal() 237 Paths.push_back(ComputedSysRoot + "/lib"); in BareMetal()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | CXXInheritance.cpp | 45 Paths.clear(); in clear() 56 Paths.swap(Other.Paths); in swap() 66 CXXBasePaths Paths(/*FindAmbiguities=*/false, /*RecordPaths=*/false, in isDerivedFrom() local 68 return isDerivedFrom(Base, Paths); in isDerivedFrom() 72 CXXBasePaths &Paths) const { in isDerivedFrom() 76 Paths.setOrigin(const_cast<CXXRecordDecl*>(this)); in isDerivedFrom() 84 Paths); in isDerivedFrom() 91 CXXBasePaths Paths(/*FindAmbiguities=*/false, /*RecordPaths=*/false, in isVirtuallyDerivedFrom() local 97 Paths.setOrigin(const_cast<CXXRecordDecl*>(this)); in isVirtuallyDerivedFrom() 104 Paths); in isVirtuallyDerivedFrom() [all …]
|
| H A D | VTableBuilder.cpp | 261 CXXBasePaths Paths(/*FindAmbiguities=*/false, in ComputeBaseOffset() local 264 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in ComputeBaseOffset() 267 return ComputeBaseOffset(Context, DerivedRD, Paths.front()); in ComputeBaseOffset() 1250 CXXBasePaths Paths(/*FindAmbiguities=*/true, in ComputeThisAdjustmentBaseOffset() local 1253 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in ComputeThisAdjustmentBaseOffset() 1258 for (const CXXBasePath &Path : Paths) { in ComputeThisAdjustmentBaseOffset() 2793 CXXBasePaths Paths; in ComputeThisOffset() local 2798 Paths); in ComputeThisOffset() 2809 for (const CXXBasePath &Path : Paths) { in ComputeThisOffset() 3370 static bool rebucketPaths(VPtrInfoVector &Paths); [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Lookup.h | 201 Paths(std::move(Other.Paths)), in LookupResult() 215 Other.Paths = nullptr; in LookupResult() 224 Paths = std::move(Other.Paths); 240 Other.Paths = nullptr; 251 if (Paths) deletePaths(Paths); in ~LookupResult() 367 return Paths; in getBasePaths() 530 if (Paths) { in resolveKindAfterFilter() 531 deletePaths(Paths); in resolveKindAfterFilter() 532 Paths = nullptr; in resolveKindAfterFilter() 550 } else if (Paths) { in resolveKindAfterFilter() [all …]
|
| /freebsd/contrib/llvm-project/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 49 if (PSCL->createInternal(Paths, VFS, Error)) in create() 55 ProfileSpecialCaseList::createOrDie(const std::vector<std::string> &Paths, in createOrDie() argument 58 if (auto PSCL = create(Paths, VFS, Error)) in createOrDie() 65 ProfileList::ProfileList(ArrayRef<std::string> Paths, SourceManager &SM) in ProfileList() argument 67 Paths, SM.getFileManager().getVirtualFileSystem())), in ProfileList()
|
| H A D | SanitizerSpecialCaseList.cpp | 19 SanitizerSpecialCaseList::create(const std::vector<std::string> &Paths, in create() argument 24 if (SSCL->createInternal(Paths, VFS, Error)) { in create() 32 SanitizerSpecialCaseList::createOrDie(const std::vector<std::string> &Paths, in createOrDie() argument 35 if (auto SSCL = create(Paths, VFS, Error)) in createOrDie()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | FileCollector.cpp | 106 PathStorage Paths; in canonicalize() local 107 Paths.VirtualPath = SrcPath; in canonicalize() 108 makeAbsolute(Paths.VirtualPath); in canonicalize() 113 Paths.CopyFrom = Paths.VirtualPath; in canonicalize() 114 updateWithRealPath(Paths.CopyFrom); in canonicalize() 117 sys::path::remove_dots(Paths.VirtualPath, /*remove_dot_dot=*/true); in canonicalize() 119 return Paths; in canonicalize() 123 PathCanonicalizer::PathStorage Paths = Canonicalizer.canonicalize(SrcPath); in addFileImpl() local 126 sys::path::append(DstPath, sys::path::relative_path(Paths.CopyFrom)); in addFileImpl() 133 addFileToMapping(Paths.VirtualPath, DstPath); in addFileImpl()
|
| H A D | SpecialCaseList.cpp | 81 SpecialCaseList::create(const std::vector<std::string> &Paths, in create() argument 84 if (SCL->createInternal(Paths, FS, Error)) in create() 98 SpecialCaseList::createOrDie(const std::vector<std::string> &Paths, in createOrDie() argument 101 if (auto SCL = create(Paths, FS, Error)) in createOrDie() 106 bool SpecialCaseList::createInternal(const std::vector<std::string> &Paths, in createInternal() argument 108 for (size_t i = 0; i < Paths.size(); ++i) { in createInternal() 109 const auto &Path = Paths[i]; in createInternal()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | ModuleDependencyCollector.cpp | 144 llvm::FileCollector::PathCanonicalizer::PathStorage Paths = in copyToRoot() local 152 path::append(CacheDst, path::relative_path(Paths.CopyFrom)); in copyToRoot() 159 Paths.CopyFrom = Dst; in copyToRoot() 166 if (std::error_code EC = fs::copy_file(Paths.CopyFrom, CacheDst)) in copyToRoot() 174 addFileMapping(Paths.VirtualPath, CacheDst); in copyToRoot()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Automaton.h | 80 SmallVector<NfaPath, 4> Paths; 123 Paths.clear(); 140 Paths.clear(); 148 Paths.push_back(std::move(P)); in getPaths() 150 return Paths; in getPaths() 82 SmallVector<NfaPath, 4> Paths; global() variable
|
| H A D | SpecialCaseList.h | 77 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS, 86 createOrDie(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS); 113 LLVM_ABI bool createInternal(const std::vector<std::string> &Paths,
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-cov/ |
| H A D | CoverageReport.cpp | 139 unsigned getNumRedundantPathComponents(ArrayRef<std::string> Paths) { in getNumRedundantPathComponents() argument 142 SmallVector<StringRef, 8> FirstPathComponents{sys::path::begin(Paths[0]), in getNumRedundantPathComponents() 143 sys::path::end(Paths[0])}; in getNumRedundantPathComponents() 146 for (unsigned I = 1, E = Paths.size(); NumRedundant > 0 && I < E; ++I) { in getNumRedundantPathComponents() 147 StringRef Path = Paths[I]; in getNumRedundantPathComponents() 169 unsigned getRedundantPrefixLen(ArrayRef<std::string> Paths) { in getRedundantPrefixLen() argument 171 if (Paths.size() <= 1) in getRedundantPrefixLen() 175 unsigned NumRedundant = getNumRedundantPathComponents(Paths); in getRedundantPrefixLen() 176 auto Component = sys::path::begin(Paths[0]); in getRedundantPrefixLen() 189 unsigned getRedundantPrefixLen(ArrayRef<StringRef> Paths, unsigned LCP) { in getRedundantPrefixLen() argument [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | SanitizerSpecialCaseList.h | 36 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS, 40 createOrDie(const std::vector<std::string> &Paths,
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | RefCntblBaseVirtualDtorChecker.cpp | 288 CXXBasePaths Paths; in visitCXXRecordDecl() local 289 Paths.setOrigin(C); in visitCXXRecordDecl() 290 hasRef = hasRef || C->lookupInBases(hasPublicRefInBase, Paths, in visitCXXRecordDecl() 292 hasDeref = hasDeref || C->lookupInBases(hasPublicDerefInBase, Paths, in visitCXXRecordDecl() 313 Paths, /*LookupInDependent =*/true)) in visitCXXRecordDecl()
|
| H A D | PtrTypesSemantics.cpp | 81 CXXBasePaths Paths; in isSmartPtrCompatible() local 82 Paths.setOrigin(const_cast<CXXRecordDecl *>(R)); in isSmartPtrCompatible() 95 hasRef = hasRef || R->lookupInBases(hasPublicRefInBase, Paths, in isSmartPtrCompatible() 100 Paths.clear(); in isSmartPtrCompatible() 110 hasDeref = hasDeref || R->lookupInBases(hasPublicDerefInBase, Paths, in isSmartPtrCompatible()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemorySSA.cpp | 521 SmallVector<DefPath, 32> Paths; member in __anon72856b230511::ClobberWalker 596 auto UpwardDefsBegin = upward_defs_begin({Phi, Paths[PriorNode].Loc}, DT); in addSearches() 599 PausedSearches.push_back(Paths.size()); in addSearches() 600 Paths.emplace_back(P.second, P.first, PriorNode); in addSearches() 632 DefPath &Node = Paths[PathIndex]; in getBlockingAccess() 716 T &curNode() const { return W->Paths[*N]; } in curNode() 746 assert(!Paths.empty() && NP >= &Paths.front() && NP <= &Paths.back() && in defPathIndex() 748 return NP - &Paths.front(); in defPathIndex() 766 assert(Paths.empty() && VisitedPhis.empty() && in tryOptimizePhi() 769 Paths.emplace_back(Loc, Start, Phi, std::nullopt); in tryOptimizePhi() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Debuginfod/ |
| H A D | Debuginfod.h | 125 SmallVector<std::string, 1> Paths; variable 147 DebuginfodCollection(ArrayRef<StringRef> Paths, DebuginfodLog &Log,
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | HeuristicResolver.cpp | 468 CXXBasePaths Paths; in lookupDependentName() local 469 Paths.setOrigin(RD); in lookupDependentName() 474 Paths, /*LookupInDependent=*/true)) in lookupDependentName() 476 for (DeclContext::lookup_iterator I = Paths.front().Decls, E = I.end(); in lookupDependentName()
|