/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | DelayedDiagnostic.cpp | 25 ArrayRef<SourceLocation> Locs, 32 assert(!Locs.empty()); 36 DD.Loc = Locs.front(); 49 DD.AvailabilityData.SelectorLocs = new SourceLocation[Locs.size()]; 50 memcpy(DD.AvailabilityData.SelectorLocs, Locs.data(), 51 sizeof(SourceLocation) * Locs.size()); 52 DD.AvailabilityData.NumSelectorLocs = Locs.size(); 24 makeAvailability(AvailabilityResult AR, ArrayRef<SourceLocation> Locs, const NamedDecl *ReferringDecl, const NamedDecl *OffendingDecl, const ObjCInterfaceDecl *UnknownObjCClass, const ObjCPropertyDecl *ObjCProperty, StringRef Msg, bool ObjCPropertyAccess) argument
|
H A D | SemaAvailability.cpp | 314 ArrayRef<SourceLocation> Locs, 337 SourceLocation Loc = Locs.front(); 505 assert(SelectorSlotNames.size() == Locs.size()); 506 for (unsigned I = 0; I < Locs.size(); ++I) { 509 Locs[I], S.getLocForEndOfToken(Locs[I])); 514 FixItHint::CreateInsertion(Locs[I], SelectorSlotNames[I])); 558 ArrayRef<SourceLocation> Locs, 566 AR, Locs, ReferringDecl, OffendingDecl, UnknownObjCClass, 573 Message, Locs, UnknownObjCClas 310 DoEmitAvailabilityWarning(Sema &S, AvailabilityResult K, Decl *Ctx, const NamedDecl *ReferringDecl, const NamedDecl *OffendingDecl, StringRef Message, ArrayRef<SourceLocation> Locs, const ObjCInterfaceDecl *UnknownObjCClass, const ObjCPropertyDecl *ObjCProperty, bool ObjCPropertyAccess) argument 554 EmitAvailabilityWarning(Sema &S, AvailabilityResult AR, const NamedDecl *ReferringDecl, const NamedDecl *OffendingDecl, StringRef Message, ArrayRef<SourceLocation> Locs, const ObjCInterfaceDecl *UnknownObjCClass, const ObjCPropertyDecl *ObjCProperty, bool ObjCPropertyAccess) argument 922 DiagnoseAvailabilityOfDecl(NamedDecl *D, ArrayRef<SourceLocation> Locs, const ObjCInterfaceDecl *UnknownObjCClass, bool ObjCPropertyAccess, bool AvoidPartialAvailabilityChecks, ObjCInterfaceDecl *ClassReceiver) argument [all...] |
H A D | TreeTransform.h | 1896 const OMPVarListLocTy &Locs, ArrayRef<Expr *> UnresolvedMappers) { 1900 VarList, Locs, UnresolvedMappers); 2012 const OMPVarListLocTy &Locs, 2015 Locs, UnresolvedMappers); 2025 const OMPVarListLocTy &Locs, 2028 Locs, UnresolvedMappers); 2036 const OMPVarListLocTy &Locs) { 2037 return getSema().ActOnOpenMPUseDevicePtrClause(VarList, Locs); 2045 const OMPVarListLocTy &Locs) { 2046 return getSema().ActOnOpenMPUseDeviceAddrClause(VarList, Locs); 1890 RebuildOMPMapClause( ArrayRef<OpenMPMapModifierKind> MapTypeModifiers, ArrayRef<SourceLocation> MapTypeModifiersLoc, CXXScopeSpec MapperIdScopeSpec, DeclarationNameInfo MapperId, OpenMPMapClauseKind MapType, bool IsMapTypeImplicit, SourceLocation MapLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VarList, const OMPVarListLocTy &Locs, ArrayRef<Expr *> UnresolvedMappers) argument 2009 RebuildOMPToClause(ArrayRef<Expr *> VarList, CXXScopeSpec &MapperIdScopeSpec, DeclarationNameInfo &MapperId, const OMPVarListLocTy &Locs, ArrayRef<Expr *> UnresolvedMappers) argument 2022 RebuildOMPFromClause(ArrayRef<Expr *> VarList, CXXScopeSpec &MapperIdScopeSpec, DeclarationNameInfo &MapperId, const OMPVarListLocTy &Locs, ArrayRef<Expr *> UnresolvedMappers) argument 2035 RebuildOMPUseDevicePtrClause(ArrayRef<Expr *> VarList, const OMPVarListLocTy &Locs) argument 2044 RebuildOMPUseDeviceAddrClause(ArrayRef<Expr *> VarList, const OMPVarListLocTy &Locs) argument 2053 RebuildOMPIsDevicePtrClause(ArrayRef<Expr *> VarList, const OMPVarListLocTy &Locs) argument [all...] |
H A D | SemaOpenMP.cpp | 13524 const OMPVarListLocTy &Locs, SourceLocation ColonLoc, 13530 SourceLocation StartLoc = Locs.StartLoc; 13531 SourceLocation LParenLoc = Locs.LParenLoc; 13532 SourceLocation EndLoc = Locs.EndLoc; 13603 IsMapTypeImplicit, ExtraModifierLoc, ColonLoc, VarList, Locs); 13607 ReductionOrMapperId, Locs); 13611 ReductionOrMapperId, Locs); 13614 Res = ActOnOpenMPUseDevicePtrClause(VarList, Locs); 13617 Res = ActOnOpenMPUseDeviceAddrClause(VarList, Locs); 13620 Res = ActOnOpenMPIsDevicePtrClause(VarList, Locs); [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DebugLocStream.h | 157 DebugLocStream &Locs; member in class:llvm::DebugLocStream::ListBuilder 165 ListBuilder(DebugLocStream &Locs, DwarfCompileUnit &CU, AsmPrinter &Asm, argument 167 : Locs(Locs), Asm(Asm), V(V), MI(MI), ListIndex(Locs.startList(&CU)), 180 DebugLocStream &getLocs() { return Locs; } 185 DebugLocStream &Locs; member in class:llvm::DebugLocStream::EntryBuilder 189 : Locs(List.getLocs()) { 190 Locs.startEntry(Begin, End); 194 ~EntryBuilder() { Locs [all...] |
H A D | DebugLocStream.cpp | 41 if (!Locs.finalizeList(Asm))
|
H A D | DIEHash.cpp | 224 const DebugLocStream &Locs = DD.getDebugLocs(); local 225 const DebugLocStream::List &List = Locs.getList(LocList.getValue()); 226 for (const DebugLocStream::Entry &Entry : Locs.getEntries(List))
|
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | CTagsEmitter.cpp | 60 ArrayRef<SMLoc> Locs = R->getLoc(); local 61 return !Locs.empty() ? Locs.front() : SMLoc();
|
H A D | DAGISelMatcherEmitter.cpp | 205 auto Locs = R->getLoc(); local 207 if (Locs.size() > 1) { 209 L = Locs[1]; 210 } else if (Locs.size() == 1) { 211 L = Locs[0];
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CallingConvLower.cpp | 32 TRI(*MF.getSubtarget().getRegisterInfo()), Locs(locs), Context(C) { 69 for (auto const &ValAssign : Locs) { 201 unsigned NumLocs = Locs.size(); 219 HaveRegParm = Locs.back().isRegLoc(); 223 assert(NumLocs < Locs.size() && "CC assignment failed to add location"); 224 for (unsigned I = NumLocs, E = Locs.size(); I != E; ++I) 225 if (Locs[I].isRegLoc()) 226 Regs.push_back(MCPhysReg(Locs[I].getLocReg())); 233 Locs.resize(NumLocs);
|
H A D | StackMaps.cpp | 103 MachineInstr::const_mop_iterator MOE, LocationVec &Locs, 118 Locs.emplace_back(StackMaps::Location::Direct, Size, 127 Locs.emplace_back(StackMaps::Location::Indirect, Size, 135 Locs.emplace_back(Location::Constant, sizeof(int64_t), 0, Imm); 163 Locs.emplace_back(Location::Register, TRI->getSpillSize(*RC), 102 parseOperand(MachineInstr::const_mop_iterator MOI, MachineInstr::const_mop_iterator MOE, LocationVec &Locs, LiveOutVec &LiveOuts) const argument
|
H A D | LiveDebugValues.cpp | 715 VarLocSet &getVarLocsInMBB(const MachineBasicBlock *MBB, VarLocInMBB &Locs) { argument 716 std::unique_ptr<VarLocSet> &VLS = Locs[MBB]; 723 const VarLocInMBB &Locs) const { 724 auto It = Locs.find(MBB); 725 assert(It != Locs.end() && "MBB not in map");
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | CallingConvLower.h | 197 SmallVectorImpl<CCValAssign> &Locs; member in class:llvm::CCState 253 Locs.push_back(V); 325 /// but wasn't added to the location list (Locs). 547 unsigned NumFirstPassLocs = Locs.size(); 563 TmpArgLocs.swap(Locs); 566 std::back_inserter(Locs),
|
H A D | StackMaps.h | 330 MachineInstr::const_mop_iterator MOE, LocationVec &Locs,
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCCodeView.cpp | 341 std::vector<MCCVLoc> Locs = getFunctionLineEntries(FuncId); local 342 bool HaveColumns = any_of(Locs, [](const MCCVLoc &LineEntry) { 348 for (auto I = Locs.begin(), E = Locs.end(); I != E;) { 478 ArrayRef<MCCVLoc> Locs = getLinesForExtent(LocBegin, LocEnd); 479 if (Locs.empty()) 484 const MCSection *FirstSec = &Locs.front().getLabel()->getSection(); 485 for (const MCCVLoc &Loc : Locs) { 498 MCCVLoc StartLoc = Locs.front(); 511 for (const MCCVLoc &Loc : Locs) { [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | BasicAliasAnalysis.cpp | 1608 AAQueryInfo::LocPair Locs(MemoryLocation(PN, PNSize, PNAAInfo), 1611 std::swap(Locs.first, Locs.second); 1623 auto CacheIt = AAQI.AliasCache.find(Locs); 1643 AAQI.AliasCache.insert(std::make_pair(Locs, OrigAliasResult)); 1845 AAQueryInfo::LocPair Locs(MemoryLocation(V1, V1Size, V1AAInfo), 1848 std::swap(Locs.first, Locs.second); 1850 AAQI.AliasCache.try_emplace(Locs, MayAlias); 1866 auto ItInsPair = AAQI.AliasCache.insert(std::make_pair(Locs, Resul [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | Parser.h | 346 SmallVector<Loc, 8> Locs; member in class:clang::Parser 355 if (!Locs.empty() && Locs.back().isActive(P)) { 356 if (Locs.back().Priority <= Prio) { 357 Locs.back().TemplateName = TemplateName; 358 Locs.back().LessLoc = LessLoc; 359 Locs.back().Priority = Prio; 362 Locs.push_back({TemplateName, LessLoc, Prio, 371 while (!Locs.empty() && Locs [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | OpenMPClause.cpp | 1043 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, 1074 Type, TypeIsImplicit, TypeLoc, Locs, Sizes); 1097 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, 1124 auto *Clause = new (Mem) OMPToClause(UDMQualifierLoc, MapperId, Locs, Sizes); 1144 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, 1172 new (Mem) OMPFromClause(UDMQualifierLoc, MapperId, Locs, Sizes); 1205 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, 1232 OMPUseDevicePtrClause *Clause = new (Mem) OMPUseDevicePtrClause(Locs, Sizes); 1254 OMPUseDeviceAddrClause::Create(const ASTContext &C, const OMPVarListLocTy &Locs, 1281 auto *Clause = new (Mem) OMPUseDeviceAddrClause(Locs, Size [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | OpenMPClause.h | 4835 /// \param Locs Locations needed to build a mappable clause. It includes 1) 4847 OpenMPClauseKind K, const OMPVarListLocTy &Locs, 4851 : OMPVarListClause<T>(K, Locs.StartLoc, Locs.LParenLoc, Locs.EndLoc, 5386 /// \param Locs Locations needed to build a mappable clause. It includes 1) 5399 SourceLocation MapLoc, const OMPVarListLocTy &Locs, 5401 : OMPMappableExprListClause(llvm::omp::OMPC_map, Locs, Sizes, 5462 /// \param Locs Locations needed to build a mappable clause. It includes 1) 5479 Create(const ASTContext &C, const OMPVarListLocTy &Locs, 4846 OMPMappableExprListClause( OpenMPClauseKind K, const OMPVarListLocTy &Locs, const OMPMappableExprListSizeTy &Sizes, NestedNameSpecifierLoc *MapperQualifierLocPtr = nullptr, DeclarationNameInfo *MapperIdInfoPtr = nullptr) argument 5394 OMPMapClause(ArrayRef<OpenMPMapModifierKind> MapModifiers, ArrayRef<SourceLocation> MapModifiersLoc, NestedNameSpecifierLoc MapperQualifierLoc, DeclarationNameInfo MapperIdInfo, OpenMPMapClauseKind MapType, bool MapTypeIsImplicit, SourceLocation MapLoc, const OMPVarListLocTy &Locs, const OMPMappableExprListSizeTy &Sizes) argument 6305 OMPToClause(NestedNameSpecifierLoc MapperQualifierLoc, DeclarationNameInfo MapperIdInfo, const OMPVarListLocTy &Locs, const OMPMappableExprListSizeTy &Sizes) argument 6424 OMPFromClause(NestedNameSpecifierLoc MapperQualifierLoc, DeclarationNameInfo MapperIdInfo, const OMPVarListLocTy &Locs, const OMPMappableExprListSizeTy &Sizes) argument 6540 OMPUseDevicePtrClause(const OMPVarListLocTy &Locs, const OMPMappableExprListSizeTy &Sizes) argument 6704 OMPUseDeviceAddrClause(const OMPVarListLocTy &Locs, const OMPMappableExprListSizeTy &Sizes) argument 6808 OMPIsDevicePtrClause(const OMPVarListLocTy &Locs, const OMPMappableExprListSizeTy &Sizes) argument [all...] |
H A D | DeclObjC.h | 116 const SourceLocation *Locs, ASTContext &Ctx); 1484 const SourceLocation *Locs, ASTContext &C) { 1485 data().ReferencedProtocols.set(List, Num, Locs, C); 2169 const SourceLocation *Locs, ASTContext &C) { 2171 data().ReferencedProtocols.set(List, Num, Locs, C); 2336 const SourceLocation *Locs, ASTContext &C) { 2337 ReferencedProtocols.set(List, Num, Locs, C); 1483 setProtocolList(ObjCProtocolDecl *const* List, unsigned Num, const SourceLocation *Locs, ASTContext &C) argument 2168 setProtocolList(ObjCProtocolDecl *const*List, unsigned Num, const SourceLocation *Locs, ASTContext &C) argument 2335 setProtocolList(ObjCProtocolDecl *const*List, unsigned Num, const SourceLocation *Locs, ASTContext &C) argument
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | DelayedDiagnostic.h | 141 ArrayRef<SourceLocation> Locs,
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | DebugInfoMetadata.cpp | 79 DILocation *DILocation::getMergedLocations(ArrayRef<const DILocation *> Locs) { 80 if (Locs.empty()) 82 if (Locs.size() == 1) 83 return Locs[0]; 84 auto *Merged = Locs[0]; 85 for (auto I = std::next(Locs.begin()), E = Locs.end(); I != E; ++I) {
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/TableGen/ |
H A D | Record.h | 1438 SmallVector<SMLoc, 4> Locs; member in class:llvm::final::final::Record 1463 : Name(N), Locs(locs.begin(), locs.end()), TrackedRecords(records), 1476 : Name(O.Name), Locs(O.Locs), TemplateArgs(O.TemplateArgs), 1497 ArrayRef<SMLoc> getLoc() const { return Locs; } 1498 void appendLoc(SMLoc Loc) { Locs.push_back(Loc); }
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGStmt.cpp | 1931 SmallVector<llvm::Metadata *, 8> Locs; local 1933 Locs.push_back(llvm::ConstantAsMetadata::get(llvm::ConstantInt::get( 1948 Locs.push_back(llvm::ConstantAsMetadata::get( 1953 return llvm::MDNode::get(CGF.getLLVMContext(), Locs);
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | llvm-objdump.cpp | 642 Expected<DWARFLocationExpressionsVector> Locs = 644 if (!Locs) { 648 consumeError(Locs.takeError()); 652 for (const DWARFLocationExpression &LocExpr : *Locs) {
|