Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/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()
921 ArrayRef<SourceLocation> Locs, in DiagnoseAvailabilityOfDecl() argument
[all …]
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DVarLocBasedImpl.cpp416 auto It = find(Locs, ML); in VarLoc()
417 if (It == Locs.end()) { in VarLoc()
418 Locs.push_back(ML); in VarLoc()
460 assert(VL.Locs.size() == 1 && in CreateEntryLoc()
464 VL.Locs[0].Value.RegNo = Reg; in CreateEntryLoc()
476 assert(VL.Locs.size() == 1 && in CreateEntryBackupLoc()
505 if (VL.Locs[I] == OldML) { in CreateCopyLoc()
519 if (VL.Locs[I] == OldML) { in CreateSpillLoc()
638 for (auto Loc : Locs) in getDescribingRegs()
682 if (Locs.begin() != &MLoc) in dump()
[all …]
H A DInstrRefBasedImpl.cpp535 void loadFromArray(ValueIDNum *Locs, unsigned NewCurBB) { in loadFromArray() argument
540 Location.Value = Locs[Location.Idx.asU64()]; in loadFromArray()
2823 SmallVector<SmallVector<LocIdx, 4>, 8> Locs; in pickVPHILoc() local
2834 Locs.resize(Locs.size() + 1); in pickVPHILoc()
2860 Locs.back().push_back(LocIdx(I)); in pickVPHILoc()
2865 if (Locs.empty()) in pickVPHILoc()
2871 [&Locs](llvm::iterator_range<LocsIt> SearchRange) -> Optional<LocIdx> { in pickVPHILoc()
2874 SmallVector<LocIdx, 4> base = Locs[0]; in pickVPHILoc()
2893 auto TheLoc = SeekLocation(Locs); in pickVPHILoc()
2897 SeekLocation(make_range(Locs.begin(), Locs.begin() + BackEdgesStart)); in pickVPHILoc()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h349 SmallVector<Loc, 8> Locs; member
358 if (!Locs.empty() && Locs.back().isActive(P)) { in add()
359 if (Locs.back().Priority <= Prio) { in add()
360 Locs.back().TemplateName = TemplateName; in add()
361 Locs.back().LessLoc = LessLoc; in add()
362 Locs.back().Priority = Prio; in add()
365 Locs.push_back({TemplateName, LessLoc, Prio, in add()
374 while (!Locs.empty() && Locs.back().isActiveOrNested(P)) in clear()
375 Locs.pop_back(); in clear()
381 if (!Locs.empty() && Locs.back().isActive(P)) in getCurrent()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DOpenMPClause.cpp1112 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, in Create() argument
1143 Type, TypeIsImplicit, TypeLoc, Locs, Sizes); in Create()
1166 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, in Create() argument
1196 UDMQualifierLoc, MapperId, Locs, Sizes); in Create()
1216 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, in Create() argument
1247 UDMQualifierLoc, MapperId, Locs, Sizes); in Create()
1280 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, in Create() argument
1307 OMPUseDevicePtrClause *Clause = new (Mem) OMPUseDevicePtrClause(Locs, Sizes); in Create()
1356 auto *Clause = new (Mem) OMPUseDeviceAddrClause(Locs, Sizes); in Create()
1376 OMPIsDevicePtrClause::Create(const ASTContext &C, const OMPVarListLocTy &Locs, in Create() argument
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp1559 AAQueryInfo::LocPair Locs({V1, V1Size}, {V2, V2Size}); in aliasCheck() local
1562 std::swap(Locs.first, Locs.second); in aliasCheck()
1564 Locs, AAQueryInfo::CacheEntry{AliasResult::NoAlias, 0}); in aliasCheck()
1583 auto It = AAQI.AliasCache.find(Locs); in aliasCheck()
1611 AAQI.AssumptionBasedResults.push_back(Locs); in aliasCheck()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h5067 OpenMPClauseKind K, const OMPVarListLocTy &Locs,
5071 : OMPVarListClause<T>(K, Locs.StartLoc, Locs.LParenLoc, Locs.EndLoc,
5732 Create(const ASTContext &C, const OMPVarListLocTy &Locs,
6574 const OMPVarListLocTy &Locs, in OMPToClause() argument
6776 const OMPVarListLocTy &Locs, in OMPFromClause() argument
6857 Create(const ASTContext &C, const OMPVarListLocTy &Locs,
6958 explicit OMPUseDevicePtrClause(const OMPVarListLocTy &Locs, in OMPUseDevicePtrClause() argument
7027 Create(const ASTContext &C, const OMPVarListLocTy &Locs,
7161 Create(const ASTContext &C, const OMPVarListLocTy &Locs,
7226 explicit OMPIsDevicePtrClause(const OMPVarListLocTy &Locs, in OMPIsDevicePtrClause() argument
[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()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h1491 SmallVector<SMLoc, 4> Locs; variable
1518 : Name(N), Locs(locs.begin(), locs.end()), TrackedRecords(records), in Name()
1531 : Name(O.Name), Locs(O.Locs), TemplateArgs(O.TemplateArgs), in Record()
1552 ArrayRef<SMLoc> getLoc() const { return Locs; } in getLoc()
1553 void appendLoc(SMLoc Loc) { Locs.push_back(Loc); } in appendLoc()

12