| /llvm-project-15.0.7/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | SymbolOccurrences.cpp | 17 ArrayRef<SourceLocation> Locations) in SymbolOccurrence() argument 20 assert(Locations.size() == NamePieces.size() && in SymbolOccurrence() 22 assert(!Locations.empty() && "no locations"); in SymbolOccurrence() 23 if (Locations.size() == 1) { in SymbolOccurrence() 25 Locations[0], Locations[0].getLocWithOffset(NamePieces[0].size())); in SymbolOccurrence() 28 MultipleRanges = std::make_unique<SourceRange[]>(Locations.size()); in SymbolOccurrence() 29 NumRanges = Locations.size(); in SymbolOccurrence() 30 for (const auto &Loc : llvm::enumerate(Locations)) { in SymbolOccurrence()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/ |
| H A D | LookupResult.cpp | 22 if (Index < Locations.size()) { in getSourceFile() 23 if (!Locations[Index].Dir.empty()) { in getSourceFile() 24 if (Locations[Index].Base.empty()) { in getSourceFile() 25 Fullpath = std::string(Locations[Index].Dir); in getSourceFile() 28 llvm::sys::path::append(Storage, Locations[Index].Dir, in getSourceFile() 29 Locations[Index].Base); in getSourceFile() 32 } else if (!Locations[Index].Base.empty()) in getSourceFile() 33 Fullpath = std::string(Locations[Index].Base); in getSourceFile() 62 auto NumLocations = LR.Locations.size(); in operator <<() 69 OS << LR.Locations[I]; in operator <<()
|
| H A D | DwarfTransformer.cpp | 545 NumDwarfInlineInfos != LR->Locations.size()) { in verify() 548 << LR->Locations.size() << "\n"; in verify() 555 Log << " " << LR->Locations.size() << " GSYM frames:\n"; in verify() 556 for (size_t Idx = 0, count = LR->Locations.size(); in verify() 558 const auto &gii = LR->Locations[Idx]; in verify() 567 for (size_t Idx = 0, count = LR->Locations.size(); Idx < count; in verify() 569 const auto &gii = LR->Locations[Idx]; in verify()
|
| H A D | FunctionInfo.cpp | 225 LR.Locations.push_back(SrcLoc); in lookup() 241 LR.Locations.push_back(SrcLoc); in lookup() 248 LR.Locations); in lookup()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | StatepointLowering.h | 51 auto I = Locations.find(Val); in getLocation() 52 if (I == Locations.end()) in getLocation() 58 assert(!Locations.count(Val) && in setLocation() 60 Locations[Val] = Location; in setLocation() 109 DenseMap<SDValue, SDValue> Locations;
|
| H A D | InstrEmitter.h | 114 ArrayRef<SDDbgOperand> Locations,
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | StackMaps.cpp | 271 const LocationVec &CSLocs = CSI.Locations; in print() 400 unsigned NumDeoptArgs = Locations.back().Offset; in parseStatepointOpers() 401 assert(Locations.back().Type == Location::Constant); in parseStatepointOpers() 405 MOI = parseOperand(MOI, MOE, Locations, LiveOuts); in parseStatepointOpers() 452 MOI = parseOperand(MOI, MOE, Locations, LiveOuts); in parseStatepointOpers() 464 LocationVec Locations; in recordStackMapOpers() local 478 MOI = parseOperand(MOI, MOE, Locations, LiveOuts); in recordStackMapOpers() 481 for (auto &Loc : Locations) { in recordStackMapOpers() 545 auto &Locations = CSInfos.back().Locations; in recordPatchPoint() local 549 assert(Locations[i].Type == Location::Register && in recordPatchPoint() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | XRefsTests.cpp | 1495 auto Locations = in TEST() local 1505 *Locations, in TEST() 1512 EXPECT_THAT(*Locations, in TEST() 1547 ASSERT_TRUE(bool(Locations)) << "locateSymbolAt returned an error"; in TEST() 1553 ASSERT_TRUE(bool(Locations)) << "locateSymbolAt returned an error"; in TEST() 1558 ASSERT_TRUE(bool(Locations)) << "locateSymbolAt returned an error"; in TEST() 1564 ASSERT_TRUE(bool(Locations)) << "locateSymbolAt returned an error"; in TEST() 1570 ASSERT_TRUE(bool(Locations)) << "locateSymbolAt returned an error"; in TEST() 1571 EXPECT_THAT(*Locations, IsEmpty()); in TEST() 1574 ASSERT_TRUE(bool(Locations)) << "locateSymbolAt returned an error"; in TEST() [all …]
|
| H A D | ClangdTests.cpp | 551 auto Locations = runLocateSymbolAt(Server, FooCpp, FooSource.point()); in TEST() local 552 EXPECT_TRUE(bool(Locations)); in TEST() 553 EXPECT_THAT(*Locations, ElementsAre(DeclAt(FooCpp, FooSource.range("one")))); in TEST() 566 Locations = runLocateSymbolAt(Server, FooCpp, FooSource.point()); in TEST() 567 EXPECT_TRUE(bool(Locations)); in TEST() 568 EXPECT_THAT(*Locations, ElementsAre(DeclAt(FooCpp, FooSource.range("two")))); in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFDebugFrame.h | 181 std::map<uint32_t, UnwindLocation> Locations; variable 191 auto Pos = Locations.find(RegNum); in getRegisterLocation() 192 if (Pos == Locations.end()) in getRegisterLocation() 203 Locations.erase(RegNum); in setRegisterLocation() 204 Locations.insert(std::make_pair(RegNum, Location)); in setRegisterLocation() 210 void removeRegisterLocation(uint32_t RegNum) { Locations.erase(RegNum); } in removeRegisterLocation() 226 bool hasLocations() const { return !Locations.empty(); } in hasLocations() 228 size_t size() const { return Locations.size(); } in size() 231 return Locations == RHS.Locations;
|
| H A D | DWARFDebugLoc.h | 105 LocationLists Locations; variable
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | StackMaps.h | 315 LocationVec Locations; member 320 LocationVec &&Locations, LiveOutVec &&LiveOuts) in CallsiteInfo() 321 : CSOffsetExpr(CSOffsetExpr), ID(ID), Locations(std::move(Locations)), in CallsiteInfo() 371 LocationVec &Locations, LiveOutVec &LiveOuts);
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Initialization.h | 615 SourceLocation Locations[3]; variable 620 Locations[0] = Loc1; in InitializationKind() 621 Locations[1] = Loc2; in InitializationKind() 622 Locations[2] = Loc3; in InitializationKind() 741 SourceLocation getLocation() const { return Locations[0]; } in getLocation() 745 return SourceRange(Locations[0], Locations[2]); in getRange() 752 return Locations[1]; in getEqualLoc() 782 return SourceRange(Locations[1], Locations[2]); in getParenOrBraceRange()
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | InstrProfCorrelator.cpp | 185 auto Locations = Die.getLocations(dwarf::DW_AT_location); in getLocation() local 186 if (!Locations) { in getLocation() 187 consumeError(Locations.takeError()); in getLocation() 192 for (auto &Location : *Locations) { in getLocation()
|
| /llvm-project-15.0.7/llvm/unittests/DebugInfo/GSYM/ |
| H A D | GSYMTest.cpp | 1232 EXPECT_THAT(LR->Locations, in TEST() 1236 EXPECT_THAT(LR->Locations, in TEST() 1242 EXPECT_THAT(LR->Locations, in TEST() 1248 EXPECT_THAT(LR->Locations, in TEST() 1255 EXPECT_THAT(LR->Locations, in TEST() 1261 EXPECT_THAT(LR->Locations, in TEST() 1268 EXPECT_THAT(LR->Locations, in TEST() 1274 EXPECT_THAT(LR->Locations, in TEST() 1847 EXPECT_THAT(LR->Locations, in TEST() 1851 EXPECT_THAT(LR->Locations, in TEST() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Refactoring/Rename/ |
| H A D | SymbolOccurrences.h | 64 ArrayRef<SourceLocation> Locations);
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/GSYM/ |
| H A D | LookupResult.h | 51 SourceLocations Locations; member
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | Sarif.h | 258 llvm::SmallVector<CharSourceRange, 8> Locations; variable 289 Locations.assign(DiagLocs.begin(), DiagLocs.end()); in setLocations()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | PromoteMemoryToRegister.cpp | 164 : BB(B), Pred(P), Values(std::move(V)), Locations(std::move(L)) {} in RenamePassData() 169 LocationVector Locations; member 654 RenamePassData::LocationVector Locations(Allocas.size()); in run() local 660 std::move(Locations)); in run() 665 RenamePass(RPD.BB, RPD.Pred, RPD.Values, RPD.Locations, RenamePassWorkList); in run()
|
| H A D | Debugify.cpp | 46 Locations, enumerator 52 cl::values(clEnumValN(Level::Locations, "locations", "Locations only"), 333 if (DebugifyLevel > Level::Locations) { in collectDebugInfoMetadata() 572 if (DebugifyLevel > Level::Locations) { in checkDebugInfoMetadata()
|
| /llvm-project-15.0.7/clang/tools/c-index-test/ |
| H A D | c-index-test.c | 2823 CursorSourceLocation *Locations = 0; in inspect_cursor_at() local 2834 Locations = (CursorSourceLocation *)malloc( in inspect_cursor_at() 2836 assert(Locations); in inspect_cursor_at() 2885 CXFile file = clang_getFile(TU, Locations[Loc].filename); in inspect_cursor_at() 2898 free(Locations[Loc].filename); in inspect_cursor_at() 2906 free(Locations); in inspect_cursor_at() 3117 CursorSourceLocation *Locations = 0; in find_file_refs_at() local 3128 Locations = (CursorSourceLocation *)malloc( in find_file_refs_at() 3130 assert(Locations); in find_file_refs_at() 3196 free(Locations[Loc].filename); in find_file_refs_at() [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | SarifDiagnostics.cpp | 260 json::Array Locations; in createThreadFlow() local 263 Locations.push_back(createThreadFlowLocation( in createThreadFlow() 271 return json::Object{{"locations", std::move(Locations)}}; in createThreadFlow()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | IntrinsicInst.cpp | 116 auto Locations = location_ops(); in replaceVariableLocationOp() local 117 auto OldIt = find(Locations, OldValue); in replaceVariableLocationOp() 118 assert(OldIt != Locations.end() && "OldValue must be a current location"); in replaceVariableLocationOp() 128 for (auto *VMD : Locations) in replaceVariableLocationOp()
|
| /llvm-project-15.0.7/clang/test/VFS/Inputs/ |
| H A D | vfsroot.yaml | 46 # Locations for modules.
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | Sarif.cpp | 364 if (!Result.Locations.empty()) { in appendResult() 366 for (auto &Range : Result.Locations) { in appendResult()
|