/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | CXXInheritance.cpp | 48 Paths.clear(); in clear() 59 Paths.swap(Other.Paths); in swap() 69 CXXBasePaths Paths(/*FindAmbiguities=*/false, /*RecordPaths=*/false, in isDerivedFrom() local 71 return isDerivedFrom(Base, Paths); in isDerivedFrom() 75 CXXBasePaths &Paths) const { in isDerivedFrom() 79 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 …]
|
H A D | VTableBuilder.cpp | 260 CXXBasePaths Paths(/*FindAmbiguities=*/false, in ComputeBaseOffset() local 263 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in ComputeBaseOffset() 266 return ComputeBaseOffset(Context, DerivedRD, Paths.front()); in ComputeBaseOffset() 1213 CXXBasePaths Paths(/*FindAmbiguities=*/true, in ComputeThisAdjustmentBaseOffset() local 1216 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in ComputeThisAdjustmentBaseOffset() 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() 3273 static bool rebucketPaths(VPtrInfoVector &Paths); [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/ |
H A D | Hurd.cpp | 79 path_list &Paths = getFilePaths(); in Hurd() local 88 Generic_GCC::AddMultilibPaths(D, SysRoot, OSLibDir, MultiarchTriple, Paths); in Hurd() 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() [all …]
|
H A D | Linux.cpp | 261 path_list &Paths = getFilePaths(); in Linux() local 266 Generic_GCC::AddMultilibPaths(D, SysRoot, OSLibDir, MultiarchTriple, Paths); in Linux() 268 addPathIfExists(D, SysRoot + "/lib/" + MultiarchTriple, Paths); in Linux() 269 addPathIfExists(D, SysRoot + "/lib/../" + OSLibDir, Paths); in Linux() 282 Paths); in Linux() 285 addPathIfExists(D, SysRoot + "/usr/lib/" + MultiarchTriple, Paths); in Linux() 291 addPathIfExists(D, SysRoot + "/usr/" + OSLibDir, Paths); in Linux() 293 addPathIfExists(D, SysRoot + "/usr/lib/../" + OSLibDir, Paths); in Linux() 296 addPathIfExists(D, SysRoot + "/" + OSLibDir + "/" + ABIName, Paths); in Linux() 297 addPathIfExists(D, SysRoot + "/usr/" + OSLibDir + "/" + ABIName, Paths); in Linux() [all …]
|
H A D | Solaris.cpp | 182 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 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()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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() 479 if (Paths) { in resolveKindAfterFilter() 480 deletePaths(Paths); in resolveKindAfterFilter() 481 Paths = nullptr; in resolveKindAfterFilter() 499 } else if (Paths) { in resolveKindAfterFilter() [all …]
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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 | 74 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()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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 | 74 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,
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/ |
H A D | InterpolatingCompilationDatabase.cpp | 334 Paths.reserve(OriginalPaths.size()); in FileIndex() 340 Paths.emplace_back(Path, I); in FileIndex() 348 llvm::sort(Paths); in FileIndex() 353 bool empty() const { return Paths.empty(); } in empty() 419 Award(1, indexLookup</*Prefix=*/true>(Prefix, Paths)); in scoreCandidates() 448 S.PrefixLength = matchingPrefix(Filename, Paths[S.Index].first); in pickWinner() 459 S.PrefixLength = matchingPrefix(Filename, Paths[S.Index].first); in pickWinner() 465 return {longestMatch(Filename, Paths).second, 0}; in pickWinner() 502 std::vector<SubstringAndIndex> Paths; // Full path. member in clang::tooling::__anon983895e40111::FileIndex
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | MemorySSA.cpp | 518 SmallVector<DefPath, 32> Paths; member in __anonc967e22e0511::ClobberWalker 600 auto UpwardDefsBegin = upward_defs_begin({Phi, Paths[PriorNode].Loc}, DT, in addSearches() 604 PausedSearches.push_back(Paths.size()); in addSearches() 605 Paths.emplace_back(P.second, P.first, PriorNode); in addSearches() 636 DefPath &Node = Paths[PathIndex]; in getBlockingAccess() 728 T &curNode() const { return W->Paths[*N]; } in curNode() 758 assert(!Paths.empty() && NP >= &Paths.front() && NP <= &Paths.back() && in defPathIndex() 760 return NP - &Paths.front(); in defPathIndex() 778 assert(Paths.empty() && VisitedPhis.empty() && !PerformedPhiTranslation && in tryOptimizePhi() 781 Paths.emplace_back(Loc, Start, Phi, None); in tryOptimizePhi() [all …]
|
/netbsd-src/external/apache2/llvm/dist/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,
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaCast.cpp | 1500 CXXBasePaths Paths(/*FindAmbiguities=*/true, /*RecordPaths=*/true, in TryLValueToRValueCast() local 1503 R->getPointeeType(), Paths)) in TryLValueToRValueCast() 1506 Self.BuildBasePathArray(Paths, BasePath); in TryLValueToRValueCast() 1601 CXXBasePaths Paths(/*FindAmbiguities=*/true, /*RecordPaths=*/true, in TryStaticDowncast() local 1603 if (!Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths)) { in TryStaticDowncast() 1631 if (Paths.isAmbiguous(SrcType.getUnqualifiedType())) { in TryStaticDowncast() 1636 if (!Paths.isRecordingPaths()) { in TryStaticDowncast() 1637 Paths.clear(); in TryStaticDowncast() 1638 Paths.setRecordingPaths(true); in TryStaticDowncast() 1639 Self.IsDerivedFrom(OpRange.getBegin(), DestType, SrcType, Paths); in TryStaticDowncast() [all …]
|
H A D | SemaLookup.cpp | 338 assert((Paths != nullptr) == (ResultKind == Ambiguous && in sanity() 345 void LookupResult::deletePaths(CXXBasePaths *Paths) { in deletePaths() argument 346 delete Paths; in deletePaths() 647 Paths = new CXXBasePaths; in setAmbiguousBaseSubobjects() 648 Paths->swap(P); in setAmbiguousBaseSubobjects() 649 addDeclsFromBasePaths(*Paths); in setAmbiguousBaseSubobjects() 655 Paths = new CXXBasePaths; in setAmbiguousBaseSubobjectTypes() 656 Paths->swap(P); in setAmbiguousBaseSubobjectTypes() 657 addDeclsFromBasePaths(*Paths); in setAmbiguousBaseSubobjectTypes() 665 if (Paths) Out << ", base paths present"; in print() [all …]
|