| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | DelayedDiagnostic.cpp | 25 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 D | SemaAvailability.cpp | 330 ArrayRef<SourceLocation> Locs, in DoEmitAvailabilityWarning() argument 353 SourceLocation Loc = Locs.front(); in DoEmitAvailabilityWarning() 521 assert(SelectorSlotNames.size() == Locs.size()); in DoEmitAvailabilityWarning() 522 for (unsigned I = 0; I < Locs.size(); ++I) { in DoEmitAvailabilityWarning() 525 Locs[I], S.getLocForEndOfToken(Locs[I])); in DoEmitAvailabilityWarning() 530 FixItHint::CreateInsertion(Locs[I], SelectorSlotNames[I])); in DoEmitAvailabilityWarning() 597 ArrayRef<SourceLocation> Locs, in EmitAvailabilityWarning() argument 605 AR, Locs, ReferringDecl, OffendingDecl, UnknownObjCClass, in EmitAvailabilityWarning() 612 Message, Locs, UnknownObjCClass, ObjCProperty, in EmitAvailabilityWarning() 964 ArrayRef<SourceLocation> Locs, in DiagnoseAvailabilityOfDecl() argument [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DebugLocStream.h | 155 DebugLocStream &Locs; variable 162 ListBuilder(DebugLocStream &Locs, DwarfCompileUnit &CU, AsmPrinter &Asm, in ListBuilder() argument 164 : Locs(Locs), Asm(Asm), V(V), ListIndex(Locs.startList(&CU)), in ListBuilder() 177 DebugLocStream &getLocs() { return Locs; } in getLocs() 182 DebugLocStream &Locs; variable 186 : Locs(List.getLocs()) { in EntryBuilder() 187 Locs.startEntry(Begin, End); in EntryBuilder() 191 ~EntryBuilder() { Locs.finalizeEntry(); } in ~EntryBuilder() 193 BufferByteStreamer getStreamer() { return Locs.getStreamer(); } in getStreamer()
|
| H A D | DebugLocEntry.h | 120 DbgValueLoc(const DIExpression *Expr, ArrayRef<DbgValueLocEntry> Locs) in DbgValueLoc() argument 121 : Expression(Expr), ValueLocEntries(Locs.begin(), Locs.end()), in DbgValueLoc() 124 DbgValueLoc(const DIExpression *Expr, ArrayRef<DbgValueLocEntry> Locs, in DbgValueLoc() argument 126 : Expression(Expr), ValueLocEntries(Locs.begin(), Locs.end()), in DbgValueLoc() 130 !any_of(Locs, [](auto LE) { return LE.isLocation(); })); in DbgValueLoc()
|
| H A D | DIEHash.cpp | 240 const DebugLocStream &Locs = DD.getDebugLocs(); in hashLocList() local 241 const DebugLocStream::List &List = Locs.getList(LocList.getValue()); in hashLocList() 242 for (const DebugLocStream::Entry &Entry : Locs.getEntries(List)) in hashLocList()
|
| H A D | DebugLocStream.cpp | 41 if (!Locs.finalizeList(Asm)) in ~ListBuilder()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CallingConvLower.cpp | 29 SmallVectorImpl<CCValAssign> &Locs, LLVMContext &Context, in CCState() argument 32 TRI(*MF.getSubtarget().getRegisterInfo()), Locs(Locs), Context(Context), in CCState() 76 for (auto const &ValAssign : Locs) in IsShadowAllocatedReg() 205 unsigned NumLocs = Locs.size(); in getRemainingRegParmsForType() 223 HaveRegParm = Locs.back().isRegLoc(); in getRemainingRegParmsForType() 227 assert(NumLocs < Locs.size() && "CC assignment failed to add location"); in getRemainingRegParmsForType() 228 for (unsigned I = NumLocs, E = Locs.size(); I != E; ++I) in getRemainingRegParmsForType() 229 if (Locs[I].isRegLoc()) in getRemainingRegParmsForType() 230 Regs.push_back(MCPhysReg(Locs[I].getLocReg())); in getRemainingRegParmsForType() 237 Locs.truncate(NumLocs); in getRemainingRegParmsForType()
|
| H A D | StackMaps.cpp | 209 MachineInstr::const_mop_iterator MOE, LocationVec &Locs, in parseOperand() argument 224 Locs.emplace_back(StackMaps::Location::Direct, Size, in parseOperand() 233 Locs.emplace_back(StackMaps::Location::Indirect, Size, in parseOperand() 242 Locs.emplace_back(Location::Constant, sizeof(int64_t), 0, Imm); in parseOperand() 254 Locs.emplace_back(Location::ConstantIndex, sizeof(int64_t), 0, in parseOperand() 274 Locs.emplace_back(Location::Constant, sizeof(int64_t), 0, 0xFEFEFEFE); in parseOperand() 290 Locs.emplace_back(Location::Register, TRI->getSpillSize(*RC), in parseOperand()
|
| H A D | AssignmentTrackingAnalysis.cpp | 833 if (const auto *Locs = FnVarLocs->getWedge(&DPV)) { in process() local 834 for (const VarLocInfo &Loc : *Locs) { in process() 839 if (const auto *Locs = FnVarLocs->getWedge(&I)) { in process() local 840 for (const VarLocInfo &Loc : *Locs) { in process() 2499 const auto *Locs = FnVarLocs.getWedge(WedgePosition); in removeRedundantDbgLocsUsingBackwardScan() local 2500 if (!Locs) in removeRedundantDbgLocsUsingBackwardScan() 2509 for (auto RIt = Locs->rbegin(), REnd = Locs->rend(); RIt != REnd; ++RIt) { in removeRedundantDbgLocsUsingBackwardScan() 2595 if (!Locs) in removeRedundantDbgLocsUsingForwardScan() 2604 for (const VarLocInfo &Loc : *Locs) { in removeRedundantDbgLocsUsingForwardScan() 2683 if (!Locs) in removeUndefDbgLocsFromEntryBlock() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | VarLocBasedImpl.cpp | 415 SmallVector<MachineLoc, 8> Locs; member 431 auto It = find(Locs, ML); in VarLoc() 432 if (It == Locs.end()) { in VarLoc() 433 Locs.push_back(ML); in VarLoc() 478 assert(VL.Locs.size() == 1 && in CreateEntryLoc() 482 VL.Locs[0].Value.RegNo = Reg; in CreateEntryLoc() 493 assert(VL.Locs.size() == 1 && in CreateEntryBackupLoc() 507 assert(VL.Locs.size() == 1 && in CreateEntryCopyBackupLoc() 657 for (const auto &Loc : Locs) in getDescribingRegs() 717 if (Locs.begin() != &MLoc) in dump() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | CTagsEmitter.cpp | 64 ArrayRef<SMLoc> Locs = R->getLoc(); in locate() local 65 return !Locs.empty() ? Locs.front() : SMLoc(); in locate()
|
| H A D | SearchableTableEmitter.cpp | 73 ArrayRef<SMLoc> Locs; // Source locations from the Record instance. member 512 << primaryRepresentation(Table.Locs[0], Field, in emitGenericTable() 610 PrintFatalError(Table.Locs, in collectTableEntries() 697 Table->Locs = TableRec->getLoc(); in run() 801 Table->Locs = Class->getLoc(); in run()
|
| H A D | DAGISelMatcherEmitter.cpp | 275 auto Locs = R->getLoc(); in getIncludePath() local 277 if (Locs.size() > 1) { in getIncludePath() 279 L = Locs[1]; in getIncludePath() 280 } else if (Locs.size() == 1) { in getIncludePath() 281 L = Locs[0]; in getIncludePath()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCCodeView.cpp | 365 std::vector<MCCVLoc> Locs = getFunctionLineEntries(FuncId); in emitLineTableForFunction() local 366 bool HaveColumns = any_of(Locs, [](const MCCVLoc &LineEntry) { in emitLineTableForFunction() 372 for (auto I = Locs.begin(), E = Locs.end(); I != E;) { in emitLineTableForFunction() 493 ArrayRef<MCCVLoc> Locs = getLinesForExtent(LocBegin, LocEnd); in encodeInlineLineTable() local 494 if (Locs.empty()) in encodeInlineLineTable() 499 const MCSection *FirstSec = &Locs.front().getLabel()->getSection(); in encodeInlineLineTable() 500 for (const MCCVLoc &Loc : Locs) { in encodeInlineLineTable() 513 MCCVLoc StartLoc = Locs.front(); in encodeInlineLineTable() 528 for (const MCCVLoc &Loc : Locs) { in encodeInlineLineTable()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | CallingConvLower.h | 177 SmallVectorImpl<CCValAssign> &Locs; variable 232 SmallVectorImpl<CCValAssign> &Locs, LLVMContext &Context, 236 Locs.push_back(V); in addLoc() 518 unsigned NumFirstPassLocs = Locs.size(); in AnalyzeArgumentsSecondPass() 534 TmpArgLocs.swap(Locs); in AnalyzeArgumentsSecondPass() 537 std::back_inserter(Locs), in AnalyzeArgumentsSecondPass()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Sarif.cpp | 328 json::Array Locs; in createThreadFlows() local 332 Locs.emplace_back( in createThreadFlows() 335 Ret["locations"] = std::move(Locs); in createThreadFlows() 397 json::Array Locs; in appendResult() local 399 Locs.emplace_back(createLocation(createPhysicalLocation(Range))); in appendResult() 401 Ret["locations"] = std::move(Locs); in appendResult()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kCallingConv.h | 31 MachineFunction &MF, SmallVectorImpl<CCValAssign> &Locs, in M68kCCState() 33 : CCState(CC, IsVarArg, MF, Locs, C), ArgTypeList(ArgTypes) {} in M68kCCState()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCCCState.h | 47 SmallVectorImpl<CCValAssign> &Locs, LLVMContext &C) in AIXCCState() argument 48 : CCState(CC, IsVarArg, MF, Locs, C) {} in AIXCCState()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
| H A D | Arena.h | 41 Locs.emplace_back(std::make_unique<T>(std::forward<Args>(args)...)) in create() 130 std::vector<std::unique_ptr<StorageLocation>> Locs; variable
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | SourcePrinter.cpp | 60 Expected<DWARFLocationExpressionsVector> Locs = in addVariable() local 62 if (!Locs) { in addVariable() 66 consumeError(Locs.takeError()); in addVariable() 70 for (const DWARFLocationExpression &LocExpr : *Locs) { in addVariable()
|
| /freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/ |
| H A D | Patterns.cpp | 145 CXXPattern::expandCode(const CodeExpansions &CE, ArrayRef<SMLoc> Locs, in expandCode() argument 153 CodeExpander Expander(RawCode, CE, Locs, /*ShowExpansions*/ false); in expandCode() 216 void InstructionPattern::reportUnreachable(ArrayRef<SMLoc> Locs) const { in reportUnreachable() 217 PrintError(Locs, "pattern '" + getName() + "' ('" + getInstName() + in reportUnreachable()
|
| H A D | Patterns.h | 217 expandCode(const CodeExpansions &CE, ArrayRef<SMLoc> Locs, 345 void reportUnreachable(ArrayRef<SMLoc> Locs) const;
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 377 SmallVector<Loc, 8> Locs; member 386 if (!Locs.empty() && Locs.back().isActive(P)) { in add() 387 if (Locs.back().Priority <= Prio) { in add() 388 Locs.back().TemplateName = TemplateName; in add() 389 Locs.back().LessLoc = LessLoc; in add() 390 Locs.back().Priority = Prio; in add() 393 Locs.push_back({TemplateName, LessLoc, Prio, in add() 402 while (!Locs.empty() && Locs.back().isActiveOrNested(P)) in clear() 403 Locs.pop_back(); in clear() 409 if (!Locs.empty() && Locs.back().isActive(P)) in getCurrent() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | OpenMPClause.cpp | 1141 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, in Create() argument 1172 Type, TypeIsImplicit, TypeLoc, Locs, Sizes); in Create() 1198 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, in Create() argument 1228 UDMQualifierLoc, MapperId, Locs, Sizes); in Create() 1248 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, in Create() argument 1279 UDMQualifierLoc, MapperId, Locs, Sizes); in Create() 1312 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, in Create() argument 1388 auto *Clause = new (Mem) OMPUseDeviceAddrClause(Locs, Sizes); in Create() 1408 OMPIsDevicePtrClause::Create(const ASTContext &C, const OMPVarListLocTy &Locs, in Create() argument 1435 OMPIsDevicePtrClause *Clause = new (Mem) OMPIsDevicePtrClause(Locs, Sizes); in Create() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | OpenMPClause.h | 5315 OpenMPClauseKind K, const OMPVarListLocTy &Locs, 5319 : OMPVarListClause<T>(K, Locs.StartLoc, Locs.LParenLoc, Locs.EndLoc, 5986 Create(const ASTContext &C, const OMPVarListLocTy &Locs, 6879 const OMPVarListLocTy &Locs, in OMPToClause() argument 7080 const OMPVarListLocTy &Locs, in OMPFromClause() argument 7160 Create(const ASTContext &C, const OMPVarListLocTy &Locs, 7330 Create(const ASTContext &C, const OMPVarListLocTy &Locs, 7464 Create(const ASTContext &C, const OMPVarListLocTy &Locs, 7529 explicit OMPIsDevicePtrClause(const OMPVarListLocTy &Locs, in OMPIsDevicePtrClause() argument 7567 Create(const ASTContext &C, const OMPVarListLocTy &Locs, [all …]
|