| /freebsd/contrib/llvm-project/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()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
| H A D | LookupResult.cpp | 20 if (Index < Locations.size()) { in getSourceFile() 21 if (!Locations[Index].Dir.empty()) { in getSourceFile() 22 if (Locations[Index].Base.empty()) { in getSourceFile() 23 Fullpath = std::string(Locations[Index].Dir); in getSourceFile() 26 llvm::sys::path::append(Storage, Locations[Index].Dir, in getSourceFile() 27 Locations[Index].Base); in getSourceFile() 30 } else if (!Locations[Index].Base.empty()) in getSourceFile() 31 Fullpath = std::string(Locations[Index].Base); in getSourceFile() 60 auto NumLocations = LR.Locations.size(); in operator <<() 67 OS << LR.Locations[I]; in operator <<()
|
| H A D | GsymContext.cpp | 80 if (Result.Locations.empty()) { in getLineInfoForAddress() 86 } else if (!fillLineInfoFromLocation(Result.Locations.front(), Specifier, in getLineInfoForAddress() 145 for (const auto &Location : Result.Locations) { in getInliningInfoForAddress()
|
| H A D | DwarfTransformer.cpp | 752 NumDwarfInlineInfos != LR->Locations.size()) { in verify() 757 << LR->Locations.size() << "\n"; in verify() 764 Log << " " << LR->Locations.size() << " GSYM frames:\n"; in verify() 765 for (size_t Idx = 0, count = LR->Locations.size(); Idx < count; in verify() 767 const auto &gii = LR->Locations[Idx]; in verify() 776 for (size_t Idx = 0, count = LR->Locations.size(); Idx < count; in verify() 778 const auto &gii = LR->Locations[Idx]; in verify()
|
| H A D | FunctionInfo.cpp | 334 LR.Locations.push_back(SrcLoc); in lookup() 350 LR.Locations.push_back(SrcLoc); in lookup() 357 LR.Locations); in lookup()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
| H A D | LVSymbol.cpp | 68 if (!Locations) in addLocation() 69 Locations = std::make_unique<LVLocations>(); in addLocation() 78 Locations->push_back(CurrentLocation); in addLocation() 114 LVLocations::iterator Iter = Locations->insert(Pos, Gap); in addLocationGap() 144 for (LVLocations::iterator Iter = Locations->begin(); in fillLocationGaps() 145 Iter != Locations->end(); ++Iter) { in fillLocationGaps() 161 addLocationGap(Locations->end(), Marker, ParentHighPC); in fillLocationGaps() 168 if (!Locations) in getLocations() 171 for (LVLocation *Location : *Locations) { in getLocations() 182 if (!Locations) in getLocations() [all …]
|
| H A D | LVLocation.cpp | 496 bool LVLocation::calculateCoverage(LVLocations *Locations, unsigned &Factor, in calculateCoverage() argument 498 if (!options().getAttributeCoverage() && !Locations) in calculateCoverage() 503 if (Locations->size() == 1) { in calculateCoverage() 505 LVLocation *Location = Locations->front(); in calculateCoverage() 519 for (const LVLocation *Location : *Locations) in calculateCoverage() 621 void LVLocation::print(LVLocations *Locations, raw_ostream &OS, bool Full) { in print() argument 622 if (!Locations || Locations->empty()) in print() 629 LVLocation *Location = Locations->front(); in print() 647 for (const LVLocation *Location : *Locations) in print()
|
| H A D | LVRange.cpp | 72 if (const LVLocations *Locations = Scope->getRanges()) in addEntry() local 73 for (const LVLocation *Location : *Locations) { in addEntry()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/LowLevel/ |
| H A D | DWARFUnwindTable.h | 167 std::map<uint32_t, UnwindLocation> Locations; variable 177 auto Pos = Locations.find(RegNum); in getRegisterLocation() 178 if (Pos == Locations.end()) in getRegisterLocation() 185 for (auto &&[Register, _] : Locations) in getRegisters() 196 Locations.erase(RegNum); in setRegisterLocation() 197 Locations.insert(std::make_pair(RegNum, Location)); in setRegisterLocation() 203 void removeRegisterLocation(uint32_t RegNum) { Locations.erase(RegNum); } in removeRegisterLocation() 206 bool hasLocations() const { return !Locations.empty(); } in hasLocations() 208 size_t size() const { return Locations.size(); } in size() 211 return Locations == RHS.Locations;
|
| /freebsd/contrib/llvm-project/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;
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | StackMaps.cpp | 299 const LocationVec &CSLocs = CSI.Locations; in print() 419 LocationVec &Locations, in parseStatepointOpers() argument 423 MOI = parseOperand(MOI, MOE, Locations, LiveOuts); // CC in parseStatepointOpers() 424 MOI = parseOperand(MOI, MOE, Locations, LiveOuts); // Flags in parseStatepointOpers() 425 MOI = parseOperand(MOI, MOE, Locations, LiveOuts); // Num Deopts in parseStatepointOpers() 428 unsigned NumDeoptArgs = Locations.back().Offset; in parseStatepointOpers() 429 assert(Locations.back().Type == Location::Constant); in parseStatepointOpers() 433 MOI = parseOperand(MOI, MOE, Locations, LiveOuts); in parseStatepointOpers() 466 (void)parseOperand(MOB + BaseIdx, MOE, Locations, LiveOuts); in parseStatepointOpers() 467 (void)parseOperand(MOB + DerivedIdx, MOE, Locations, LiveOuts); in parseStatepointOpers() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | DataAccessProf.cpp | 50 It->second.Locations); in getProfileRecord() 91 ArrayRef<SourceLocation> Locations) { in setDataAccessProfile() argument 96 for (const auto &Location : Locations) in setDataAccessProfile() 97 Record.Locations.push_back( in setDataAccessProfile() 188 OS.write(Rec.Locations.size()); in serialize() 189 for (const auto &Loc : Rec.Locations) { in serialize() 252 Record.Locations.reserve(NumLocations); in deserializeRecords() 258 Record.Locations.push_back({Strings[FileNameIndex], Line}); in deserializeRecords()
|
| H A D | InstrProfCorrelator.cpp | 310 auto Locations = Die.getLocations(dwarf::DW_AT_location); in getLocation() local 311 if (!Locations) { in getLocation() 312 consumeError(Locations.takeError()); in getLocation() 317 for (auto &Location : *Locations) { in getLocation()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
| H A D | LookupResult.h | 52 SourceLocations Locations; member 92 return LHS.Locations == RHS.Locations;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | DataAccessProf.h | 91 llvm::SmallVector<SourceLocationRef, 0> Locations; member 116 Locations.emplace_back(Loc.FileName, Loc.Line); in DataAccessProfRecord() 123 SmallVector<SourceLocation> Locations; member 168 ArrayRef<SourceLocation> Locations);
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Initialization.h | 629 SourceLocation Locations[3]; variable 634 Locations[0] = Loc1; in InitializationKind() 635 Locations[1] = Loc2; in InitializationKind() 636 Locations[2] = Loc3; in InitializationKind() 756 SourceLocation getLocation() const { return Locations[0]; } in getLocation() 760 return SourceRange(Locations[0], Locations[2]); in getRange() 767 return Locations[1]; in getEqualLoc() 797 return SourceRange(Locations[1], Locations[2]); in getParenOrBraceRange()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | StackMaps.h | 324 LocationVec Locations; member 329 LocationVec &&Locations, LiveOutVec &&LiveOuts) in CallsiteInfo() 330 : CSOffsetExpr(CSOffsetExpr), ID(ID), Locations(std::move(Locations)), in CallsiteInfo() 377 LocationVec &Locations, LiveOutVec &LiveOuts);
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | SARIFDiagnostic.cpp | 67 SmallVector<CharSourceRange> Locations = {}; in addLocationToResult() local 114 Locations.push_back( in addLocationToResult() 130 Locations.push_back( in addLocationToResult() 133 return Result.setLocations(Locations); in addLocationToResult()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/ |
| H A D | DIPrinter.h | 52 const std::vector<DILineInfo> &Locations) = 0; 99 const std::vector<DILineInfo> &Locations) override; 150 const std::vector<DILineInfo> &Locations) override;
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
| H A D | DIPrinter.cpp | 271 const std::vector<DILineInfo> &Locations) { in print() argument 272 if (Locations.empty()) { in print() 275 for (const DILineInfo &L : Locations) in print() 389 const std::vector<DILineInfo> &Locations) { in print() argument 391 for (const DILineInfo &L : Locations) in print()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
| H A D | LVLocation.h | 148 static bool calculateCoverage(LVLocations *Locations, unsigned &Factor, 155 static void print(LVLocations *Locations, raw_ostream &OS, bool Full = true);
|
| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/ |
| H A D | SymbolOccurrences.h | 64 ArrayRef<SourceLocation> Locations);
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | IntrinsicInst.cpp | 137 auto Locations = location_ops(); in replaceVariableLocationOp() local 138 auto OldIt = find(Locations, OldValue); in replaceVariableLocationOp() 139 if (OldIt == Locations.end()) { in replaceVariableLocationOp() 147 assert(OldIt != Locations.end() && "OldValue must be a current location"); in replaceVariableLocationOp() 157 for (auto *VMD : Locations) in replaceVariableLocationOp()
|
| H A D | DebugProgramInstruction.cpp | 296 auto Locations = location_ops(); in replaceVariableLocationOp() local 297 auto OldIt = find(Locations, OldValue); in replaceVariableLocationOp() 298 if (OldIt == Locations.end()) { in replaceVariableLocationOp() 316 for (auto *VMD : Locations) in replaceVariableLocationOp()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Sarif.h | 325 llvm::SmallVector<CharSourceRange, 8> Locations; variable 357 Locations.assign(DiagLocs.begin(), DiagLocs.end()); in setLocations()
|