| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaOpenMP.h | 216 SourceLocation EndLoc); 402 Stmt *AStmt, SourceLocation StartLoc, SourceLocation EndLoc); 414 SourceLocation EndLoc); 423 SourceLocation EndLoc); 429 SourceLocation EndLoc); 436 SourceLocation StartLoc, SourceLocation EndLoc, 442 SourceLocation EndLoc); 445 SourceLocation EndLoc); 450 SourceLocation EndLoc); 453 SourceLocation EndLoc); [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | OpenACCClause.cpp | 63 SourceLocation EndLoc) { in Create() argument 67 return new (Mem) OpenACCDefaultClause(K, BeginLoc, LParenLoc, EndLoc); in Create() 74 SourceLocation EndLoc) { in Create() argument 76 return new (Mem) OpenACCIfClause(BeginLoc, LParenLoc, ConditionExpr, EndLoc); in Create() 81 SourceLocation EndLoc) in OpenACCIfClause() argument 83 ConditionExpr, EndLoc) { in OpenACCIfClause() 94 SourceLocation EndLoc) { in Create() argument 97 OpenACCSelfClause(BeginLoc, LParenLoc, ConditionExpr, EndLoc); in Create() 104 SourceLocation EndLoc) { in Create() argument 107 return new (Mem) OpenACCSelfClause(BeginLoc, LParenLoc, VarList, EndLoc); in Create() [all …]
|
| H A D | SelectorLocationsKind.cpp | 23 SourceLocation EndLoc) { in getStandardSelLoc() argument 27 if (EndLoc.isInvalid()) in getStandardSelLoc() 31 return EndLoc.getLocWithOffset(-Len); in getStandardSelLoc() 72 SourceLocation EndLoc) { in hasStandardSelLocs() argument 77 Args, EndLoc)) in hasStandardSelLocs() 86 Args, EndLoc)) in hasStandardSelLocs() 99 SourceLocation EndLoc) { in hasStandardSelectorLocs() argument 100 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc); in hasStandardSelectorLocs() 107 SourceLocation EndLoc) { in getStandardSelectorLoc() argument 109 getArgLoc(Index, Args), EndLoc); in getStandardSelectorLoc() [all …]
|
| H A D | StmtOpenMP.cpp | 264 SourceLocation EndLoc, 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() 302 SourceLocation EndLoc, unsigned CollapsedNum, in Create() argument 307 StartLoc, EndLoc, CollapsedNum); in Create() 337 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() argument 342 StartLoc, EndLoc, CollapsedNum); in Create() 409 SourceLocation EndLoc, ArrayRef<OMPClause *> Clauses, in Create() argument 413 C, Clauses, AssociatedStmt, TransformedStmtOffset + 1, StartLoc, EndLoc, in Create() [all …]
|
| H A D | OpenMPClause.cpp | 348 SourceLocation EndLoc) { in Create() argument 351 new (Mem) OMPOrderedClause(Num, NumLoops, StartLoc, LParenLoc, EndLoc); in Create() 397 SourceLocation EndLoc) { in Create() argument 398 return new (C) OMPUpdateClause(StartLoc, EndLoc, /*IsExtended=*/false); in Create() 404 OpenMPDependClauseKind DK, SourceLocation EndLoc) { in Create() argument 409 new (Mem) OMPUpdateClause(StartLoc, EndLoc, /*IsExtended=*/true); in Create() 436 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument 441 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create() 467 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument 472 new (Mem) OMPFirstprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create() [all …]
|
| H A D | DeclOpenACC.cpp | 28 SourceLocation EndLoc, in Create() argument 32 OpenACCDeclareDecl(DC, StartLoc, DirLoc, EndLoc, Clauses); in Create() 46 SourceLocation RParenLoc, SourceLocation EndLoc, in Create() argument 51 EndLoc, Clauses); in Create()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | OpenACCClause.h | 33 SourceLocation EndLoc) in OpenACCClause() argument 34 : Kind(K), Location(BeginLoc, EndLoc) { in OpenACCClause() 35 assert(!BeginLoc.isInvalid() && !EndLoc.isInvalid() && in OpenACCClause() 64 OpenACCAutoClause(SourceLocation BeginLoc, SourceLocation EndLoc) in OpenACCAutoClause() argument 65 : OpenACCClause(OpenACCClauseKind::Auto, BeginLoc, EndLoc) {} in OpenACCAutoClause() 73 Create(const ASTContext &Ctx, SourceLocation BeginLoc, SourceLocation EndLoc); 86 OpenACCFinalizeClause(SourceLocation BeginLoc, SourceLocation EndLoc) in OpenACCFinalizeClause() argument 87 : OpenACCClause(OpenACCClauseKind::Finalize, BeginLoc, EndLoc) {} in OpenACCFinalizeClause() 95 Create(const ASTContext &Ctx, SourceLocation BeginLoc, SourceLocation EndLoc); 108 OpenACCIfPresentClause(SourceLocation BeginLoc, SourceLocation EndLoc) in OpenACCIfPresentClause() argument [all …]
|
| H A D | StmtOpenMP.h | 275 SourceLocation EndLoc; variable 296 SourceLocation StartLoc, SourceLocation EndLoc) in OMPExecutableDirective() argument 298 EndLoc(std::move(EndLoc)) {} in OMPExecutableDirective() 490 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc() 501 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd() 622 OMPParallelDirective(SourceLocation StartLoc, SourceLocation EndLoc) in OMPParallelDirective() argument 624 llvm::omp::OMPD_parallel, StartLoc, EndLoc) {} in OMPParallelDirective() 652 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, 698 SourceLocation StartLoc, SourceLocation EndLoc, in OMPLoopBasedDirective() argument 700 : OMPExecutableDirective(SC, Kind, StartLoc, EndLoc), in OMPLoopBasedDirective() [all …]
|
| H A D | DeclOpenACC.h | 35 SourceLocation EndLoc; variable 44 SourceLocation EndLoc) in OpenACCConstructDecl() argument 46 EndLoc(EndLoc) {} in OpenACCConstructDecl() 59 return SourceRange(getLocation(), EndLoc); in getSourceRange() 81 SourceLocation DirLoc, SourceLocation EndLoc, in OpenACCDeclareDecl() argument 84 StartLoc, DirLoc, EndLoc) { in OpenACCDeclareDecl() 95 SourceLocation EndLoc, 124 SourceLocation EndLoc, in OpenACCRoutineDecl() argument 127 StartLoc, DirLoc, EndLoc), in OpenACCRoutineDecl() 140 SourceLocation RParenLoc, SourceLocation EndLoc,
|
| H A D | OpenMPClause.h | 60 SourceLocation EndLoc; variable 66 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) in OMPClause() argument 67 : StartLoc(StartLoc), EndLoc(EndLoc), Kind(K) {} in OMPClause() 74 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc() 80 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd() 116 OMPNoChildClause(SourceLocation StartLoc, SourceLocation EndLoc) in OMPNoChildClause() 117 : OMPClause(ClauseKind, StartLoc, EndLoc) {} in OMPNoChildClause() 157 SourceLocation EndLoc) in OMPOneStmtClause() argument 158 : Base(ClauseKind, StartLoc, EndLoc), LParenLoc(LParenLoc), S(S) {} in OMPOneStmtClause() 265 SourceLocation EndLoc; member [all …]
|
| H A D | Availability.h | 40 SourceLocation BeginLoc, EndLoc; variable 44 SourceLocation BeginLoc, SourceLocation EndLoc) in AvailabilitySpec() argument 46 EndLoc(EndLoc) {} in AvailabilitySpec() 50 : BeginLoc(StarLoc), EndLoc(StarLoc) {} in AvailabilitySpec() 55 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc()
|
| H A D | SelectorLocationsKind.h | 48 SourceLocation EndLoc); 60 SourceLocation EndLoc); 66 SourceLocation EndLoc); 78 SourceLocation EndLoc);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/ |
| H A D | MSP430AsmParser.cpp | 48 bool parseRegister(MCRegister &Reg, SMLoc &StartLoc, SMLoc &EndLoc) override; 50 SMLoc &EndLoc) override; 293 SMLoc &EndLoc) { in parseRegister() argument 294 ParseStatus Res = tryParseRegister(Reg, StartLoc, EndLoc); in parseRegister() 306 SMLoc &EndLoc) { in tryParseRegister() argument 318 EndLoc = T.getEndLoc(); 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() 467 SMLoc EndLoc = getParser().getTok().getLoc(); in ParseOperand() local [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 89 const SourceLocation EndLoc = Lexer::getLocForEndOfToken( in checkAndAddLocation() local 92 Lexer::getSourceText(CharSourceRange::getTokenRange(BeginLoc, EndLoc), in checkAndAddLocation() 200 auto EndLoc = StartLoc; in VisitNamedDecl() local 203 EndLoc, in VisitNamedDecl() 217 auto EndLoc = Expr->getMemberLoc(); in VisitMemberExpr() local 219 RenameInfos.push_back({StartLoc, EndLoc, in VisitMemberExpr() 234 auto EndLoc = D.getFieldLoc(); in VisitDesignatedInitExpr() local 235 RenameInfos.push_back({StartLoc, EndLoc, in VisitDesignatedInitExpr() 279 SourceLocation EndLoc = Expr->hasExplicitTemplateArgs() in VisitDeclRefExpr() local 288 RenameInfos.push_back({EndLoc, EndLoc, in VisitDeclRefExpr() [all …]
|
| H A D | USRFinder.cpp | 85 SourceLocation EndLoc = CurrDecl->getEndLoc(); in getNamedDeclAt() local 86 if (StartLoc.isValid() && EndLoc.isValid() && in getNamedDeclAt() 88 SM.isBeforeInTranslationUnit(EndLoc, Point)) in getNamedDeclAt()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/ |
| H A D | SystemZAsmParser.cpp | 98 SMLoc StartLoc, EndLoc; member in __anonde0c959e0111::SystemZOperand 162 SystemZOperand(OperandKind Kind, SMLoc StartLoc, SMLoc EndLoc) in SystemZOperand() argument 163 : Kind(Kind), StartLoc(StartLoc), EndLoc(EndLoc) {} in SystemZOperand() 167 SMLoc EndLoc) { in createInvalid() argument 168 return std::make_unique<SystemZOperand>(KindInvalid, StartLoc, EndLoc); in createInvalid() 179 createReg(RegisterKind Kind, unsigned Num, SMLoc StartLoc, SMLoc EndLoc) { in createReg() argument 180 auto Op = std::make_unique<SystemZOperand>(KindReg, StartLoc, EndLoc); in createReg() 187 createImm(const MCExpr *Expr, SMLoc StartLoc, SMLoc EndLoc) { in createImm() argument 188 auto Op = std::make_unique<SystemZOperand>(KindImm, StartLoc, EndLoc); in createImm() 196 unsigned LengthReg, SMLoc StartLoc, SMLoc EndLoc) { in createMem() argument [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; 44 SMLoc &EndLoc) override; 98 SMLoc StartLoc, EndLoc; member 111 EndLoc = o.EndLoc; in BPFOperand() 151 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc() 207 Op->EndLoc = S; in createToken() 216 Op->EndLoc = E; in createReg() 225 Op->EndLoc = E; in createImm() 360 SMLoc &EndLoc) { in parseRegister() argument 361 if (!tryParseRegister(Reg, StartLoc, EndLoc).isSuccess()) in parseRegister() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CoverageMappingGen.cpp | 312 std::optional<SourceLocation> EndLoc = std::nullopt; in getNonScratchExpansionLoc() local 317 EndLoc = ExpansionRange.getEnd(); in getNonScratchExpansionLoc() 319 return std::make_pair(Loc, EndLoc); in getNonScratchExpansionLoc() 381 auto EndLoc = NonScratchExpansionLoc.second; in gatherFileIDs() local 382 if (EndLoc.has_value()) { in gatherFileIDs() 385 Region.setEndLoc(EndLoc.value()); in gatherFileIDs() 391 auto EndLoc = SM.getSpellingLoc(Region.getEndLoc()); in gatherFileIDs() local 392 if (SM.isWrittenInSameFile(BeginLoc, EndLoc)) { in gatherFileIDs() 988 std::optional<SourceLocation> EndLoc = std::nullopt, in pushRegion() 999 assert((!EndLoc || EndLoc->isValid()) && "End location is not valid"); in pushRegion() [all …]
|
| H A D | CGLoopInfo.h | 94 const llvm::DebugLoc &StartLoc, const llvm::DebugLoc &EndLoc, 129 llvm::DebugLoc EndLoc; variable 217 const llvm::DebugLoc &EndLoc); 224 const llvm::DebugLoc &EndLoc, bool MustProgress = false);
|
| /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() 101 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc() 105 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange() 697 SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size()); in CreateToken() local 698 auto Res = std::make_unique<X86Operand>(Token, Loc, EndLoc); in CreateToken() 705 CreateReg(MCRegister Reg, SMLoc StartLoc, SMLoc EndLoc, 708 auto Res = std::make_unique<X86Operand>(Register, StartLoc, EndLoc); 718 CreateDXReg(SMLoc StartLoc, SMLoc EndLoc) { in CreateDXReg() 719 return std::make_unique<X86Operand>(DXRegister, StartLoc, EndLoc); in CreateDXReg() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 3578 SourceLocation EndLoc) { in ActOnOpenMPAssumeDirective() argument 3582 return OMPAssumeDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses, in ActOnOpenMPAssumeDirective() 5992 Stmt *AStmt, SourceLocation StartLoc, SourceLocation EndLoc) { in ActOnOpenMPExecutableDirective() argument 6197 EndLoc); in ActOnOpenMPExecutableDirective() 6200 Res = ActOnOpenMPSimdDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc, in ActOnOpenMPExecutableDirective() 6205 ActOnOpenMPTileDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc); in ActOnOpenMPExecutableDirective() 6209 EndLoc); in ActOnOpenMPExecutableDirective() 6213 EndLoc); in ActOnOpenMPExecutableDirective() 6218 Res = ActOnOpenMPReverseDirective(AStmt, StartLoc, EndLoc); in ActOnOpenMPExecutableDirective() 6222 EndLoc); in ActOnOpenMPExecutableDirective() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseDeclCXX.cpp | 1031 SourceLocation EndLoc; in ParseDecltypeSpecifier() local 1035 EndLoc = Tok.getAnnotationEndLoc(); in ParseDecltypeSpecifier() 1038 DS.setTypeArgumentRange(SourceRange(SourceLocation(), EndLoc)); in ParseDecltypeSpecifier() 1042 return EndLoc; in ParseDecltypeSpecifier() 1079 EndLoc = ConsumeParen(); in ParseDecltypeSpecifier() 1085 EndLoc = ConsumeAnyToken(); in ParseDecltypeSpecifier() 1088 EndLoc = Tok.getLocation(); in ParseDecltypeSpecifier() 1091 return EndLoc; in ParseDecltypeSpecifier() 1112 EndLoc = T.getCloseLocation(); in ParseDecltypeSpecifier() 1127 return EndLoc; in ParseDecltypeSpecifier() [all …]
|
| H A D | ParseDecl.cpp | 112 SourceLocation EndLoc) { in FindLocsWithCommonFileID() argument 113 if (!StartLoc.isMacroID() || !EndLoc.isMacroID()) in FindLocsWithCommonFileID() 117 if (SM.getFileID(StartLoc) != SM.getFileID(EndLoc)) in FindLocsWithCommonFileID() 123 Lexer::isAtEndOfMacroExpansion(EndLoc, SM, PP.getLangOpts()); in FindLocsWithCommonFileID() 144 SourceLocation &EndLoc, in ParseSingleGNUAttribute() argument 179 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, &EndLoc, nullptr, in ParseSingleGNUAttribute() 214 SourceLocation EndLoc = StartLoc; in ParseGNUAttributes() local 246 if (ParseSingleGNUAttribute(Attrs, EndLoc, LateAttrs, D)) in ParseGNUAttributes() 255 EndLoc = Loc; in ParseGNUAttributes() 277 Attrs.Range = SourceRange(StartLoc, EndLoc); in ParseGNUAttributes() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCParser/ |
| H A D | MCTargetAsmParser.h | 397 virtual bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parsePrimaryExpr() argument 398 return getParser().parsePrimaryExpr(Res, EndLoc, nullptr); in parsePrimaryExpr() 403 SMLoc EndLoc; in parseDataExpr() local 404 return getParser().parseExpression(Res, EndLoc); in parseDataExpr() 408 SMLoc &EndLoc) = 0; 416 SMLoc &EndLoc) = 0;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/AsmParser/ |
| H A D | XtensaAsmParser.cpp | 49 bool parseRegister(MCRegister &Reg, SMLoc &StartLoc, SMLoc &EndLoc) override; 79 SMLoc &EndLoc) override { in tryParseRegister() argument 131 SMLoc StartLoc, EndLoc; member 144 EndLoc = o.EndLoc; in XtensaOperand() 288 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc() 324 Op->EndLoc = S; in createToken() 333 Op->EndLoc = E; in createReg() 342 Op->EndLoc = E; in createImm() 574 SMLoc &EndLoc) { in parseRegister() argument 577 EndLoc = Tok.getEndLoc(); in parseRegister()
|