Home
last modified time | relevance | path

Searched refs:StartLoc (Results 1 – 25 of 91) sorted by relevance

1234

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmtOpenMP.h273 SourceLocation StartLoc; variable
296 SourceLocation StartLoc, SourceLocation EndLoc) in OMPExecutableDirective() argument
297 : Stmt(SC), Kind(K), StartLoc(std::move(StartLoc)), in OMPExecutableDirective()
483 SourceLocation getBeginLoc() const { return StartLoc; } in getBeginLoc()
491 void setLocStart(SourceLocation Loc) { StartLoc = Loc; } in setLocStart()
617 OMPParallelDirective(SourceLocation StartLoc, SourceLocation EndLoc) in OMPParallelDirective() argument
619 llvm::omp::OMPD_parallel, StartLoc, EndLoc) {} in OMPParallelDirective()
647 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc,
693 SourceLocation StartLoc, SourceLocation EndLoc, in OMPLoopBasedDirective() argument
695 : OMPExecutableDirective(SC, Kind, StartLoc, EndLoc), in OMPLoopBasedDirective()
[all …]
H A DOpenMPClause.h56 SourceLocation StartLoc; variable
65 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) in OMPClause() argument
66 : StartLoc(StartLoc), EndLoc(EndLoc), Kind(K) {} in OMPClause()
70 SourceLocation getBeginLoc() const { return StartLoc; } in getBeginLoc()
76 void setLocStart(SourceLocation Loc) { StartLoc = Loc; } in setLocStart()
84 bool isImplicit() const { return StartLoc.isInvalid(); } in isImplicit()
177 SourceLocation StartLoc; member
183 OMPVarListLocTy(SourceLocation StartLoc, SourceLocation LParenLoc, in OMPVarListLocTy()
185 : StartLoc(StartLoc), LParenLoc(LParenLoc), EndLoc(EndLoc) {} in OMPVarListLocTy()
208 OMPVarListClause(OpenMPClauseKind K, SourceLocation StartLoc, in OMPVarListClause() argument
[all …]
H A DDecl.h533 SourceLocation StartLoc, SourceLocation IdLoc,
547 bool Inline, SourceLocation StartLoc,
1017 VarDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
1047 SourceLocation StartLoc, SourceLocation IdLoc,
1640 ParmVarDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation StartLoc, in ParmVarDecl() argument
1643 : VarDecl(DK, C, DC, StartLoc, IdLoc, Id, T, TInfo, S) { in ParmVarDecl()
1653 SourceLocation StartLoc,
1962 FunctionDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
1997 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
2004 return FunctionDecl::Create(C, DC, StartLoc, NameInfo, T, TInfo, SC,
[all …]
H A DDeclCXX.h483 SourceLocation StartLoc, SourceLocation IdLoc,
544 SourceLocation StartLoc, SourceLocation IdLoc,
1852 CXXDeductionGuideDecl(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, in CXXDeductionGuideDecl() argument
1857 : FunctionDecl(CXXDeductionGuide, C, DC, StartLoc, NameInfo, T, TInfo, in CXXDeductionGuideDecl()
1874 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
1925 RequiresExprBodyDecl(ASTContext &C, DeclContext *DC, SourceLocation StartLoc) in RequiresExprBodyDecl() argument
1926 : Decl(RequiresExprBody, DC, StartLoc), DeclContext(RequiresExprBody) {} in RequiresExprBodyDecl()
1933 SourceLocation StartLoc);
1951 SourceLocation StartLoc, const DeclarationNameInfo &NameInfo,
1956 : FunctionDecl(DK, C, RD, StartLoc, NameInfo, T, TInfo, SC, isInline, in FunctionDecl() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DStmtOpenMP.cpp238 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() argument
242 C, Clauses, AssociatedStmt, /*NumChildren=*/1, StartLoc, EndLoc); in Create()
257 OMPSimdDirective::Create(const ASTContext &C, SourceLocation StartLoc, in Create() argument
263 StartLoc, EndLoc, CollapsedNum); in Create()
293 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() argument
298 StartLoc, EndLoc, CollapsedNum); in Create()
338 OMPTileDirective::Create(const ASTContext &C, SourceLocation StartLoc, in Create() argument
343 C, Clauses, AssociatedStmt, TransformedStmtOffset + 1, StartLoc, EndLoc, in Create()
359 OMPForSimdDirective::Create(const ASTContext &C, SourceLocation StartLoc, in Create() argument
365 StartLoc, EndLoc, CollapsedNum); in Create()
[all …]
H A DOpenMPClause.cpp325 SourceLocation StartLoc, in Create() argument
330 new (Mem) OMPOrderedClause(Num, NumLoops, StartLoc, LParenLoc, EndLoc); in Create()
375 SourceLocation StartLoc, in Create() argument
377 return new (C) OMPUpdateClause(StartLoc, EndLoc, /*IsExtended=*/false); in Create()
381 OMPUpdateClause::Create(const ASTContext &C, SourceLocation StartLoc, in Create() argument
388 new (Mem) OMPUpdateClause(StartLoc, EndLoc, /*IsExtended=*/true); in Create()
414 OMPPrivateClause::Create(const ASTContext &C, SourceLocation StartLoc, in Create() argument
420 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
445 OMPFirstprivateClause::Create(const ASTContext &C, SourceLocation StartLoc, in Create() argument
451 new (Mem) OMPFirstprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
[all …]
H A DDeclTemplate.cpp698 DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, in NonTypeTemplateParmDecl() argument
701 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc), in NonTypeTemplateParmDecl()
716 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument
726 NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, T, ParameterPack, in Create()
731 const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, in Create() argument
740 NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, T, TInfo, in Create()
890 DeclContext *DC, SourceLocation StartLoc, in ClassTemplateSpecializationDecl() argument
895 : CXXRecordDecl(DK, TK, Context, DC, StartLoc, IdLoc, in ClassTemplateSpecializationDecl()
911 SourceLocation StartLoc, in Create() argument
918 Context, ClassTemplateSpecialization, TK, DC, StartLoc, IdLoc, in Create()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp88 SMLoc StartLoc, EndLoc; member in __anond0f948490111::SystemZOperand
153 : Kind(kind), StartLoc(startLoc), EndLoc(endLoc) {} in SystemZOperand()
156 static std::unique_ptr<SystemZOperand> createInvalid(SMLoc StartLoc, in createInvalid() argument
158 return std::make_unique<SystemZOperand>(KindInvalid, StartLoc, EndLoc); in createInvalid()
169 createReg(RegisterKind Kind, unsigned Num, SMLoc StartLoc, SMLoc EndLoc) { in createReg() argument
170 auto Op = std::make_unique<SystemZOperand>(KindReg, StartLoc, EndLoc); in createReg()
177 createImm(const MCExpr *Expr, SMLoc StartLoc, SMLoc EndLoc) { in createImm() argument
178 auto Op = std::make_unique<SystemZOperand>(KindImm, StartLoc, EndLoc); in createImm()
186 unsigned LengthReg, SMLoc StartLoc, SMLoc EndLoc) { in createMem() argument
187 auto Op = std::make_unique<SystemZOperand>(KindMem, StartLoc, EndLoc); in createMem()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp47 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
48 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc,
290 bool MSP430AsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister() argument
292 switch (tryParseRegister(RegNo, StartLoc, EndLoc)) { in ParseRegister()
294 return Error(StartLoc, "invalid register name"); in ParseRegister()
305 SMLoc &StartLoc, in tryParseRegister() argument
317 StartLoc = T.getLoc(); in tryParseRegister()
457 SMLoc StartLoc, EndLoc; in ParseOperand() local
458 if (!ParseRegister(RegNo, StartLoc, EndLoc)) { in ParseOperand()
459 Operands.push_back(MSP430Operand::CreateReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp200 auto StartLoc = Decl->getLocation(); in VisitNamedDecl() local
201 auto EndLoc = StartLoc; in VisitNamedDecl()
202 if (IsValidEditLoc(Context.getSourceManager(), StartLoc)) { in VisitNamedDecl()
203 RenameInfo Info = {StartLoc, in VisitNamedDecl()
217 auto StartLoc = Expr->getMemberLoc(); in VisitMemberExpr() local
220 RenameInfos.push_back({StartLoc, EndLoc, in VisitMemberExpr()
234 auto StartLoc = D.getFieldLoc(); in VisitDesignatedInitExpr() local
236 RenameInfos.push_back({StartLoc, EndLoc, in VisitDesignatedInitExpr()
276 auto StartLoc = Expr->getBeginLoc(); in VisitDeclRefExpr() local
329 IsValidEditLoc(Context.getSourceManager(), StartLoc)) { in VisitDeclRefExpr()
[all …]
H A DUSRFinder.cpp86 SourceLocation StartLoc = CurrDecl->getBeginLoc(); in getNamedDeclAt() local
88 if (StartLoc.isValid() && EndLoc.isValid() && in getNamedDeclAt()
89 SM.isBeforeInTranslationUnit(StartLoc, Point) != in getNamedDeclAt()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/AsmParser/
H A DBPFAsmParser.cpp41 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
42 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc,
97 SMLoc StartLoc, EndLoc; member
109 StartLoc = o.StartLoc; in BPFOperand()
144 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc()
201 Op->StartLoc = S; in createToken()
210 Op->StartLoc = S; in createReg()
219 Op->StartLoc = S; in createImm()
325 bool BPFAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister() argument
327 if (tryParseRegister(RegNo, StartLoc, EndLoc) != MatchOperand_Success) in ParseRegister()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaOpenMP.cpp4624 SourceLocation StartLoc) { in checkCancelRegion() argument
4633 SemaRef.Diag(StartLoc, diag::err_omp_wrong_cancel_region) in checkCancelRegion()
4642 SourceLocation StartLoc) { in checkNestingOfRegions() argument
4674 SemaRef.Diag(StartLoc, (CurrentRegion != OMPD_simd) in checkNestingOfRegions()
4683 SemaRef.Diag(StartLoc, diag::err_omp_prohibited_region_atomic); in checkNestingOfRegions()
4693 SemaRef.Diag(StartLoc, diag::err_omp_orphaned_section_directive) in checkNestingOfRegions()
4765 SemaRef.Diag(StartLoc, in checkNestingOfRegions()
4875 SemaRef.Diag(StartLoc, diag::err_omp_orphaned_device_directive) in checkNestingOfRegions()
4878 SemaRef.Diag(StartLoc, diag::err_omp_prohibited_region) in checkNestingOfRegions()
5709 Stmt *AStmt, SourceLocation StartLoc, SourceLocation EndLoc) { in ActOnOpenMPExecutableDirective() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseInit.cpp243 SourceLocation StartLoc = T.getOpenLocation(); in ParseInitializerWithPotentialDesignator() local
256 CheckArrayDesignatorSyntax(*this, StartLoc, Desig); in ParseInitializerWithPotentialDesignator()
258 StartLoc, ConsumeToken(), nullptr, nullptr); in ParseInitializerWithPotentialDesignator()
272 CheckArrayDesignatorSyntax(*this, StartLoc, Desig); in ParseInitializerWithPotentialDesignator()
273 return ParseAssignmentExprWithObjCMessageExprStart(StartLoc, in ParseInitializerWithPotentialDesignator()
295 CheckArrayDesignatorSyntax(*this, StartLoc, Desig); in ParseInitializerWithPotentialDesignator()
297 StartLoc, ConsumeToken(), nullptr, nullptr); in ParseInitializerWithPotentialDesignator()
300 CheckArrayDesignatorSyntax(*this, StartLoc, Desig); in ParseInitializerWithPotentialDesignator()
322 return ParseAssignmentExprWithObjCMessageExprStart(StartLoc, in ParseInitializerWithPotentialDesignator()
358 StartLoc, SourceLocation(), nullptr, Idx.get()); in ParseInitializerWithPotentialDesignator()
[all …]
H A DParser.cpp182 SourceLocation StartLoc = Tok.getLocation(); in ConsumeExtraSemi() local
196 Diag(StartLoc, diag::warn_cxx98_compat_top_level_semi) in ConsumeExtraSemi()
197 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
199 Diag(StartLoc, diag::ext_extra_semi_cxx11) in ConsumeExtraSemi()
200 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
205 Diag(StartLoc, diag::ext_extra_semi) in ConsumeExtraSemi()
208 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
211 Diag(StartLoc, diag::warn_extra_semi_after_mem_fn_def) in ConsumeExtraSemi()
212 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
841 SourceLocation StartLoc = Tok.getLocation(); in ParseExternalDeclaration() local
[all …]
H A DParseDeclCXX.cpp962 SourceLocation StartLoc = Tok.getLocation(); in ParseDecltypeSpecifier() local
984 StartLoc : T.getOpenLocation(); in ParseDecltypeSpecifier()
1053 ? DS.SetTypeSpecType(DeclSpec::TST_decltype, StartLoc, PrevSpec, in ParseDecltypeSpecifier()
1055 : DS.SetTypeSpecType(DeclSpec::TST_decltype_auto, StartLoc, PrevSpec, in ParseDecltypeSpecifier()
1057 Diag(StartLoc, DiagID) << PrevSpec; in ParseDecltypeSpecifier()
1064 SourceLocation StartLoc, in AnnotateExistingDecltypeSpecifier() argument
1086 Tok.setLocation(StartLoc); in AnnotateExistingDecltypeSpecifier()
1094 SourceLocation StartLoc = ConsumeToken(); in ParseUnderlyingTypeSpecifier() local
1114 if (DS.SetTypeSpecType(DeclSpec::TST_underlyingType, StartLoc, PrevSpec, in ParseUnderlyingTypeSpecifier()
1117 Diag(StartLoc, DiagID) << PrevSpec; in ParseUnderlyingTypeSpecifier()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp45 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
52 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc,
98 SMLoc StartLoc, EndLoc; member
110 StartLoc = o.StartLoc; in CSKYOperand()
192 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc()
228 Op->StartLoc = S; in createToken()
237 Op->StartLoc = S; in createReg()
246 Op->StartLoc = S; in createImm()
395 bool CSKYAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister() argument
398 StartLoc = Tok.getLoc(); in ParseRegister()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h32 SMLoc StartLoc, EndLoc; member
81 : Kind(K), StartLoc(Start), EndLoc(End), CallOperand(false) {} in X86Operand()
87 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc()
94 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange()
624 CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc,
627 auto Res = std::make_unique<X86Operand>(Register, StartLoc, EndLoc);
637 CreateDXReg(SMLoc StartLoc, SMLoc EndLoc) { in CreateDXReg()
638 return std::make_unique<X86Operand>(DXRegister, StartLoc, EndLoc); in CreateDXReg()
642 CreatePrefix(unsigned Prefixes, SMLoc StartLoc, SMLoc EndLoc) { in CreatePrefix()
643 auto Res = std::make_unique<X86Operand>(Prefix, StartLoc, EndLoc); in CreatePrefix()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp577 size_t pushRegion(Counter Count, Optional<SourceLocation> StartLoc = None, in pushRegion()
581 if (StartLoc && !FalseCount.hasValue()) { in pushRegion()
582 MostRecentLocation = *StartLoc; in pushRegion()
585 RegionStack.emplace_back(Count, FalseCount, StartLoc, EndLoc); in pushRegion()
608 SourceLocation StartLoc = Region.getBeginLoc(); in popRegions() local
613 size_t StartDepth = locationDepth(StartLoc); in popRegions()
615 while (!SM.isWrittenInSameFile(StartLoc, EndLoc)) { in popRegions()
645 SourceLocation NestedLoc = getEndOfFileOrMacro(StartLoc); in popRegions()
646 assert(SM.isWrittenInSameFile(StartLoc, NestedLoc)); in popRegions()
648 if (!isBranch && !isRegionAlreadyAdded(StartLoc, NestedLoc)) in popRegions()
[all …]
H A DCGLoopInfo.h91 const llvm::DebugLoc &StartLoc, const llvm::DebugLoc &EndLoc,
120 llvm::DebugLoc StartLoc; variable
206 void push(llvm::BasicBlock *Header, const llvm::DebugLoc &StartLoc,
213 llvm::ArrayRef<const Attr *> Attrs, const llvm::DebugLoc &StartLoc,
H A DCGLoopInfo.cpp422 if (StartLoc) { in createMetadata()
423 LoopProperties.push_back(StartLoc.getAsMDNode()); in createMetadata()
475 const llvm::DebugLoc &StartLoc, const llvm::DebugLoc &EndLoc, in LoopInfo() argument
477 : Header(Header), Attrs(Attrs), StartLoc(StartLoc), EndLoc(EndLoc), in LoopInfo()
495 Attrs.DistributeEnable == LoopAttributes::Unspecified && !StartLoc && in LoopInfo()
586 void LoopInfoStack::push(BasicBlock *Header, const llvm::DebugLoc &StartLoc, in push() argument
589 new LoopInfo(Header, StagedAttrs, StartLoc, EndLoc, in push()
598 const llvm::DebugLoc &StartLoc, in push() argument
801 push(Header, StartLoc, EndLoc); in push()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h2706 ParmVarDecl *CheckParameter(DeclContext *DC, SourceLocation StartLoc,
2860 DeclGroupPtrTy ActOnModuleDecl(SourceLocation StartLoc,
2883 DeclResult ActOnModuleImport(SourceLocation StartLoc,
2886 DeclResult ActOnModuleImport(SourceLocation StartLoc,
4640 SourceLocation StartLoc,
4802 SourceLocation StartLoc,
4828 SourceLocation StartLoc,
6207 ExprResult ActOnCXXNew(SourceLocation StartLoc, bool UseGlobal,
6250 bool FindAllocationFunctions(SourceLocation StartLoc, SourceRange Range,
6262 bool FindDeallocationFunction(SourceLocation StartLoc, CXXRecordDecl *RD,
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp69 bool ParseRegister(unsigned &RegNum, SMLoc &StartLoc, SMLoc &EndLoc) override;
70 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc,
115 SMLoc StartLoc, EndLoc; member
151 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc()
589 Op->StartLoc = Start; in CreateToken()
598 Op->StartLoc = Start; in createReg()
607 Op->StartLoc = Start; in createImm()
719 bool LanaiAsmParser::ParseRegister(unsigned &RegNum, SMLoc &StartLoc, in ParseRegister() argument
722 StartLoc = Tok.getLoc(); in ParseRegister()
731 SMLoc &StartLoc, in tryParseRegister() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DTokenLexer.cpp751 SourceLocation StartLoc = LHSTok.getLocation(); in pasteTokens() local
901 if (StartLoc.isFileID()) in pasteTokens()
902 StartLoc = getExpansionLocForMacroDefLoc(StartLoc); in pasteTokens()
906 while (SM.getFileID(StartLoc) != MacroFID) in pasteTokens()
907 StartLoc = SM.getImmediateExpansionRange(StartLoc).getBegin(); in pasteTokens()
911 LHSTok.setLocation(SM.createExpansionLoc(LHSTok.getLocation(), StartLoc, EndLoc, in pasteTokens()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/VE/AsmParser/
H A DVEAsmParser.cpp57 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
59 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc,
165 SMLoc StartLoc, EndLoc; member in __anonf0f8b3610211::VEOperand
409 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc()
591 Op->StartLoc = S; in CreateToken()
600 Op->StartLoc = S; in CreateReg()
609 Op->StartLoc = S; in CreateImm()
618 Op->StartLoc = S; in CreateCCOp()
627 Op->StartLoc = S; in CreateRDOp()
637 Op->StartLoc = S; in CreateMImm()
[all …]

1234