/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | SemaOpenMP.h | 214 Stmt *AStmt, SourceLocation StartLoc, 288 SourceLocation StartLoc, DeclarationName VN, AccessSpecifier AS, 294 SourceLocation StartLoc, 401 Stmt *AStmt, SourceLocation StartLoc, SourceLocation EndLoc, 406 Stmt *AStmt, SourceLocation StartLoc, 414 SourceLocation StartLoc, SourceLocation EndLoc, 419 Stmt *AStmt, SourceLocation StartLoc, 424 Stmt *AStmt, SourceLocation StartLoc, 427 StmtResult ActOnOpenMPReverseDirective(Stmt *AStmt, SourceLocation StartLoc, 433 SourceLocation StartLoc, [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | StmtOpenMP.h | 273 SourceLocation StartLoc; variable 305 SourceLocation StartLoc, SourceLocation EndLoc) in OMPExecutableDirective() argument 306 : Stmt(SC), Kind(K), StartLoc(std::move(StartLoc)), in OMPExecutableDirective() 502 SourceLocation getBeginLoc() const { return StartLoc; } in getBeginLoc() 510 void setLocStart(SourceLocation Loc) { StartLoc = Loc; } in setLocStart() 638 OMPParallelDirective(SourceLocation StartLoc, SourceLocation EndLoc) in OMPParallelDirective() argument 640 llvm::omp::OMPD_parallel, StartLoc, EndLoc) {} in OMPParallelDirective() 668 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, 714 SourceLocation StartLoc, SourceLocation EndLoc, in OMPLoopBasedDirective() argument 716 : OMPExecutableDirective(SC, Kind, StartLoc, EndLoc), in OMPLoopBasedDirective() [all …]
|
H A D | OpenMPClause.h | 57 SourceLocation StartLoc; variable 66 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) in OMPClause() argument 67 : StartLoc(StartLoc), EndLoc(EndLoc), Kind(K) {} in OMPClause() 71 SourceLocation getBeginLoc() const { return StartLoc; } in getBeginLoc() 77 void setLocStart(SourceLocation Loc) { StartLoc = Loc; } in setLocStart() 85 bool isImplicit() const { return StartLoc.isInvalid(); } in isImplicit() 116 OMPNoChildClause(SourceLocation StartLoc, SourceLocation EndLoc) in OMPNoChildClause() 117 : OMPClause(ClauseKind, StartLoc, EndLoc) {} in OMPNoChildClause() 156 OMPOneStmtClause(Stmt *S, SourceLocation StartLoc, SourceLocation LParenLoc, in OMPOneStmtClause() argument 158 : Base(ClauseKind, StartLoc, EndLoc), LParenLoc(LParenLoc), S(S) {} in OMPOneStmtClause() [all …]
|
H A D | Decl.h | 559 SourceLocation StartLoc, SourceLocation IdLoc, 573 SourceLocation StartLoc, SourceLocation IdLoc, 1076 VarDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation StartLoc, 1106 SourceLocation StartLoc, SourceLocation IdLoc, 1728 ParmVarDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation StartLoc, in ParmVarDecl() argument 1731 : VarDecl(DK, C, DC, StartLoc, IdLoc, Id, T, TInfo, S) { in ParmVarDecl() 1741 SourceLocation StartLoc, SourceLocation IdLoc, 2086 FunctionDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation StartLoc, 2121 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, 2128 return FunctionDecl::Create(C, DC, StartLoc, NameInfo, T, TInfo, SC, [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | StmtOpenMP.cpp | 263 SourceLocation StartLoc, in Create() argument 268 C, Clauses, AssociatedStmt, /*NumChildren=*/1, StartLoc, EndLoc); in Create() 282 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() argument 286 C, Clauses, AssociatedStmt, /*NumChildren=*/1, StartLoc, EndLoc); in Create() 301 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() argument 306 StartLoc, EndLoc, CollapsedNum); in Create() 337 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() argument 343 StartLoc, EndLoc, CollapsedNum); in Create() 410 OMPTileDirective::Create(const ASTContext &C, SourceLocation StartLoc, in Create() argument 415 C, Clauses, AssociatedStmt, TransformedStmtOffset + 1, StartLoc, EndLoc, in Create() [all …]
|
H A D | OpenMPClause.cpp | 345 SourceLocation StartLoc, in Create() argument 350 new (Mem) OMPOrderedClause(Num, NumLoops, StartLoc, LParenLoc, EndLoc); in Create() 395 SourceLocation StartLoc, in Create() argument 397 return new (C) OMPUpdateClause(StartLoc, EndLoc, /*IsExtended=*/false); in Create() 401 OMPUpdateClause::Create(const ASTContext &C, SourceLocation StartLoc, in Create() argument 408 new (Mem) OMPUpdateClause(StartLoc, EndLoc, /*IsExtended=*/true); in Create() 434 OMPPrivateClause::Create(const ASTContext &C, SourceLocation StartLoc, in Create() argument 440 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create() 465 OMPFirstprivateClause::Create(const ASTContext &C, SourceLocation StartLoc, in Create() argument 471 new (Mem) OMPFirstprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create() [all …]
|
H A D | DeclTemplate.cpp | 726 DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, in NonTypeTemplateParmDecl() argument 729 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc), in NonTypeTemplateParmDecl() 743 const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, in Create() argument 752 NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, T, ParameterPack, in Create() 757 const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, in Create() argument 766 NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, T, TInfo, in Create() 922 DeclContext *DC, SourceLocation StartLoc, in ClassTemplateSpecializationDecl() argument 927 : CXXRecordDecl(DK, TK, Context, DC, StartLoc, IdLoc, in ClassTemplateSpecializationDecl() 943 SourceLocation StartLoc, in Create() argument 950 Context, ClassTemplateSpecialization, TK, DC, StartLoc, IdLoc, in Create() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/ |
H A D | SystemZAsmParser.cpp | 93 SMLoc StartLoc, EndLoc; member in __anonde0c959e0111::SystemZOperand 157 SystemZOperand(OperandKind Kind, SMLoc StartLoc, SMLoc EndLoc) in SystemZOperand() argument 158 : Kind(Kind), StartLoc(StartLoc), EndLoc(EndLoc) {} in SystemZOperand() 161 static std::unique_ptr<SystemZOperand> createInvalid(SMLoc StartLoc, in createInvalid() argument 163 return std::make_unique<SystemZOperand>(KindInvalid, StartLoc, EndLoc); in createInvalid() 174 createReg(RegisterKind Kind, unsigned Num, SMLoc StartLoc, SMLoc EndLoc) { in createReg() argument 175 auto Op = std::make_unique<SystemZOperand>(KindReg, StartLoc, EndLoc); in createReg() 182 createImm(const MCExpr *Expr, SMLoc StartLoc, SMLoc EndLoc) { in createImm() argument 183 auto Op = std::make_unique<SystemZOperand>(KindImm, StartLoc, EndLoc); in createImm() 191 unsigned LengthReg, SMLoc StartLoc, SMLoc EndLoc) { in createMem() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/ |
H A D | MSP430AsmParser.cpp | 48 bool parseRegister(MCRegister &Reg, SMLoc &StartLoc, SMLoc &EndLoc) override; 49 ParseStatus tryParseRegister(MCRegister &Reg, SMLoc &StartLoc, 292 bool MSP430AsmParser::parseRegister(MCRegister &Reg, SMLoc &StartLoc, in parseRegister() argument 294 ParseStatus Res = tryParseRegister(Reg, StartLoc, EndLoc); in parseRegister() 296 return Error(StartLoc, "invalid register name"); in parseRegister() 305 ParseStatus MSP430AsmParser::tryParseRegister(MCRegister &Reg, SMLoc &StartLoc, in tryParseRegister() argument 317 StartLoc = T.getLoc(); in tryParseRegister() 452 SMLoc StartLoc, EndLoc; in ParseOperand() local 453 if (!parseRegister(RegNo, StartLoc, EndLoc)) { in ParseOperand() 454 Operands.push_back(MSP430Operand::CreateReg(RegNo, StartLoc, EndLoc)); in ParseOperand() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseInit.cpp | 248 SourceLocation StartLoc = T.getOpenLocation(); in ParseInitializerWithPotentialDesignator() local 261 CheckArrayDesignatorSyntax(*this, StartLoc, Desig); in ParseInitializerWithPotentialDesignator() 263 StartLoc, ConsumeToken(), nullptr, nullptr); in ParseInitializerWithPotentialDesignator() 277 CheckArrayDesignatorSyntax(*this, StartLoc, Desig); in ParseInitializerWithPotentialDesignator() 278 return ParseAssignmentExprWithObjCMessageExprStart(StartLoc, in ParseInitializerWithPotentialDesignator() 300 CheckArrayDesignatorSyntax(*this, StartLoc, Desig); in ParseInitializerWithPotentialDesignator() 302 StartLoc, ConsumeToken(), nullptr, nullptr); in ParseInitializerWithPotentialDesignator() 305 CheckArrayDesignatorSyntax(*this, StartLoc, Desig); in ParseInitializerWithPotentialDesignator() 327 return ParseAssignmentExprWithObjCMessageExprStart(StartLoc, in ParseInitializerWithPotentialDesignator() 363 StartLoc, SourceLocation(), nullptr, Idx.get()); in ParseInitializerWithPotentialDesignator() [all …]
|
H A D | ParseDeclCXX.cpp | 1125 SourceLocation StartLoc = Tok.getLocation(); in ParseDecltypeSpecifier() local 1149 return T.getOpenLocation() == Tok.getLocation() ? StartLoc in ParseDecltypeSpecifier() 1218 if (Result.get() ? DS.SetTypeSpecType(DeclSpec::TST_decltype, StartLoc, in ParseDecltypeSpecifier() 1220 : DS.SetTypeSpecType(DeclSpec::TST_decltype_auto, StartLoc, in ParseDecltypeSpecifier() 1222 Diag(StartLoc, DiagID) << PrevSpec; in ParseDecltypeSpecifier() 1229 SourceLocation StartLoc, in AnnotateExistingDecltypeSpecifier() argument 1250 Tok.setLocation(StartLoc); in AnnotateExistingDecltypeSpecifier() 1259 SourceLocation StartLoc; in ParsePackIndexingType() local 1266 StartLoc = Tok.getLocation(); in ParsePackIndexingType() 1278 DS.SetTypeSpecType(DeclSpec::TST_typename_pack_indexing, StartLoc, PrevSpec, in ParsePackIndexingType() [all …]
|
H A D | Parser.cpp | 190 SourceLocation StartLoc = Tok.getLocation(); in ConsumeExtraSemi() local 204 Diag(StartLoc, diag::warn_cxx98_compat_top_level_semi) in ConsumeExtraSemi() 205 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi() 207 Diag(StartLoc, diag::ext_extra_semi_cxx11) in ConsumeExtraSemi() 208 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi() 213 Diag(StartLoc, diag::ext_extra_semi) in ConsumeExtraSemi() 216 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi() 219 Diag(StartLoc, diag::warn_extra_semi_after_mem_fn_def) in ConsumeExtraSemi() 220 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi() 911 SourceLocation StartLoc = Tok.getLocation(); in ParseExternalDeclaration() local [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaOpenMP.cpp | 4767 SourceLocation StartLoc) { in checkCancelRegion() argument 4776 SemaRef.Diag(StartLoc, diag::err_omp_wrong_cancel_region) in checkCancelRegion() 4786 SourceLocation StartLoc) { in checkNestingOfRegions() argument 4813 SemaRef.Diag(StartLoc, diag::err_omp_prohibited_region_order) in checkNestingOfRegions() 4834 SemaRef.Diag(StartLoc, (CurrentRegion != OMPD_simd) in checkNestingOfRegions() 4843 SemaRef.Diag(StartLoc, diag::err_omp_prohibited_region_atomic); in checkNestingOfRegions() 4852 SemaRef.Diag(StartLoc, diag::err_omp_orphaned_section_directive) in checkNestingOfRegions() 4874 SemaRef.Diag(StartLoc, diag::err_omp_prohibited_region) in checkNestingOfRegions() 4929 SemaRef.Diag(StartLoc, diag::err_omp_prohibited_region_critical_same_name) in checkNestingOfRegions() 5057 SemaRef.Diag(StartLoc, diag::err_omp_orphaned_device_directive) in checkNestingOfRegions() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/AsmParser/ |
H A D | BPFAsmParser.cpp | 42 bool parseRegister(MCRegister &Reo, SMLoc &StartLoc, SMLoc &EndLoc) override; 43 ParseStatus tryParseRegister(MCRegister &Reg, SMLoc &StartLoc, 96 SMLoc StartLoc, EndLoc; member 108 StartLoc = o.StartLoc; in BPFOperand() 147 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc() 204 Op->StartLoc = S; in createToken() 213 Op->StartLoc = S; in createReg() 222 Op->StartLoc = S; in createImm() 353 bool BPFAsmParser::parseRegister(MCRegister &Reg, SMLoc &StartLoc, in parseRegister() argument 355 if (!tryParseRegister(Reg, StartLoc, EndLoc).isSuccess()) in parseRegister() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
H A D | X86Operand.h | 34 SMLoc StartLoc, EndLoc; member 91 : Kind(K), StartLoc(Start), EndLoc(End), OpDecl(nullptr), in X86Operand() 98 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc() 105 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange() 676 CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc, 679 auto Res = std::make_unique<X86Operand>(Register, StartLoc, EndLoc); 689 CreateDXReg(SMLoc StartLoc, SMLoc EndLoc) { in CreateDXReg() 690 return std::make_unique<X86Operand>(DXRegister, StartLoc, EndLoc); in CreateDXReg() 694 CreatePrefix(unsigned Prefixes, SMLoc StartLoc, SMLoc EndLoc) { in CreatePrefix() 695 auto Res = std::make_unique<X86Operand>(Prefix, StartLoc, EndLoc); in CreatePrefix() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CoverageMappingGen.cpp | 949 std::optional<SourceLocation> StartLoc = std::nullopt, in pushRegion() 954 if (StartLoc && !FalseCount) { in pushRegion() 955 MostRecentLocation = *StartLoc; in pushRegion() 960 assert((!StartLoc || StartLoc->isValid()) && "Start location is not valid"); in pushRegion() 967 if (StartLoc && StartLoc->isInvalid()) in pushRegion() 968 StartLoc = std::nullopt; in pushRegion() 971 RegionStack.emplace_back(Count, FalseCount, BranchParams, StartLoc, EndLoc); in pushRegion() 977 std::optional<SourceLocation> StartLoc = std::nullopt, in pushRegion() 980 RegionStack.emplace_back(DecisionParams, StartLoc, EndLoc); in pushRegion() 1004 SourceLocation StartLoc = Region.getBeginLoc(); in popRegions() local [all …]
|
H A D | CGLoopInfo.h | 94 const llvm::DebugLoc &StartLoc, const llvm::DebugLoc &EndLoc, 127 llvm::DebugLoc StartLoc; variable 213 void push(llvm::BasicBlock *Header, const llvm::DebugLoc &StartLoc, 220 llvm::ArrayRef<const Attr *> Attrs, const llvm::DebugLoc &StartLoc,
|
H A D | CGLoopInfo.cpp | 423 if (StartLoc) { in createMetadata() 424 LoopProperties.push_back(StartLoc.getAsMDNode()); in createMetadata() 485 const llvm::DebugLoc &StartLoc, const llvm::DebugLoc &EndLoc, in LoopInfo() argument 487 : Header(Header), Attrs(Attrs), StartLoc(StartLoc), EndLoc(EndLoc), in LoopInfo() 506 Attrs.CodeAlign == 0 && !StartLoc && !EndLoc && !Attrs.MustProgress) in LoopInfo() 596 void LoopInfoStack::push(BasicBlock *Header, const llvm::DebugLoc &StartLoc, in push() argument 599 new LoopInfo(Header, StagedAttrs, StartLoc, EndLoc, in push() 608 const llvm::DebugLoc &StartLoc, in push() argument 831 push(Header, StartLoc, EndLoc); in push()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/AsmParser/ |
H A D | XtensaAsmParser.cpp | 47 bool parseRegister(MCRegister &Reg, SMLoc &StartLoc, SMLoc &EndLoc) override; 72 ParseStatus tryParseRegister(MCRegister &Reg, SMLoc &StartLoc, in tryParseRegister() argument 119 SMLoc StartLoc, EndLoc; member 131 StartLoc = o.StartLoc; in XtensaOperand() 257 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc() 294 Op->StartLoc = S; in createToken() 303 Op->StartLoc = S; in createReg() 312 Op->StartLoc = S; in createImm() 533 bool XtensaAsmParser::parseRegister(MCRegister &Reg, SMLoc &StartLoc, in parseRegister() argument 536 StartLoc = Tok.getLoc(); in parseRegister() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
H A D | USRFinder.cpp | 86 SourceLocation StartLoc = CurrDecl->getBeginLoc(); in getNamedDeclAt() local 88 if (StartLoc.isValid() && EndLoc.isValid() && in getNamedDeclAt() 89 SM.isBeforeInTranslationUnit(StartLoc, Point) != in getNamedDeclAt()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/ |
H A D | CSKYAsmParser.cpp | 75 bool parseRegister(MCRegister &Reg, SMLoc &StartLoc, SMLoc &EndLoc) override; 86 ParseStatus tryParseRegister(MCRegister &Reg, SMLoc &StartLoc, 184 SMLoc StartLoc, EndLoc; member 199 StartLoc = o.StartLoc; in CSKYOperand() 399 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc() 476 Op->StartLoc = S; in createToken() 485 Op->StartLoc = S; in createReg() 495 Op->StartLoc = S; in createRegSeq() 530 Op->StartLoc = S; in createRegList() 539 Op->StartLoc = S; in createImm() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | TokenLexer.cpp | 750 SourceLocation StartLoc = LHSTok.getLocation(); in pasteTokens() local 900 if (StartLoc.isFileID()) in pasteTokens() 901 StartLoc = getExpansionLocForMacroDefLoc(StartLoc); in pasteTokens() 905 while (SM.getFileID(StartLoc) != MacroFID) in pasteTokens() 906 StartLoc = SM.getImmediateExpansionRange(StartLoc).getBegin(); in pasteTokens() 910 LHSTok.setLocation(SM.createExpansionLoc(LHSTok.getLocation(), StartLoc, EndLoc, in pasteTokens()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/ |
H A D | LanaiAsmParser.cpp | 68 bool parseRegister(MCRegister &Reg, SMLoc &StartLoc, SMLoc &EndLoc) override; 69 ParseStatus tryParseRegister(MCRegister &Reg, SMLoc &StartLoc, 113 SMLoc StartLoc, EndLoc; member 149 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc() 587 Op->StartLoc = Start; in CreateToken() 596 Op->StartLoc = Start; in createReg() 605 Op->StartLoc = Start; in createImm() 715 bool LanaiAsmParser::parseRegister(MCRegister &RegNum, SMLoc &StartLoc, in parseRegister() argument 718 StartLoc = Tok.getLoc(); in parseRegister() 726 ParseStatus LanaiAsmParser::tryParseRegister(MCRegister &Reg, SMLoc &StartLoc, in tryParseRegister() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/ |
H A D | VEAsmParser.cpp | 58 bool parseRegister(MCRegister &Reg, SMLoc &StartLoc, SMLoc &EndLoc) override; 60 ParseStatus tryParseRegister(MCRegister &Reg, SMLoc &StartLoc, 168 SMLoc StartLoc, EndLoc; member in __anon944a62760211::VEOperand 412 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc() 594 Op->StartLoc = S; in CreateToken() 603 Op->StartLoc = S; in CreateReg() 612 Op->StartLoc = S; in CreateImm() 621 Op->StartLoc = S; in CreateCCOp() 630 Op->StartLoc = S; in CreateRDOp() 640 Op->StartLoc = S; in CreateMImm() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/AsmParser/ |
H A D | SparcAsmParser.cpp | 77 bool parseRegister(MCRegister &Reg, SMLoc &StartLoc, SMLoc &EndLoc) override; 78 ParseStatus tryParseRegister(MCRegister &Reg, SMLoc &StartLoc, 226 SMLoc StartLoc, EndLoc; member in __anonebada3920211::SparcOperand 360 return StartLoc; in getStartLoc() 465 Op->StartLoc = S; in CreateToken() 475 Op->StartLoc = S; in CreateReg() 484 Op->StartLoc = S; in CreateImm() 493 Op->StartLoc = S; in CreateASITag() 502 Op->StartLoc = S; in CreatePrefetchTag() 589 Op->StartLoc = S; in CreateMEMr() [all …]
|