/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 | 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 | 684 NumDwarfInlineInfos != LR->Locations.size()) { in verify() 689 << LR->Locations.size() << "\n"; in verify() 696 Log << " " << LR->Locations.size() << " GSYM frames:\n"; in verify() 697 for (size_t Idx = 0, count = LR->Locations.size(); Idx < count; in verify() 699 const auto &gii = LR->Locations[Idx]; in verify() 709 for (size_t Idx = 0, count = LR->Locations.size(); Idx < count; in verify() 711 const auto &gii = LR->Locations[Idx]; in verify()
|
H A D | FunctionInfo.cpp | 252 LR.Locations.push_back(SrcLoc); in lookup() 268 LR.Locations.push_back(SrcLoc); in lookup() 275 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/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 | 112 ArrayRef<SDDbgOperand> Locations,
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | StackMaps.cpp | 306 const LocationVec &CSLocs = CSI.Locations; in print() 426 LocationVec &Locations, in parseStatepointOpers() 430 MOI = parseOperand(MOI, MOE, Locations, LiveOuts); // CC in parseStatepointOpers() 431 MOI = parseOperand(MOI, MOE, Locations, LiveOuts); // Flags in parseStatepointOpers() 432 MOI = parseOperand(MOI, MOE, Locations, LiveOuts); // Num Deopts in parseStatepointOpers() 435 unsigned NumDeoptArgs = Locations.back().Offset; in parseStatepointOpers() 436 assert(Locations.back().Type == Location::Constant); in parseStatepointOpers() 440 MOI = parseOperand(MOI, MOE, Locations, LiveOuts); in parseStatepointOpers() 473 (void)parseOperand(MOB + BaseIdx, MOE, Locations, LiveOuts); in parseStatepointOpers() 474 (void)parseOperand(MOB + DerivedIdx, MOE, Locations, LiveOut in parseStatepointOpers() 411 parseStatepointOpers(const MachineInstr & MI,MachineInstr::const_mop_iterator MOI,MachineInstr::const_mop_iterator MOE,LocationVec & Locations,LiveOutVec & LiveOuts) parseStatepointOpers() argument 484 LocationVec Locations; recordStackMapOpers() local 565 auto &Locations = CSInfos.back().Locations; recordPatchPoint() local [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
H A D | LookupResult.h | 51 SourceLocations Locations; member 62 return LHS.Locations == RHS.Locations;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFDebugFrame.h | 183 std::map<uint32_t, UnwindLocation> Locations; variable 193 auto Pos = Locations.find(RegNum); in getRegisterLocation() 194 if (Pos == Locations.end()) in getRegisterLocation() 205 Locations.erase(RegNum); in setRegisterLocation() 206 Locations.insert(std::make_pair(RegNum, Location)); in setRegisterLocation() 212 void removeRegisterLocation(uint32_t RegNum) { Locations.erase(RegNum); } in removeRegisterLocation() 228 bool hasLocations() const { return !Locations.empty(); } in hasLocations() 230 size_t size() const { return Locations.size(); } in size() 233 return Locations == RHS.Locations;
|
H A D | DWARFDebugLoc.h | 104 LocationLists Locations; variable
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | StackMaps.h | 322 LocationVec Locations; 327 LocationVec &&Locations, LiveOutVec &&LiveOuts) in CallsiteInfo() 328 : CSOffsetExpr(CSOffsetExpr), ID(ID), Locations(std::move(Locations)), in CallsiteInfo() 378 LocationVec &Locations, LiveOutVec &LiveOuts); 323 LocationVec Locations; global() member
|
/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() 755 SourceLocation getLocation() const { return Locations[0]; } in getLocation() 759 return SourceRange(Locations[0], Locations[2]); in getRange() 766 return Locations[1]; in getEqualLoc() 796 return SourceRange(Locations[1], Locations[2]); in getParenOrBraceRange()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
H A D | LVLocation.h | 147 static bool calculateCoverage(LVLocations *Locations, unsigned &Factor, 154 static void print(LVLocations *Locations, raw_ostream &OS, bool Full = true);
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | InstrProfCorrelator.cpp | 286 auto Locations = Die.getLocations(dwarf::DW_AT_location); in getLocation() local 287 if (!Locations) { in getLocation() 288 consumeError(Locations.takeError()); in getLocation() 293 for (auto &Location : *Locations) { in getLocation()
|
/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 | 295 auto Locations = location_ops(); in replaceVariableLocationOp() local 296 auto OldIt = find(Locations, OldValue); in replaceVariableLocationOp() 297 if (OldIt == Locations.end()) { in replaceVariableLocationOp() 315 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()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | PromoteMemoryToRegister.cpp | 287 : BB(B), Pred(P), Values(std::move(V)), Locations(std::move(L)) {} in RenamePassData() 292 LocationVector Locations; member 858 RenamePassData::LocationVector Locations(Allocas.size()); in run() local 864 std::move(Locations)); in run() 869 RenamePass(RPD.BB, RPD.Pred, RPD.Values, RPD.Locations, RenamePassWorkList); in run()
|
H A D | Debugify.cpp | 47 Locations, enumerator 53 cl::values(clEnumValN(Level::Locations, "locations", "Locations only"), 340 if (DebugifyLevel > Level::Locations) { in collectDebugInfoMetadata() 586 if (DebugifyLevel > Level::Locations) { in checkDebugInfoMetadata()
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | Sarif.cpp | 395 if (!Result.Locations.empty()) { in appendResult() 397 for (auto &Range : Result.Locations) { in appendResult()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
H A D | VarLocBasedImpl.cpp | 803 SmallVector<LocIndex::u32_location_t, 4> Locations; in insert() local 810 VL.getDescribingRegs(Locations); in insert() 811 assert(all_of(Locations, in insert() 817 Locations.push_back(LocIndex::kSpillLocation); in insert() 819 Locations.push_back(LocIndex::kWasmLocation); in insert() 822 Locations.push_back(Loc); in insert() 824 Locations.push_back(LocIndex::kUniversalLocation); in insert() 825 for (LocIndex::u32_location_t Location : Locations) { in insert()
|