| /freebsd/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 | 411 ArrayRef<SourceLocation> Locs, in DoEmitAvailabilityWarning() argument 438 SourceLocation Loc = Locs.front(); in DoEmitAvailabilityWarning() 641 assert(SelectorSlotNames.size() == Locs.size()); in DoEmitAvailabilityWarning() 642 for (unsigned I = 0; I < Locs.size(); ++I) { in DoEmitAvailabilityWarning() 645 Locs[I], S.getLocForEndOfToken(Locs[I])); in DoEmitAvailabilityWarning() 650 FixItHint::CreateInsertion(Locs[I], SelectorSlotNames[I])); in DoEmitAvailabilityWarning() 717 ArrayRef<SourceLocation> Locs, in EmitAvailabilityWarning() argument 725 AR, Locs, ReferringDecl, OffendingDecl, UnknownObjCClass, in EmitAvailabilityWarning() 732 Message, Locs, UnknownObjCClass, ObjCProperty, in EmitAvailabilityWarning() 1113 ArrayRef<SourceLocation> Locs, in DiagnoseAvailabilityOfDecl() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DebugLocStream.h | 155 DebugLocStream &Locs; 162 ListBuilder(DebugLocStream &Locs, DwarfCompileUnit &CU, AsmPrinter &Asm, 164 : Locs(Locs), Asm(Asm), V(V), ListIndex(Locs.startList(&CU)), in ListBuilder() argument 177 DebugLocStream &getLocs() { return Locs; } 182 DebugLocStream &Locs; 186 : Locs(List.getLocs()) { 187 Locs.startEntry(Begin, End); in EntryBuilder() 191 ~EntryBuilder() { Locs in EntryBuilder() 156 DebugLocStream &Locs; global() variable 184 DebugLocStream &Locs; global() variable [all...] |
| H A D | DebugLocEntry.h | 120 DbgValueLoc(const DIExpression *Expr, ArrayRef<DbgValueLocEntry> Locs) in DbgValueLoc() argument 121 : Expression(Expr), ValueLocEntries(Locs), IsVariadic(true) {} in DbgValueLoc() 123 DbgValueLoc(const DIExpression *Expr, ArrayRef<DbgValueLocEntry> Locs, in DbgValueLoc() argument 125 : Expression(Expr), ValueLocEntries(Locs), IsVariadic(IsVariadic) { in DbgValueLoc() 128 !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/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(Locs[I].getLocReg()); in getRemainingRegParmsForType() 237 Locs.truncate(NumLocs); in getRemainingRegParmsForType()
|
| H A D | StackMaps.cpp | 208 MachineInstr::const_mop_iterator MOE, LocationVec &Locs, in parseOperand() argument 223 Locs.emplace_back(StackMaps::Location::Direct, Size, in parseOperand() 232 Locs.emplace_back(StackMaps::Location::Indirect, Size, in parseOperand() 241 Locs.emplace_back(Location::Constant, sizeof(int64_t), 0, Imm); in parseOperand() 253 Locs.emplace_back(Location::ConstantIndex, sizeof(int64_t), 0, in parseOperand() 283 Locs.emplace_back(Location::Register, TRI->getSpillSize(*RC), in parseOperand()
|
| H A D | AssignmentTrackingAnalysis.cpp | 832 if (const auto *Locs = FnVarLocs->getWedge(&DVR)) { in process() local 833 for (const VarLocInfo &Loc : *Locs) { in process() 838 if (const auto *Locs = FnVarLocs->getWedge(&I)) { in process() local 839 for (const VarLocInfo &Loc : *Locs) { in process() 2479 const auto *Locs = FnVarLocs.getWedge(WedgePosition); in removeRedundantDbgLocsUsingBackwardScan() local 2480 if (!Locs) in removeRedundantDbgLocsUsingBackwardScan() 2489 for (auto RIt = Locs->rbegin(), REnd = Locs->rend(); RIt != REnd; ++RIt) { in removeRedundantDbgLocsUsingBackwardScan() 2574 const auto *Locs = FnVarLocs.getWedge(WedgePosition); in removeRedundantDbgLocsUsingForwardScan() local 2575 if (!Locs) in removeRedundantDbgLocsUsingForwardScan() 2584 for (const VarLocInfo &Loc : *Locs) { in removeRedundantDbgLocsUsingForwardScan() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | VarLocBasedImpl.cpp | 417 SmallVector<MachineLoc, 8> Locs; member 433 auto It = find(Locs, ML); in VarLoc() 434 if (It == Locs.end()) { in VarLoc() 435 Locs.push_back(ML); in VarLoc() 440 unsigned OpIdx = Locs.size(); in VarLoc() 441 unsigned DuplicatingIdx = std::distance(Locs.begin(), It); in VarLoc() 480 assert(VL.Locs.size() == 1 && in CreateEntryLoc() 481 VL.Locs[0].Kind == MachineLocKind::RegisterKind); in CreateEntryLoc() 484 VL.Locs[0].Value.RegNo = Reg; in CreateEntryLoc() 495 assert(VL.Locs.size() == 1 && in CreateEntryBackupLoc() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DebugLoc.cpp | 170 DebugLoc DebugLoc::getMergedLocations(ArrayRef<DebugLoc> Locs) { in getMergedLocations() argument 171 if (Locs.empty()) in getMergedLocations() 173 if (Locs.size() == 1) in getMergedLocations() 174 return Locs[0]; in getMergedLocations() 175 DebugLoc Merged = Locs[0]; in getMergedLocations() 176 for (const DebugLoc &DL : llvm::drop_begin(Locs)) { in getMergedLocations()
|
| /freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | Error.cpp | 27 static void PrintMessage(ArrayRef<SMLoc> Locs, SourceMgr::DiagKind Kind, in PrintMessage() argument 35 if (Locs.empty()) in PrintMessage() 36 Locs = NullLoc; in PrintMessage() 37 SrcMgr.PrintMessage(Locs.consume_front(), Kind, Msg); in PrintMessage() 38 for (SMLoc Loc : Locs) in PrintMessage()
|
| H A D | JSONBackend.cpp | 164 json::Array Locs; in run() local 166 Locs.push_back(SrcMgr.getFormattedLocationNoOffset(Loc)); in run() 167 Obj["!locs"] = std::move(Locs); in run()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | CTagsEmitter.cpp | 67 ArrayRef<SMLoc> Locs = R->getLoc(); in locate() local 68 return !Locs.empty() ? Locs.front() : SMLoc(); in locate()
|
| H A D | GlobalISelCombinerMatchTableEmitter.cpp | |
| H A D | SearchableTableEmitter.cpp | 88 ArrayRef<SMLoc> Locs; // Source locations from the Record instance. member 583 << primaryRepresentation(Table.Locs[0], Field, in emitGenericTable() 685 PrintFatalError(Table.Locs, in collectTableEntries() 777 Table->Locs = TableRec->getLoc(); in run() 888 Table->Locs = Class->getLoc(); in run()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Sarif.cpp | 326 json::Array Locs; in createThreadFlows() local 330 Locs.emplace_back( in createThreadFlows() 333 Ret["locations"] = std::move(Locs); in createThreadFlows() 395 json::Array Locs; in appendResult() local 397 Locs.emplace_back(createLocation(createPhysicalLocation(Range))); in appendResult() 399 Ret["locations"] = std::move(Locs); in appendResult()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCCodeView.cpp | 350 std::vector<MCCVLoc> Locs = getFunctionLineEntries(FuncId); in emitLineTableForFunction() local 351 bool HaveColumns = any_of(Locs, [](const MCCVLoc &LineEntry) { in emitLineTableForFunction() 357 for (auto I = Locs.begin(), E = Locs.end(); I != E;) { in emitLineTableForFunction() 480 ArrayRef<MCCVLoc> Locs = getLinesForExtent(LocBegin, LocEnd); in encodeInlineLineTable() local 481 if (Locs.empty()) in encodeInlineLineTable() 486 const MCSection *FirstSec = &Locs.front().getLabel()->getSection(); in encodeInlineLineTable() 487 for (const MCCVLoc &Loc : Locs) { in encodeInlineLineTable() 500 MCCVLoc StartLoc = Locs.front(); in encodeInlineLineTable() 514 for (const MCCVLoc &Loc : Locs) { in encodeInlineLineTable()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | CallingConvLower.h | 178 SmallVectorImpl<CCValAssign> &Locs; variable 233 SmallVectorImpl<CCValAssign> &Locs, LLVMContext &Context, 237 Locs.push_back(V); in addLoc() 521 unsigned NumFirstPassLocs = Locs.size(); in AnalyzeArgumentsSecondPass() 537 TmpArgLocs.swap(Locs); in AnalyzeArgumentsSecondPass() 540 std::back_inserter(Locs), in AnalyzeArgumentsSecondPass()
|
| /freebsd/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/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/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | SourcePrinter.cpp | 58 Expected<DWARFLocationExpressionsVector> Locs = in addVariable() local 60 if (!Locs) { in addVariable() 64 consumeError(Locs.takeError()); in addVariable() 68 for (const DWARFLocationExpression &LocExpr : *Locs) { in addVariable()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaOpenMP.h | 1180 const OMPVarListLocTy &Locs, 1296 const OMPVarListLocTy &Locs, bool NoDiagnose = false, 1328 ArrayRef<Expr *> VarList, const OMPVarListLocTy &Locs, 1336 ArrayRef<Expr *> VarList, const OMPVarListLocTy &Locs, 1340 const OMPVarListLocTy &Locs); 1343 const OMPVarListLocTy &Locs); 1346 const OMPVarListLocTy &Locs); 1349 const OMPVarListLocTy &Locs);
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
| H A D | Patterns.cpp | 184 CXXPattern::expandCode(const CodeExpansions &CE, ArrayRef<SMLoc> Locs, in expandCode() argument 194 CodeExpander Expander(RawCode, CE, Locs, /*ShowExpansions*/ false); in expandCode() 255 void InstructionPattern::reportUnreachable(ArrayRef<SMLoc> Locs) const { in reportUnreachable() 256 PrintError(Locs, "pattern '" + getName() + "' ('" + getInstName() + in reportUnreachable()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 7879 SmallVector<Loc, 8> Locs; member 7888 if (!Locs.empty() && Locs.back().isActive(P)) { in add() 7889 if (Locs.back().Priority <= Prio) { in add() 7890 Locs.back().TemplateName = TemplateName; in add() 7891 Locs.back().LessLoc = LessLoc; in add() 7892 Locs.back().Priority = Prio; in add() 7895 Locs.push_back({TemplateName, LessLoc, Prio, P.ParenCount, in add() 7904 while (!Locs.empty() && Locs.back().isActiveOrNested(P)) in clear() 7905 Locs.pop_back(); in clear() 7911 if (!Locs.empty() && Locs.back().isActive(P)) in getCurrent() [all …]
|