Home
last modified time | relevance | path

Searched refs:Paths (Results 1 – 25 of 81) sorted by relevance

1234

/src/contrib/llvm-project/clang/lib/AST/
H A DCXXInheritance.cpp47 Paths.clear(); in clear()
58 Paths.swap(Other.Paths); in swap()
68 CXXBasePaths Paths(/*FindAmbiguities=*/false, /*RecordPaths=*/false, in isDerivedFrom() local
70 return isDerivedFrom(Base, Paths); in isDerivedFrom()
74 CXXBasePaths &Paths) const { in isDerivedFrom()
78 Paths.setOrigin(const_cast<CXXRecordDecl*>(this)); in isDerivedFrom()
86 Paths); in isDerivedFrom()
93 CXXBasePaths Paths(/*FindAmbiguities=*/false, /*RecordPaths=*/false, in isVirtuallyDerivedFrom() local
99 Paths.setOrigin(const_cast<CXXRecordDecl*>(this)); in isVirtuallyDerivedFrom()
106 Paths); in isVirtuallyDerivedFrom()
[all …]
/src/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DHurd.cpp87 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 DOHOS.cpp158 path_list &Paths = getFilePaths(); in OHOS() local
162 Paths); in OHOS()
166 Paths); in OHOS()
171 Paths); in OHOS()
287 path_list Paths; in getRuntimePaths() local
294 Paths.push_back(P.c_str()); in getRuntimePaths()
299 Paths.push_back(P.c_str()); in getRuntimePaths()
306 Paths.push_back(P.c_str()); in getRuntimePaths()
308 return Paths; in getRuntimePaths()
408 ToolChain::path_list Paths; in getArchSpecificLibPaths() local
[all …]
H A DLinux.cpp305 path_list &Paths = getFilePaths(); in Linux() local
313 Generic_GCC::AddMultilibPaths(D, SysRoot, "libo32", MultiarchTriple, Paths); in Linux()
314 addPathIfExists(D, concat(SysRoot, "/libo32"), Paths); in Linux()
315 addPathIfExists(D, concat(SysRoot, "/usr/libo32"), Paths); in Linux()
317 Generic_GCC::AddMultilibPaths(D, SysRoot, OSLibDir, MultiarchTriple, Paths); in Linux()
319 addPathIfExists(D, concat(SysRoot, "/lib", MultiarchTriple), Paths); in Linux()
320 addPathIfExists(D, concat(SysRoot, "/lib/..", OSLibDir), Paths); in Linux()
330 Paths); in Linux()
333 addPathIfExists(D, concat(SysRoot, "/usr/lib", MultiarchTriple), Paths); in Linux()
339 addPathIfExists(D, concat(SysRoot, "/usr", OSLibDir), Paths); in Linux()
[all …]
H A DCSKYToolChain.cpp28 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 DRISCVToolchain.cpp28 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()
H A DSolaris.cpp316 path_list &Paths = getFilePaths(); in Solaris() local
323 Paths); in Solaris()
324 addPathIfExists(D, GCCInstallation.getParentLibPath() + LibSuffix, Paths); in Solaris()
330 addPathIfExists(D, D.Dir + "/../lib", Paths); in Solaris()
332 addPathIfExists(D, D.SysRoot + "/usr/lib" + LibSuffix, Paths); in Solaris()
/src/contrib/llvm-project/clang/lib/IndexSerialization/
H A DSerializablePathCollection.cpp25 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()
/src/contrib/llvm-project/clang/include/clang/Sema/
H A DLookup.h201 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 …]
/src/contrib/llvm-project/clang/lib/Basic/
H A DProfileList.cpp29 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS,
33 createOrDie(const std::vector<std::string> &Paths,
47 ProfileSpecialCaseList::create(const std::vector<std::string> &Paths, in create() argument
51 if (PSCL->createInternal(Paths, VFS, Error)) in create()
57 ProfileSpecialCaseList::createOrDie(const std::vector<std::string> &Paths, in createOrDie() argument
60 if (auto PSCL = create(Paths, VFS, Error)) in createOrDie()
67 ProfileList::ProfileList(ArrayRef<std::string> Paths, SourceManager &SM) in ProfileList() argument
69 Paths, SM.getFileManager().getVirtualFileSystem())), in ProfileList()
H A DSanitizerSpecialCaseList.cpp18 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()
/src/contrib/llvm-project/clang/include/clang/AST/
H A DCXXInheritance.h124 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()
/src/contrib/llvm-project/llvm/lib/Support/
H A DFileCollector.cpp106 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 DSpecialCaseList.cpp82 SpecialCaseList::create(const std::vector<std::string> &Paths, in create() argument
85 if (SCL->createInternal(Paths, FS, Error)) in create()
99 SpecialCaseList::createOrDie(const std::vector<std::string> &Paths, in createOrDie() argument
102 if (auto SCL = create(Paths, FS, Error)) in createOrDie()
107 bool SpecialCaseList::createInternal(const std::vector<std::string> &Paths, in createInternal() argument
109 for (const auto &Path : Paths) { in createInternal()
/src/contrib/llvm-project/clang/include/clang/IndexSerialization/
H A DSerializablePathCollection.h80 StringPool Paths;
89 PathPool Paths; variable
103 llvm::StringRef getPathsBuffer() const { return Paths.getPaths(); } in getPathsBuffer()
108 return Paths.getFilePaths(); in getFilePaths()
/src/contrib/llvm-project/clang/lib/Frontend/
H A DModuleDependencyCollector.cpp145 llvm::FileCollector::PathCanonicalizer::PathStorage Paths = in copyToRoot() local
153 path::append(CacheDst, path::relative_path(Paths.CopyFrom)); in copyToRoot()
160 Paths.CopyFrom = Dst; in copyToRoot()
167 if (std::error_code EC = fs::copy_file(Paths.CopyFrom, CacheDst)) in copyToRoot()
175 addFileMapping(Paths.VirtualPath, CacheDst); in copyToRoot()
/src/contrib/llvm-project/llvm/include/llvm/Support/
H A DAutomaton.h80 SmallVector<NfaPath, 4> Paths; variable
123 Paths.clear(); in reset()
140 Paths.clear(); in getPaths()
148 Paths.push_back(std::move(P)); in getPaths()
150 return Paths; in getPaths()
H A DSpecialCaseList.h74 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS,
83 createOrDie(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS);
109 bool createInternal(const std::vector<std::string> &Paths,
/src/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageReport.cpp139 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 …]
/src/contrib/llvm-project/clang/lib/Tooling/
H A DInterpolatingCompilationDatabase.cpp322 Paths.reserve(OriginalPaths.size()); in FileIndex()
328 Paths.emplace_back(Path, I); in FileIndex()
336 llvm::sort(Paths); in FileIndex()
341 bool empty() const { return Paths.empty(); } in empty()
407 Award(1, indexLookup</*Prefix=*/true>(Prefix, Paths)); in scoreCandidates()
436 S.PrefixLength = matchingPrefix(Filename, Paths[S.Index].first); in pickWinner()
447 S.PrefixLength = matchingPrefix(Filename, Paths[S.Index].first); in pickWinner()
453 return {longestMatch(Filename, Paths).second, 0}; in pickWinner()
490 std::vector<SubstringAndIndex> Paths; // Full path. member in clang::tooling::__anon9618e36e0111::FileIndex
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp248 CXXBasePaths Paths; in visitCXXRecordDecl() local
249 Paths.setOrigin(C); in visitCXXRecordDecl()
250 hasRef = hasRef || C->lookupInBases(hasPublicRefInBase, Paths, in visitCXXRecordDecl()
252 hasDeref = hasDeref || C->lookupInBases(hasPublicDerefInBase, Paths, in visitCXXRecordDecl()
273 Paths, /*LookupInDependent =*/true)) in visitCXXRecordDecl()
H A DPtrTypesSemantics.cpp69 CXXBasePaths Paths; in isRefCountable() local
70 Paths.setOrigin(const_cast<CXXRecordDecl *>(R)); in isRefCountable()
83 hasRef = hasRef || R->lookupInBases(hasPublicRefInBase, Paths, in isRefCountable()
88 Paths.clear(); in isRefCountable()
98 hasDeref = hasDeref || R->lookupInBases(hasPublicDerefInBase, Paths, in isRefCountable()
/src/contrib/llvm-project/clang/include/clang/Basic/
H A DSanitizerSpecialCaseList.h35 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS,
39 createOrDie(const std::vector<std::string> &Paths,
/src/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSA.cpp521 SmallVector<DefPath, 32> Paths; member in __anon66a062f80511::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 …]
/src/contrib/llvm-project/llvm/include/llvm/Debuginfod/
H A DDebuginfod.h125 SmallVector<std::string, 1> Paths; variable
147 DebuginfodCollection(ArrayRef<StringRef> Paths, DebuginfodLog &Log,

1234