Home
last modified time | relevance | path

Searched refs:Locs (Results 1 – 25 of 48) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DDebugLocStream.h157 DebugLocStream &Locs; variable
165 ListBuilder(DebugLocStream &Locs, DwarfCompileUnit &CU, AsmPrinter &Asm, in ListBuilder() argument
167 : Locs(Locs), Asm(Asm), V(V), MI(MI), ListIndex(Locs.startList(&CU)), in ListBuilder()
180 DebugLocStream &getLocs() { return Locs; } in getLocs()
185 DebugLocStream &Locs; variable
189 : Locs(List.getLocs()) { in EntryBuilder()
190 Locs.startEntry(Begin, End); in EntryBuilder()
194 ~EntryBuilder() { Locs.finalizeEntry(); } in ~EntryBuilder()
196 BufferByteStreamer getStreamer() { return Locs.getStreamer(); } in getStreamer()
H A DDebugLocEntry.h117 DbgValueLoc(const DIExpression *Expr, ArrayRef<DbgValueLocEntry> Locs) in DbgValueLoc() argument
118 : Expression(Expr), ValueLocEntries(Locs.begin(), Locs.end()), in DbgValueLoc()
123 is_contained(Locs, dwarf::DW_OP_stack_value)); in DbgValueLoc()
127 DbgValueLoc(const DIExpression *Expr, ArrayRef<DbgValueLocEntry> Locs, in DbgValueLoc() argument
129 : Expression(Expr), ValueLocEntries(Locs.begin(), Locs.end()), in DbgValueLoc()
133 !any_of(Locs, [](auto LE) { return LE.isLocation(); })); in DbgValueLoc()
H A DDIEHash.cpp233 const DebugLocStream &Locs = DD.getDebugLocs(); in hashLocList() local
234 const DebugLocStream::List &List = Locs.getList(LocList.getValue()); in hashLocList()
235 for (const DebugLocStream::Entry &Entry : Locs.getEntries(List)) in hashLocList()
H A DDebugLocStream.cpp41 if (!Locs.finalizeList(Asm)) in ~ListBuilder()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DDelayedDiagnostic.cpp25 ArrayRef<SourceLocation> Locs, in makeAvailability() argument
32 assert(!Locs.empty()); in makeAvailability()
36 DD.Loc = Locs.front(); in makeAvailability()
49 DD.AvailabilityData.SelectorLocs = new SourceLocation[Locs.size()]; in makeAvailability()
50 memcpy(DD.AvailabilityData.SelectorLocs, Locs.data(), in makeAvailability()
51 sizeof(SourceLocation) * Locs.size()); in makeAvailability()
52 DD.AvailabilityData.NumSelectorLocs = Locs.size(); in makeAvailability()
H A DSemaAvailability.cpp314 ArrayRef<SourceLocation> Locs, in DoEmitAvailabilityWarning() argument
337 SourceLocation Loc = Locs.front(); in DoEmitAvailabilityWarning()
505 assert(SelectorSlotNames.size() == Locs.size()); in DoEmitAvailabilityWarning()
506 for (unsigned I = 0; I < Locs.size(); ++I) { in DoEmitAvailabilityWarning()
509 Locs[I], S.getLocForEndOfToken(Locs[I])); in DoEmitAvailabilityWarning()
514 FixItHint::CreateInsertion(Locs[I], SelectorSlotNames[I])); in DoEmitAvailabilityWarning()
558 ArrayRef<SourceLocation> Locs, in EmitAvailabilityWarning() argument
566 AR, Locs, ReferringDecl, OffendingDecl, UnknownObjCClass, in EmitAvailabilityWarning()
573 Message, Locs, UnknownObjCClass, ObjCProperty, in EmitAvailabilityWarning()
923 ArrayRef<SourceLocation> Locs, in DiagnoseAvailabilityOfDecl() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/LiveDebugValues/
H A DVarLocBasedImpl.cpp399 SmallVector<MachineLoc, 8> Locs; member
416 auto It = find(Locs, ML); in VarLoc()
417 if (It == Locs.end()) { in VarLoc()
418 Locs.push_back(ML); in VarLoc()
423 unsigned OpIdx = Locs.size(); in VarLoc()
424 unsigned DuplicatingIdx = std::distance(Locs.begin(), It); in VarLoc()
460 assert(VL.Locs.size() == 1 && in CreateEntryLoc()
461 VL.Locs[0].Kind == MachineLocKind::RegisterKind); in CreateEntryLoc()
464 VL.Locs[0].Value.RegNo = Reg; in CreateEntryLoc()
476 assert(VL.Locs.size() == 1 && in CreateEntryBackupLoc()
[all …]
H A DInstrRefBasedImpl.cpp535 void loadFromArray(ValueIDNum *Locs, unsigned NewCurBB) { in loadFromArray() argument
540 Location.Value = Locs[Location.Idx.asU64()]; in loadFromArray()
2527 SmallVector<SmallVector<LocIdx, 4>, 8> Locs; in pickVPHILoc() local
2538 Locs.resize(Locs.size() + 1); in pickVPHILoc()
2564 Locs.back().push_back(LocIdx(I)); in pickVPHILoc()
2569 if (Locs.empty()) in pickVPHILoc()
2575 [&Locs](llvm::iterator_range<LocsIt> SearchRange) -> Optional<LocIdx> { in pickVPHILoc()
2578 SmallVector<LocIdx, 4> base = Locs[0]; in pickVPHILoc()
2597 auto TheLoc = SeekLocation(Locs); in pickVPHILoc()
2601 SeekLocation(make_range(Locs.begin(), Locs.begin() + BackEdgesStart)); in pickVPHILoc()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DCallingConvLower.cpp33 TRI(*MF.getSubtarget().getRegisterInfo()), Locs(locs), Context(C) { in CCState()
75 for (auto const &ValAssign : Locs) { in IsShadowAllocatedReg()
210 unsigned NumLocs = Locs.size(); in getRemainingRegParmsForType()
228 HaveRegParm = Locs.back().isRegLoc(); in getRemainingRegParmsForType()
232 assert(NumLocs < Locs.size() && "CC assignment failed to add location"); in getRemainingRegParmsForType()
233 for (unsigned I = NumLocs, E = Locs.size(); I != E; ++I) in getRemainingRegParmsForType()
234 if (Locs[I].isRegLoc()) in getRemainingRegParmsForType()
235 Regs.push_back(MCPhysReg(Locs[I].getLocReg())); in getRemainingRegParmsForType()
242 Locs.resize(NumLocs); in getRemainingRegParmsForType()
H A DStackMaps.cpp189 MachineInstr::const_mop_iterator MOE, LocationVec &Locs, in parseOperand() argument
204 Locs.emplace_back(StackMaps::Location::Direct, Size, in parseOperand()
213 Locs.emplace_back(StackMaps::Location::Indirect, Size, in parseOperand()
221 Locs.emplace_back(Location::Constant, sizeof(int64_t), 0, Imm); in parseOperand()
239 Locs.emplace_back(Location::Constant, sizeof(int64_t), 0, 0xFEFEFEFE); in parseOperand()
255 Locs.emplace_back(Location::Register, TRI->getSpillSize(*RC), in parseOperand()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DCTagsEmitter.cpp60 ArrayRef<SMLoc> Locs = R->getLoc(); in locate() local
61 return !Locs.empty() ? Locs.front() : SMLoc(); in locate()
H A DSearchableTableEmitter.cpp74 ArrayRef<SMLoc> Locs; // Source locations from the Record instance. member
511 << primaryRepresentation(Table.Locs[0], Field, in emitGenericTable()
609 PrintFatalError(Table.Locs, in collectTableEntries()
689 Table->Locs = TableRec->getLoc(); in run()
777 Table->Locs = Class->getLoc(); in run()
H A DDAGISelMatcherEmitter.cpp225 auto Locs = R->getLoc(); in getIncludePath() local
227 if (Locs.size() > 1) { in getIncludePath()
229 L = Locs[1]; in getIncludePath()
230 } else if (Locs.size() == 1) { in getIncludePath()
231 L = Locs[0]; in getIncludePath()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCCodeView.cpp341 std::vector<MCCVLoc> Locs = getFunctionLineEntries(FuncId); in emitLineTableForFunction() local
342 bool HaveColumns = any_of(Locs, [](const MCCVLoc &LineEntry) { in emitLineTableForFunction()
348 for (auto I = Locs.begin(), E = Locs.end(); I != E;) { in emitLineTableForFunction()
478 ArrayRef<MCCVLoc> Locs = getLinesForExtent(LocBegin, LocEnd); in encodeInlineLineTable() local
479 if (Locs.empty()) in encodeInlineLineTable()
484 const MCSection *FirstSec = &Locs.front().getLabel()->getSection(); in encodeInlineLineTable()
485 for (const MCCVLoc &Loc : Locs) { in encodeInlineLineTable()
498 MCCVLoc StartLoc = Locs.front(); in encodeInlineLineTable()
511 for (const MCCVLoc &Loc : Locs) { in encodeInlineLineTable()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DCallingConvLower.h198 SmallVectorImpl<CCValAssign> &Locs; variable
254 Locs.push_back(V); in addLoc()
534 unsigned NumFirstPassLocs = Locs.size(); in AnalyzeArgumentsSecondPass()
550 TmpArgLocs.swap(Locs); in AnalyzeArgumentsSecondPass()
553 std::back_inserter(Locs), in AnalyzeArgumentsSecondPass()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/
H A DM68kCallingConv.h32 MachineFunction &MF, SmallVectorImpl<CCValAssign> &Locs, in M68kCCState() argument
34 : CCState(CC, IsVarArg, MF, Locs, C), F(F) {} in M68kCCState()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCCCState.h47 SmallVectorImpl<CCValAssign> &Locs, LLVMContext &C) in AIXCCState() argument
48 : CCState(CC, IsVarArg, MF, Locs, C) {} in AIXCCState()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/sancov/
H A Dsancov.cpp150 SmallVector<DILineInfo, 1> Locs; member
303 for (const DILineInfo &Loc : Point.Locs) { in operator <<()
312 for (const DILineInfo &Loc : PointPtr->Locs) { in operator <<()
325 for (const auto &Loc : Point->Locs) { in operator <<()
434 CoveragePoint->Locs.push_back(LineInfo); in read()
569 Point.Locs.push_back(*LineInfo); in getCoveragePoints()
584 Point.Locs.push_back(FrameInfo); in getCoveragePoints()
915 for (const auto &Loc : Point.Locs) { in computeFunctions()
930 for (const auto &Loc : Point.Locs) { in computeNotCoveredFunctions()
947 for (const auto &Loc : Point.Locs) { in computeCoveredFunctions()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp52 Expected<DWARFLocationExpressionsVector> Locs = in addVariable() local
54 if (!Locs) { in addVariable()
58 consumeError(Locs.takeError()); in addVariable()
62 for (const DWARFLocationExpression &LocExpr : *Locs) { in addVariable()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Parse/
H A DParser.h348 SmallVector<Loc, 8> Locs; member
357 if (!Locs.empty() && Locs.back().isActive(P)) { in add()
358 if (Locs.back().Priority <= Prio) { in add()
359 Locs.back().TemplateName = TemplateName; in add()
360 Locs.back().LessLoc = LessLoc; in add()
361 Locs.back().Priority = Prio; in add()
364 Locs.push_back({TemplateName, LessLoc, Prio, in add()
373 while (!Locs.empty() && Locs.back().isActiveOrNested(P)) in clear()
374 Locs.pop_back(); in clear()
380 if (!Locs.empty() && Locs.back().isActive(P)) in getCurrent()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DOpenMPClause.cpp1082 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, in Create() argument
1113 Type, TypeIsImplicit, TypeLoc, Locs, Sizes); in Create()
1136 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, in Create() argument
1166 UDMQualifierLoc, MapperId, Locs, Sizes); in Create()
1186 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, in Create() argument
1217 UDMQualifierLoc, MapperId, Locs, Sizes); in Create()
1250 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, in Create() argument
1277 OMPUseDevicePtrClause *Clause = new (Mem) OMPUseDevicePtrClause(Locs, Sizes); in Create()
1299 OMPUseDeviceAddrClause::Create(const ASTContext &C, const OMPVarListLocTy &Locs, in Create() argument
1326 auto *Clause = new (Mem) OMPUseDeviceAddrClause(Locs, Sizes); in Create()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp1543 AAQueryInfo::LocPair Locs({V1, V1Size}, {V2, V2Size}); in aliasCheck() local
1546 std::swap(Locs.first, Locs.second); in aliasCheck()
1548 Locs, AAQueryInfo::CacheEntry{AliasResult::NoAlias, 0}); in aliasCheck()
1567 auto It = AAQI.AliasCache.find(Locs); in aliasCheck()
1595 AAQI.AssumptionBasedResults.push_back(Locs); in aliasCheck()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DOpenMPClause.h4959 OpenMPClauseKind K, const OMPVarListLocTy &Locs,
4963 : OMPVarListClause<T>(K, Locs.StartLoc, Locs.LParenLoc, Locs.EndLoc,
5543 SourceLocation MapLoc, const OMPVarListLocTy &Locs, in OMPMapClause() argument
5545 : OMPMappableExprListClause(llvm::omp::OMPC_map, Locs, Sizes, in OMPMapClause()
5624 Create(const ASTContext &C, const OMPVarListLocTy &Locs,
6466 const OMPVarListLocTy &Locs, in OMPToClause() argument
6468 : OMPMappableExprListClause(llvm::omp::OMPC_to, Locs, Sizes, in OMPToClause()
6546 static OMPToClause *Create(const ASTContext &C, const OMPVarListLocTy &Locs,
6668 const OMPVarListLocTy &Locs, in OMPFromClause() argument
6670 : OMPMappableExprListClause(llvm::omp::OMPC_from, Locs, Sizes, in OMPFromClause()
[all …]
H A DDeclObjC.h116 const SourceLocation *Locs, ASTContext &Ctx);
1469 const SourceLocation *Locs, ASTContext &C) { in setProtocolList() argument
1470 data().ReferencedProtocols.set(List, Num, Locs, C); in setProtocolList()
2154 const SourceLocation *Locs, ASTContext &C) { in setProtocolList() argument
2156 data().ReferencedProtocols.set(List, Num, Locs, C); in setProtocolList()
2329 const SourceLocation *Locs, ASTContext &C) { in setProtocolList() argument
2330 ReferencedProtocols.set(List, Num, Locs, C); in setProtocolList()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DDebugInfoMetadata.cpp86 DILocation *DILocation::getMergedLocations(ArrayRef<const DILocation *> Locs) { in getMergedLocations() argument
87 if (Locs.empty()) in getMergedLocations()
89 if (Locs.size() == 1) in getMergedLocations()
90 return Locs[0]; in getMergedLocations()
91 auto *Merged = Locs[0]; in getMergedLocations()
92 for (const DILocation *L : llvm::drop_begin(Locs)) { in getMergedLocations()

12