Searched refs:Locations (Results 1 - 18 of 18) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DSymbolOccurrences.cpp17 ArrayRef<SourceLocation> Locations)
20 assert(Locations.size() == NamePieces.size() &&
22 assert(!Locations.empty() && "no locations");
23 if (Locations.size() == 1) {
25 Locations[0], Locations[0].getLocWithOffset(NamePieces[0].size()));
28 MultipleRanges = std::make_unique<SourceRange[]>(Locations.size());
30 SourceLocation::getFromRawEncoding(Locations.size()));
31 for (const auto &Loc : llvm::enumerate(Locations)) {
16 SymbolOccurrence(const SymbolName &Name, OccurrenceKind Kind, ArrayRef<SourceLocation> Locations) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DLookupResult.cpp21 if (Index < Locations.size()) {
22 if (!Locations[Index].Dir.empty()) {
23 if (Locations[Index].Base.empty()) {
24 Fullpath = Locations[Index].Dir;
27 llvm::sys::path::append(Storage, Locations[Index].Dir,
28 Locations[Index].Base);
31 } else if (!Locations[Index].Base.empty())
32 Fullpath = Locations[Index].Base;
56 auto NumLocations = LR.Locations.size();
63 OS << LR.Locations[
[all...]
H A DFunctionInfo.cpp223 LR.Locations.push_back(SrcLoc);
238 LR.Locations.push_back(SrcLoc);
245 LR.Locations);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.h53 auto I = Locations.find(Val);
54 if (I == Locations.end())
60 assert(!Locations.count(Val) &&
62 Locations[Val] = Location;
111 DenseMap<SDValue, SDValue> Locations; member in class:llvm::StatepointLoweringState
H A DStatepointLowering.cpp76 Locations.clear();
86 Locations.clear();
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/
H A DSymbolOccurrences.h64 ArrayRef<SourceLocation> Locations);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DLookupResult.h52 SourceLocations Locations; member in struct:llvm::gsym::LookupResult
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DStackMaps.h253 LocationVec Locations; member in struct:llvm::StackMaps::CallsiteInfo
258 LocationVec &&Locations, LiveOutVec &&LiveOuts)
259 : CSOffsetExpr(CSOffsetExpr), ID(ID), Locations(std::move(Locations)),
257 CallsiteInfo(const MCExpr *CSOffsetExpr, uint64_t ID, LocationVec &&Locations, LiveOutVec &&LiveOuts) argument
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DInitialization.h590 SourceLocation Locations[3]; member in class:clang::InitializationKind
595 Locations[0] = Loc1;
596 Locations[1] = Loc2;
597 Locations[2] = Loc3;
713 SourceLocation getLocation() const { return Locations[0]; }
717 return SourceRange(Locations[0], Locations[2]);
724 return Locations[1];
754 return SourceRange(Locations[1], Locations[
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackMaps.cpp179 const LocationVec &CSLocs = CSI.Locations;
304 LocationVec Locations; local
309 parseOperand(MI.operands_begin(), std::next(MI.operands_begin()), Locations,
315 MOI = parseOperand(MOI, MOE, Locations, LiveOuts);
319 for (auto &Loc : Locations) {
345 CSInfos.emplace_back(CSOffsetExpr, ID, std::move(Locations),
383 auto &Locations = CSInfos.back().Locations; local
387 assert(Locations[i].Type == Location::Register &&
496 const LocationVec &CSLocs = CSI.Locations;
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugLoc.h99 LocationLists Locations;
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp253 json::Array Locations; local
256 Locations.push_back(createThreadFlowLocation(
264 return json::Object{{"locations", std::move(Locations)}};
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp167 : BB(B), Pred(P), Values(std::move(V)), Locations(std::move(L)) {}
172 LocationVector Locations; member in struct:__anon3231::RenamePassData
643 RenamePassData::LocationVector Locations(Allocas.size());
649 std::move(Locations));
654 RenamePass(RPD.BB, RPD.Pred, RPD.Values, RPD.Locations, RenamePassWorkList);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp352 SmallVector<SourceLocation, 4> Locations; local
368 Locations.push_back(Unexpanded[I].second);
376 for (unsigned I = 0, N = Locations.size(); I != N; ++I)
377 DB << SourceRange(Locations[I]);
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp1452 llvm::DenseMap<llvm::GlobalVariable*, llvm::Constant*> Locations; member in struct:__anon364::ReplacePlaceholders
1483 assert(Locations.size() == PlaceholderAddresses.size() &&
1490 for (auto &entry : Locations) {
1531 assert(Locations.find(placeholder) == Locations.end() &&
1562 Locations.insert({placeholder, location});
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfoMetadata.cpp89 SmallSet<std::pair<DIScope *, DILocation *>, 5> Locations; local
93 Locations.insert(std::make_pair(S, L));
104 if (Locations.count(std::make_pair(S, L)))
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h102 SourceLocation *Locations = nullptr;
111 loc_iterator loc_begin() const { return Locations; }
112 loc_iterator loc_end() const { return Locations + size(); }
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp58 Locations = new (Ctx) SourceLocation[Elts];
59 memcpy(Locations, Locs, sizeof(SourceLocation) * Elts);

Completed in 276 milliseconds