Home
last modified time | relevance | path

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

123

/freebsd/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.cpp392 ArrayRef<SourceLocation> Locs, in DoEmitAvailabilityWarning() argument
419 SourceLocation Loc = Locs.front(); in DoEmitAvailabilityWarning()
598 assert(SelectorSlotNames.size() == Locs.size()); in DoEmitAvailabilityWarning()
599 for (unsigned I = 0; I < Locs.size(); ++I) { in DoEmitAvailabilityWarning()
602 Locs[I], S.getLocForEndOfToken(Locs[I])); in DoEmitAvailabilityWarning()
607 FixItHint::CreateInsertion(Locs[I], SelectorSlotNames[I])); in DoEmitAvailabilityWarning()
674 ArrayRef<SourceLocation> Locs, in EmitAvailabilityWarning() argument
682 AR, Locs, ReferringDecl, OffendingDecl, UnknownObjCClass, in EmitAvailabilityWarning()
689 Message, Locs, UnknownObjCClass, ObjCProperty, in EmitAvailabilityWarning()
1044 ArrayRef<SourceLocation> Locs, in DiagnoseAvailabilityOfDecl() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDebugLocStream.h155 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 DDebugLocEntry.h120 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 DDIEHash.cpp240 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 DDebugLocStream.cpp41 if (!Locs.finalizeList(Asm)) in ~ListBuilder()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCallingConvLower.cpp29 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 DStackMaps.cpp209 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 print()
H A DAssignmentTrackingAnalysis.cpp834 if (const auto *Locs = FnVarLocs->getWedge(&DVR)) { in process() local
835 for (const VarLocInfo &Loc : *Locs) { in process()
840 if (const auto *Locs = FnVarLocs->getWedge(&I)) { in process() local
841 for (const VarLocInfo &Loc : *Locs) { in process()
2506 const auto *Locs = FnVarLocs.getWedge(WedgePosition); in removeRedundantDbgLocsUsingBackwardScan() local
2507 if (!Locs) in removeRedundantDbgLocsUsingBackwardScan()
2516 for (auto RIt = Locs->rbegin(), REnd = Locs->rend(); RIt != REnd; ++RIt) { in removeRedundantDbgLocsUsingBackwardScan()
2601 const auto *Locs = FnVarLocs.getWedge(WedgePosition); in removeRedundantDbgLocsUsingForwardScan() local
2602 if (!Locs) in removeRedundantDbgLocsUsingForwardScan()
2611 for (const VarLocInfo &Loc : *Locs) { in removeRedundantDbgLocsUsingForwardScan()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DVarLocBasedImpl.cpp415 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()
438 unsigned OpIdx = Locs.size(); in VarLoc()
439 unsigned DuplicatingIdx = std::distance(Locs.begin(), It); in VarLoc()
478 assert(VL.Locs.size() == 1 && in CreateEntryLoc()
479 VL.Locs[0].Kind == MachineLocKind::RegisterKind); in CreateEntryLoc()
482 VL.Locs[0].Value.RegNo = Reg; in CreateEntryLoc()
493 assert(VL.Locs.size() == 1 && in CreateEntryBackupLoc()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCTagsEmitter.cpp67 ArrayRef<SMLoc> Locs = R->getLoc(); in locate() local
68 return !Locs.empty() ? Locs.front() : SMLoc(); in locate()
H A DGlobalISelCombinerMatchTableEmitter.cpp
H A DSearchableTableEmitter.cpp76 ArrayRef<SMLoc> Locs; // Source locations from the Record instance. member
562 << primaryRepresentation(Table.Locs[0], Field, in emitGenericTable()
661 PrintFatalError(Table.Locs, in collectTableEntries()
750 Table->Locs = TableRec->getLoc(); in run()
857 Table->Locs = Class->getLoc(); in run()
H A DDAGISelMatcherEmitter.cpp274 auto Locs = R->getLoc(); in getIncludePath() local
276 if (Locs.size() > 1) { in getIncludePath()
278 L = Locs[1]; in getIncludePath()
279 } else if (Locs.size() == 1) { in getIncludePath()
280 L = Locs[0]; in getIncludePath()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCCodeView.cpp362 std::vector<MCCVLoc> Locs = getFunctionLineEntries(FuncId); in emitLineTableForFunction() local
363 bool HaveColumns = any_of(Locs, [](const MCCVLoc &LineEntry) { in emitLineTableForFunction()
369 for (auto I = Locs.begin(), E = Locs.end(); I != E;) { in emitLineTableForFunction()
492 ArrayRef<MCCVLoc> Locs = getLinesForExtent(LocBegin, LocEnd); in encodeInlineLineTable() local
493 if (Locs.empty()) in encodeInlineLineTable()
498 const MCSection *FirstSec = &Locs.front().getLabel()->getSection(); in encodeInlineLineTable()
499 for (const MCCVLoc &Loc : Locs) { in encodeInlineLineTable()
512 MCCVLoc StartLoc = Locs.front(); in encodeInlineLineTable()
527 for (const MCCVLoc &Loc : Locs) { in encodeInlineLineTable()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCallingConvLower.h177 SmallVectorImpl<CCValAssign> &Locs; variable
232 SmallVectorImpl<CCValAssign> &Locs, LLVMContext &Context,
236 Locs.push_back(V); in addLoc()
305 /// but wasn't added to the location list (Locs).
518 unsigned NumFirstPassLocs = Locs.size(); in AnalyzeArgumentsSecondPass()
534 TmpArgLocs.swap(Locs); in AnalyzeArgumentsSecondPass()
537 std::back_inserter(Locs), in AnalyzeArgumentsSecondPass()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSarif.cpp327 json::Array Locs; in createThreadFlows() local
331 Locs.emplace_back( in createThreadFlows()
334 Ret["locations"] = std::move(Locs); in createThreadFlows()
396 json::Array Locs; in appendResult() local
398 Locs.emplace_back(createLocation(createPhysicalLocation(Range))); in appendResult()
400 Ret["locations"] = std::move(Locs); in appendResult()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kCallingConv.h31 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 DPPCCCState.h47 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 DSourcePrinter.cpp60 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/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenMP.h1117 const OMPVarListLocTy &Locs,
1227 const OMPVarListLocTy &Locs, bool NoDiagnose = false,
1258 ArrayRef<Expr *> VarList, const OMPVarListLocTy &Locs,
1266 ArrayRef<Expr *> VarList, const OMPVarListLocTy &Locs,
1270 const OMPVarListLocTy &Locs);
1273 const OMPVarListLocTy &Locs);
1276 const OMPVarListLocTy &Locs);
1279 const OMPVarListLocTy &Locs);
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DPatterns.cpp146 CXXPattern::expandCode(const CodeExpansions &CE, ArrayRef<SMLoc> Locs, in expandCode() argument
156 CodeExpander Expander(RawCode, CE, Locs, /*ShowExpansions*/ false); in expandCode()
217 void InstructionPattern::reportUnreachable(ArrayRef<SMLoc> Locs) const { in reportUnreachable()
218 PrintError(Locs, "pattern '" + getName() + "' ('" + getInstName() + in reportUnreachable()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOpenMPClause.cpp1141 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
1339 OMPUseDevicePtrClause *Clause = new (Mem) OMPUseDevicePtrClause(Locs, Sizes); in Create()
1361 OMPUseDeviceAddrClause::Create(const ASTContext &C, const OMPVarListLocTy &Locs, in Create() argument
1388 auto *Clause = new (Mem) OMPUseDeviceAddrClause(Locs, Sizes); in Create()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h408 SmallVector<Loc, 8> Locs; member
417 if (!Locs.empty() && Locs.back().isActive(P)) { in add()
418 if (Locs.back().Priority <= Prio) { in add()
419 Locs.back().TemplateName = TemplateName; in add()
420 Locs.back().LessLoc = LessLoc; in add()
421 Locs.back().Priority = Prio; in add()
424 Locs.push_back({TemplateName, LessLoc, Prio, in add()
433 while (!Locs.empty() && Locs.back().isActiveOrNested(P)) in clear()
434 Locs.pop_back(); in clear()
440 if (!Locs.empty() && Locs.back().isActive(P)) in getCurrent()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h5355 OpenMPClauseKind K, const OMPVarListLocTy &Locs,
5359 : OMPVarListClause<T>(K, Locs.StartLoc, Locs.LParenLoc, Locs.EndLoc,
5940 SourceLocation MapLoc, const OMPVarListLocTy &Locs, in OMPMapClause() argument
5942 : OMPMappableExprListClause(llvm::omp::OMPC_map, Locs, Sizes, in OMPMapClause()
6026 Create(const ASTContext &C, const OMPVarListLocTy &Locs,
6919 const OMPVarListLocTy &Locs, in OMPToClause() argument
6921 : OMPMappableExprListClause(llvm::omp::OMPC_to, Locs, Sizes, in OMPToClause()
6998 static OMPToClause *Create(const ASTContext &C, const OMPVarListLocTy &Locs,
7120 const OMPVarListLocTy &Locs, in OMPFromClause() argument
7122 : OMPMappableExprListClause(llvm::omp::OMPC_from, Locs, Sizes, in OMPFromClause()
[all …]

123