Searched refs:Locs (Results 1 - 25 of 48) sorted by relevance

12

/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DDelayedDiagnostic.cpp25 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 DSemaAvailability.cpp314 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...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DDebugLocStream.h157 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 DDebugLocEntry.h117 DbgValueLoc(const DIExpression *Expr, ArrayRef<DbgValueLocEntry> Locs) argument
118 : Expression(Expr), ValueLocEntries(Locs.begin(), Locs.end()),
123 is_contained(Locs, dwarf::DW_OP_stack_value));
127 DbgValueLoc(const DIExpression *Expr, ArrayRef<DbgValueLocEntry> Locs, argument
129 : Expression(Expr), ValueLocEntries(Locs.begin(), Locs.end()),
133 !any_of(Locs, [](auto LE) { return LE.isLocation(); }));
H A DDebugLocStream.cpp41 if (!Locs.finalizeList(Asm))
H A DDIEHash.cpp233 const DebugLocStream &Locs = DD.getDebugLocs(); local
234 const DebugLocStream::List &List = Locs.getList(LocList.getValue());
235 for (const DebugLocStream::Entry &Entry : Locs.getEntries(List))
/netbsd-current/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DCTagsEmitter.cpp60 ArrayRef<SMLoc> Locs = R->getLoc(); local
61 return !Locs.empty() ? Locs.front() : SMLoc();
H A DSearchableTableEmitter.cpp74 ArrayRef<SMLoc> Locs; // Source locations from the Record instance. member in struct:__anon3315::GenericTable
511 << primaryRepresentation(Table.Locs[0], Field,
609 PrintFatalError(Table.Locs,
689 Table->Locs = TableRec->getLoc();
777 Table->Locs = Class->getLoc();
H A DDAGISelMatcherEmitter.cpp225 auto Locs = R->getLoc(); local
227 if (Locs.size() > 1) {
229 L = Locs[1];
230 } else if (Locs.size() == 1) {
231 L = Locs[0];
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/M68k/
H A DM68kCallingConv.h32 MachineFunction &MF, SmallVectorImpl<CCValAssign> &Locs,
34 : CCState(CC, IsVarArg, MF, Locs, C), F(F) {}
31 M68kCCState(const llvm::Function &F, CallingConv::ID CC, bool IsVarArg, MachineFunction &MF, SmallVectorImpl<CCValAssign> &Locs, LLVMContext &C) argument
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCCCState.h47 SmallVectorImpl<CCValAssign> &Locs, LLVMContext &C)
48 : CCState(CC, IsVarArg, MF, Locs, C) {}
46 AIXCCState(CallingConv::ID CC, bool IsVarArg, MachineFunction &MF, SmallVectorImpl<CCValAssign> &Locs, LLVMContext &C) argument
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DCallingConvLower.cpp33 TRI(*MF.getSubtarget().getRegisterInfo()), Locs(locs), Context(C) {
75 for (auto const &ValAssign : Locs) {
210 unsigned NumLocs = Locs.size();
228 HaveRegParm = Locs.back().isRegLoc();
232 assert(NumLocs < Locs.size() && "CC assignment failed to add location");
233 for (unsigned I = NumLocs, E = Locs.size(); I != E; ++I)
234 if (Locs[I].isRegLoc())
235 Regs.push_back(MCPhysReg(Locs[I].getLocReg()));
242 Locs.resize(NumLocs);
H A DStackMaps.cpp189 MachineInstr::const_mop_iterator MOE, LocationVec &Locs,
204 Locs.emplace_back(StackMaps::Location::Direct, Size,
213 Locs.emplace_back(StackMaps::Location::Indirect, Size,
221 Locs.emplace_back(Location::Constant, sizeof(int64_t), 0, Imm);
239 Locs.emplace_back(Location::Constant, sizeof(int64_t), 0, 0xFEFEFEFE);
255 Locs.emplace_back(Location::Register, TRI->getSpillSize(*RC),
188 parseOperand(MachineInstr::const_mop_iterator MOI, MachineInstr::const_mop_iterator MOE, LocationVec &Locs, LiveOutVec &LiveOuts) const argument
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/LiveDebugValues/
H A DVarLocBasedImpl.cpp399 SmallVector<MachineLoc, 8> Locs; member in struct:__anon1789::VarLocBasedLDV::VarLoc
400 /// Used to map the index of each location in Locs back to the index of its
416 auto It = find(Locs, ML);
417 if (It == Locs.end()) {
418 Locs.push_back(ML);
421 // ML duplicates an element in Locs; replace references to Op
423 unsigned OpIdx = Locs.size();
424 unsigned DuplicatingIdx = std::distance(Locs.begin(), It);
460 assert(VL.Locs.size() == 1 &&
461 VL.Locs[
928 getVarLocsInMBB(const MachineBasicBlock *MBB, VarLocInMBB &Locs) argument
[all...]
H A DInstrRefBasedImpl.cpp535 void loadFromArray(ValueIDNum *Locs, unsigned NewCurBB) {
540 Location.Value = Locs[Location.Idx.asU64()];
2527 SmallVector<SmallVector<LocIdx, 4>, 8> Locs;
2538 Locs.resize(Locs.size() + 1);
2564 Locs.back().push_back(LocIdx(I));
2569 if (Locs.empty())
2575 [&Locs](llvm::iterator_range<LocsIt> SearchRange) -> Optional<LocIdx> {
2578 SmallVector<LocIdx, 4> base = Locs[0];
2597 auto TheLoc = SeekLocation(Locs);
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DCallingConvLower.h198 SmallVectorImpl<CCValAssign> &Locs; member in class:llvm::CCState
254 Locs.push_back(V);
326 /// but wasn't added to the location list (Locs).
534 unsigned NumFirstPassLocs = Locs.size();
550 TmpArgLocs.swap(Locs);
553 std::back_inserter(Locs),
H A DStackMaps.h363 MachineInstr::const_mop_iterator MOE, LocationVec &Locs,
/netbsd-current/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCCodeView.cpp341 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...]
/netbsd-current/external/apache2/llvm/dist/llvm/tools/sancov/
H A Dsancov.cpp150 SmallVector<DILineInfo, 1> Locs; member in struct:__anon3249::CoveragePoint
303 for (const DILineInfo &Loc : Point.Locs) {
312 for (const DILineInfo &Loc : PointPtr->Locs) {
325 for (const auto &Loc : Point->Locs) {
434 CoveragePoint->Locs.push_back(LineInfo);
569 Point.Locs.push_back(*LineInfo);
584 Point.Locs.push_back(FrameInfo);
915 for (const auto &Loc : Point.Locs) {
930 for (const auto &Loc : Point.Locs) {
947 for (const auto &Loc : Point.Locs) {
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp52 Expected<DWARFLocationExpressionsVector> Locs = local
54 if (!Locs) {
58 consumeError(Locs.takeError());
62 for (const DWARFLocationExpression &LocExpr : *Locs) {
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Parse/
H A DParser.h348 SmallVector<Loc, 8> Locs; member in class:clang::Parser
357 if (!Locs.empty() && Locs.back().isActive(P)) {
358 if (Locs.back().Priority <= Prio) {
359 Locs.back().TemplateName = TemplateName;
360 Locs.back().LessLoc = LessLoc;
361 Locs.back().Priority = Prio;
364 Locs.push_back({TemplateName, LessLoc, Prio,
373 while (!Locs.empty() && Locs
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
H A DOpenMPClause.cpp1082 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars,
1113 Type, TypeIsImplicit, TypeLoc, Locs, Sizes);
1136 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars,
1166 UDMQualifierLoc, MapperId, Locs, Sizes);
1186 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars,
1217 UDMQualifierLoc, MapperId, Locs, Sizes);
1250 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars,
1277 OMPUseDevicePtrClause *Clause = new (Mem) OMPUseDevicePtrClause(Locs, Sizes);
1299 OMPUseDeviceAddrClause::Create(const ASTContext &C, const OMPVarListLocTy &Locs,
1326 auto *Clause = new (Mem) OMPUseDeviceAddrClause(Locs, Size
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DDelayedDiagnostic.h136 ArrayRef<SourceLocation> Locs,
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp1543 AAQueryInfo::LocPair Locs({V1, V1Size}, {V2, V2Size});
1546 std::swap(Locs.first, Locs.second);
1548 Locs, AAQueryInfo::CacheEntry{AliasResult::NoAlias, 0});
1567 auto It = AAQI.AliasCache.find(Locs);
1595 AAQI.AssumptionBasedResults.push_back(Locs);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/IR/
H A DDebugInfoMetadata.cpp86 DILocation *DILocation::getMergedLocations(ArrayRef<const DILocation *> Locs) {
87 if (Locs.empty())
89 if (Locs.size() == 1)
90 return Locs[0];
91 auto *Merged = Locs[0];
92 for (const DILocation *L : llvm::drop_begin(Locs)) {

Completed in 477 milliseconds

12