Home
last modified time | relevance | path

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

1234

/freebsd-13.1/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DHurd.cpp79 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 DLinux.cpp260 path_list &Paths = getFilePaths(); in Linux() local
267 addPathIfExists(D, SysRoot + "/lib/" + MultiarchTriple, Paths); in Linux()
268 addPathIfExists(D, SysRoot + "/lib/../" + OSLibDir, Paths); in Linux()
281 Paths); in Linux()
284 addPathIfExists(D, SysRoot + "/usr/lib/" + MultiarchTriple, Paths); in Linux()
290 addPathIfExists(D, SysRoot + "/usr/" + OSLibDir, Paths); in Linux()
292 addPathIfExists(D, SysRoot + "/usr/lib/../" + OSLibDir, Paths); in Linux()
299 Generic_GCC::AddMultiarchPaths(D, SysRoot, OSLibDir, Paths); in Linux()
307 addPathIfExists(D, D.Dir + "/../lib", Paths); in Linux()
309 addPathIfExists(D, SysRoot + "/lib", Paths); in Linux()
[all …]
H A DSolaris.cpp182 path_list &Paths = getFilePaths(); in Solaris() local
189 Paths); in Solaris()
190 addPathIfExists(D, GCCInstallation.getParentLibPath() + LibSuffix, Paths); in Solaris()
196 addPathIfExists(D, D.Dir + "/../lib", Paths); in Solaris()
198 addPathIfExists(D, D.SysRoot + "/usr/lib" + LibSuffix, Paths); in Solaris()
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()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DCXXInheritance.cpp48 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 …]
H A DVTableBuilder.cpp260 CXXBasePaths Paths(/*FindAmbiguities=*/false, in ComputeBaseOffset() local
1221 for (const CXXBasePath &Path : Paths) { in ComputeThisAdjustmentBaseOffset()
2694 CXXBasePaths Paths; in ComputeThisOffset() local
2699 Paths); in ComputeThisOffset()
2710 for (const CXXBasePath &Path : Paths) { in ComputeThisOffset()
3299 assert(Paths.empty()); in computeVTablePaths()
3354 Paths.push_back(std::move(P)); in computeVTablePaths()
3370 Changed = rebucketPaths(Paths); in computeVTablePaths()
3390 PathsSorted.reserve(Paths.size()); in rebucketPaths()
3391 for (auto& P : Paths) in rebucketPaths()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DProfileList.cpp28 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 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()
/freebsd-13.1/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()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DLookup.h186 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()
479 if (Paths) { in resolveKindAfterFilter()
481 Paths = nullptr; in resolveKindAfterFilter()
501 Paths = nullptr; in resolveKindAfterFilter()
557 if (Paths) deletePaths(Paths); in clear()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DReplaceConstant.cpp61 auto &Paths = CEPaths[&U]; in convertConstantExprsToInstructions() local
62 for (auto &Path : Paths) { in convertConstantExprsToInstructions()
88 std::vector<std::vector<ConstantExpr *>> Paths; in collectConstantExprPaths() local
99 Paths.push_back(TPath); in collectConstantExprPaths()
113 if (!Paths.empty()) in collectConstantExprPaths()
114 CEPaths[&U] = Paths; in collectConstantExprPaths()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DCXXInheritance.h125 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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DFileCollector.cpp104 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 DSpecialCaseList.cpp74 SpecialCaseList::create(const std::vector<std::string> &Paths, in create() argument
77 if (SCL->createInternal(Paths, FS, Error)) in create()
91 SpecialCaseList::createOrDie(const std::vector<std::string> &Paths, in createOrDie() argument
94 if (auto SCL = create(Paths, FS, Error)) in createOrDie()
99 bool SpecialCaseList::createInternal(const std::vector<std::string> &Paths, in createInternal() argument
102 for (const auto &Path : Paths) { in createInternal()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/IndexSerialization/
H A DSerializablePathCollection.h81 StringPool Paths;
90 PathPool Paths; variable
104 llvm::StringRef getPathsBuffer() const { return Paths.getPaths(); } in getPathsBuffer()
109 return Paths.getFilePaths(); in getFilePaths()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DModuleDependencyCollector.cpp162 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()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DAutomaton.h82 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 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,
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/
H A DInterpolatingCompilationDatabase.cpp325 Paths.reserve(OriginalPaths.size()); in FileIndex()
331 Paths.emplace_back(Path, I); in FileIndex()
339 llvm::sort(Paths); in FileIndex()
344 bool empty() const { return Paths.empty(); } in empty()
410 Award(1, indexLookup</*Prefix=*/true>(Prefix, Paths)); in scoreCandidates()
439 S.PrefixLength = matchingPrefix(Filename, Paths[S.Index].first); in pickWinner()
450 S.PrefixLength = matchingPrefix(Filename, Paths[S.Index].first); in pickWinner()
456 return {longestMatch(Filename, Paths).second, 0}; in pickWinner()
493 std::vector<SubstringAndIndex> Paths; // Full path. member in clang::tooling::__anon893e7f6d0111::FileIndex
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageReport.cpp122 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()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp65 CXXBasePaths Paths; in visitCXXRecordDecl() local
66 Paths.setOrigin(RD); in visitCXXRecordDecl()
94 if (RD->lookupInBases(IsPublicBaseRefCntblWOVirtualDtor, Paths, in visitCXXRecordDecl()
H A DPtrTypesSemantics.cpp75 CXXBasePaths Paths; in isRefCountable() local
76 Paths.setOrigin(const_cast<CXXRecordDecl *>(R)); in isRefCountable()
90 bool BasesResult = R->lookupInBases(isRefCountableBase, Paths, in isRefCountable()
/freebsd-13.1/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,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSA.cpp518 SmallVector<DefPath, 32> Paths; member in __anon487f31d70511::ClobberWalker
604 PausedSearches.push_back(Paths.size()); in addSearches()
636 DefPath &Node = Paths[PathIndex]; in getBlockingAccess()
758 assert(!Paths.empty() && NP >= &Paths.front() && NP <= &Paths.back() && in defPathIndex()
760 return NP - &Paths.front(); in defPathIndex()
781 Paths.emplace_back(Loc, Start, Phi, None); in tryOptimizePhi()
784 auto PriorPathsSize = Paths.size(); in tryOptimizePhi()
796 auto Dom = Paths.begin(); in tryOptimizePhi()
800 auto Last = Paths.end() - 1; in tryOptimizePhi()
915 PriorPathsSize = Paths.size(); in tryOptimizePhi()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp1516 Self.BuildBasePathArray(Paths, BasePath); in TryLValueToRValueCast()
1646 if (!Paths.isRecordingPaths()) { in TryStaticDowncast()
1647 Paths.clear(); in TryStaticDowncast()
1648 Paths.setRecordingPaths(true); in TryStaticDowncast()
1653 for (clang::CXXBasePath &Path : Paths) { in TryStaticDowncast()
1672 if (Paths.getDetectedVirtual() != nullptr) { in TryStaticDowncast()
1683 Paths.front(), in TryStaticDowncast()
1696 Self.BuildBasePathArray(Paths, BasePath); in TryStaticDowncast()
1759 Paths.clear(); in TryStaticMemberPointerUpcast()
1760 Paths.setRecordingPaths(true); in TryStaticMemberPointerUpcast()
[all …]

1234