Home
last modified time | relevance | path

Searched refs:EndLoc (Results 1 – 25 of 80) sorted by relevance

1234

/external/clang/include/clang/AST/
DStmtOpenMP.h40 SourceLocation EndLoc; variable
68 SourceLocation StartLoc, SourceLocation EndLoc, in OMPExecutableDirective() argument
71 EndLoc(std::move(EndLoc)), NumClauses(NumClauses), in OMPExecutableDirective()
170 SourceLocation getLocEnd() const { return EndLoc; } in getLocEnd()
181 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd()
241 OMPParallelDirective(SourceLocation StartLoc, SourceLocation EndLoc, in OMPParallelDirective() argument
244 StartLoc, EndLoc, NumClauses, 1), in OMPParallelDirective()
271 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc,
389 SourceLocation StartLoc, SourceLocation EndLoc,
392 : OMPExecutableDirective(That, SC, Kind, StartLoc, EndLoc, NumClauses,
[all …]
DOpenMPClause.h36 SourceLocation EndLoc; variable
41 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) in OMPClause() argument
42 : StartLoc(StartLoc), EndLoc(EndLoc), Kind(K) {} in OMPClause()
48 SourceLocation getLocEnd() const { return EndLoc; } in getLocEnd()
53 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd()
152 SourceLocation LParenLoc, SourceLocation EndLoc, unsigned N) in OMPVarListClause() argument
153 : OMPClause(K, StartLoc, EndLoc), LParenLoc(LParenLoc), NumVars(N) {} in OMPVarListClause()
237 SourceLocation EndLoc) in OMPIfClause() argument
238 : OMPClause(OMPC_if, StartLoc, EndLoc), LParenLoc(LParenLoc), in OMPIfClause()
300 SourceLocation EndLoc) in OMPFinalClause() argument
[all …]
DSelectorLocationsKind.h49 SourceLocation EndLoc);
61 SourceLocation EndLoc);
67 SourceLocation EndLoc);
79 SourceLocation EndLoc);
/external/clang/lib/AST/
DSelectorLocationsKind.cpp24 SourceLocation EndLoc) { in getStandardSelLoc() argument
28 if (EndLoc.isInvalid()) in getStandardSelLoc()
32 return EndLoc.getLocWithOffset(-Len); in getStandardSelLoc()
73 SourceLocation EndLoc) { in hasStandardSelLocs() argument
78 Args, EndLoc)) in hasStandardSelLocs()
87 Args, EndLoc)) in hasStandardSelLocs()
100 SourceLocation EndLoc) { in hasStandardSelectorLocs() argument
101 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc); in hasStandardSelectorLocs()
108 SourceLocation EndLoc) { in getStandardSelectorLoc() argument
110 getArgLoc(Index, Args), EndLoc); in getStandardSelectorLoc()
[all …]
DStmtOpenMP.cpp58 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() argument
65 new (Mem) OMPParallelDirective(StartLoc, EndLoc, Clauses.size()); in Create()
84 SourceLocation EndLoc, unsigned CollapsedNum, in Create() argument
93 OMPSimdDirective(StartLoc, EndLoc, CollapsedNum, Clauses.size()); in Create()
126 SourceLocation EndLoc, unsigned CollapsedNum, in Create() argument
135 new (Mem) OMPForDirective(StartLoc, EndLoc, CollapsedNum, Clauses.size()); in Create()
179 SourceLocation EndLoc, unsigned CollapsedNum, in Create() argument
188 OMPForSimdDirective(StartLoc, EndLoc, CollapsedNum, Clauses.size()); in Create()
230 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() argument
237 new (Mem) OMPSectionsDirective(StartLoc, EndLoc, Clauses.size()); in Create()
[all …]
DOpenMPClause.cpp173 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
178 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
204 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
209 new (Mem) OMPFirstprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
253 SourceLocation EndLoc, ArrayRef<Expr *> VL, ArrayRef<Expr *> SrcExprs, in Create() argument
258 new (Mem) OMPLastprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
277 SourceLocation EndLoc, in Create() argument
281 new (Mem) OMPSharedClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
318 SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL, in Create() argument
325 StartLoc, LParenLoc, Modifier, ModifierLoc, ColonLoc, EndLoc, VL.size()); in Create()
[all …]
/external/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp69 SMLoc StartLoc, EndLoc; member in __anon920606c00111::SystemZOperand
132 : Kind(kind), StartLoc(startLoc), EndLoc(endLoc) {} in SystemZOperand()
136 SMLoc EndLoc) { in createInvalid() argument
137 return make_unique<SystemZOperand>(KindInvalid, StartLoc, EndLoc); in createInvalid()
146 createReg(RegisterKind Kind, unsigned Num, SMLoc StartLoc, SMLoc EndLoc) { in createReg() argument
147 auto Op = make_unique<SystemZOperand>(KindReg, StartLoc, EndLoc); in createReg()
153 createAccessReg(unsigned Num, SMLoc StartLoc, SMLoc EndLoc) { in createAccessReg() argument
154 auto Op = make_unique<SystemZOperand>(KindAccessReg, StartLoc, EndLoc); in createAccessReg()
159 createImm(const MCExpr *Expr, SMLoc StartLoc, SMLoc EndLoc) { in createImm() argument
160 auto Op = make_unique<SystemZOperand>(KindImm, StartLoc, EndLoc); in createImm()
[all …]
/external/clang/lib/Sema/
DSemaOpenMP.cpp3382 Stmt *AStmt, SourceLocation StartLoc, SourceLocation EndLoc) { in ActOnOpenMPExecutableDirective() argument
3419 EndLoc); in ActOnOpenMPExecutableDirective()
3423 Res = ActOnOpenMPSimdDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc, in ActOnOpenMPExecutableDirective()
3427 Res = ActOnOpenMPForDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc, in ActOnOpenMPExecutableDirective()
3432 EndLoc, VarsWithInheritedDSA); in ActOnOpenMPExecutableDirective()
3436 EndLoc); in ActOnOpenMPExecutableDirective()
3441 Res = ActOnOpenMPSectionDirective(AStmt, StartLoc, EndLoc); in ActOnOpenMPExecutableDirective()
3445 EndLoc); in ActOnOpenMPExecutableDirective()
3450 Res = ActOnOpenMPMasterDirective(AStmt, StartLoc, EndLoc); in ActOnOpenMPExecutableDirective()
3454 StartLoc, EndLoc); in ActOnOpenMPExecutableDirective()
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86Operand.h33 SMLoc StartLoc, EndLoc; member
70 : Kind(K), StartLoc(Start), EndLoc(End) {} in X86Operand()
78 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
81 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange()
468 SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size()); in CreateToken() local
469 auto Res = llvm::make_unique<X86Operand>(Token, Loc, EndLoc); in CreateToken()
476 CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc,
479 auto Res = llvm::make_unique<X86Operand>(Register, StartLoc, EndLoc);
489 SMLoc StartLoc, SMLoc EndLoc) { in CreateImm()
490 auto Res = llvm::make_unique<X86Operand>(Immediate, StartLoc, EndLoc); in CreateImm()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/AsmParser/
DMBlazeAsmParser.cpp45 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
83 SMLoc StartLoc, EndLoc; member
115 EndLoc = o.EndLoc; in MBlazeOperand()
139 SMLoc getEndLoc() const { return EndLoc; } in getEndLoc()
226 Op->EndLoc = S; in CreateToken()
234 Op->EndLoc = E; in CreateReg()
242 Op->EndLoc = E; in CreateImm()
250 Op->EndLoc = E; in CreateFslImm()
261 Op->EndLoc = E; in CreateMem()
272 Op->EndLoc = E; in CreateMem()
[all …]
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp404 Optional<SourceLocation> EndLoc = None) { in pushRegion()
407 RegionStack.emplace_back(Count, StartLoc, EndLoc); in pushRegion()
422 SourceLocation EndLoc = Region.hasEndLoc() in popRegions() local
425 while (!SM.isWrittenInSameFile(StartLoc, EndLoc)) { in popRegions()
428 SourceLocation NestedLoc = getStartOfFileOrMacro(EndLoc); in popRegions()
429 assert(SM.isWrittenInSameFile(NestedLoc, EndLoc)); in popRegions()
431 SourceRegions.emplace_back(Region.getCounter(), NestedLoc, EndLoc); in popRegions()
433 EndLoc = getPreciseTokenLocEnd(getIncludeOrExpansionLoc(EndLoc)); in popRegions()
434 if (EndLoc.isInvalid()) in popRegions()
437 Region.setEndLoc(EndLoc); in popRegions()
[all …]
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/
DAsmParser.cpp153 virtual bool ParseExpression(const MCExpr *&Res, SMLoc &EndLoc);
154 virtual bool ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc);
197 bool ParsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc);
198 bool ParseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc);
199 bool ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc);
200 bool ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc);
555 bool AsmParser::ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { in ParseParenExpr() argument
559 EndLoc = Lexer.getLoc(); in ParseParenExpr()
569 bool AsmParser::ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) { in ParseBracketExpr() argument
573 EndLoc = Lexer.getLoc(); in ParseBracketExpr()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/AsmParser/
DX86AsmParser.cpp88 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
116 SMLoc StartLoc, EndLoc; member
142 : Kind(K), StartLoc(Start), EndLoc(End) {} in X86Operand()
147 SMLoc getEndLoc() const { return EndLoc; } in getEndLoc()
326 static X86Operand *CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc) { in CreateReg()
327 X86Operand *Res = new X86Operand(Register, StartLoc, EndLoc); in CreateReg()
332 static X86Operand *CreateImm(const MCExpr *Val, SMLoc StartLoc, SMLoc EndLoc){ in CreateImm()
333 X86Operand *Res = new X86Operand(Immediate, StartLoc, EndLoc); in CreateImm()
340 SMLoc EndLoc) { in CreateMem()
341 X86Operand *Res = new X86Operand(Memory, StartLoc, EndLoc); in CreateMem()
[all …]
/external/clang/lib/Parse/
DParser.cpp110 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() local
111 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) { in SuggestParentheses()
120 << FixItHint::CreateInsertion(EndLoc, ")"); in SuggestParentheses()
158 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume() local
160 if (EndLoc.isValid()) in ExpectAndConsume()
165 ? Diag(EndLoc, DiagID) << FixItHint::CreateInsertion(EndLoc, Spelling) in ExpectAndConsume()
204 SourceLocation EndLoc = Tok.getLocation(); in ConsumeExtraSemi() local
209 EndLoc = Tok.getLocation(); in ConsumeExtraSemi()
218 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
221 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
[all …]
DParseStmtAsm.cpp382 SourceLocation EndLoc = AsmLoc; in ParseMicrosoftAsmStatement() local
399 EndLoc = ConsumeBrace(); in ParseMicrosoftAsmStatement()
400 LBraceLocs.push_back(EndLoc); in ParseMicrosoftAsmStatement()
405 SrcMgr.getDecomposedExpansionLoc(EndLoc); in ParseMicrosoftAsmStatement()
421 EndLoc = ConsumeBrace(); in ParseMicrosoftAsmStatement()
423 LBraceLocs.push_back(EndLoc); in ParseMicrosoftAsmStatement()
478 EndLoc = ConsumeBrace(); in ParseMicrosoftAsmStatement()
494 EndLoc = TokLoc; in ParseMicrosoftAsmStatement()
552 ConstraintRefs, ClobberRefs, Exprs, EndLoc); in ParseMicrosoftAsmStatement()
647 ClobberRefs, Exprs, EndLoc); in ParseMicrosoftAsmStatement()
DParseDecl.cpp245 SourceLocation *EndLoc, in ParseAttributeWithTypeArg() argument
273 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseAttributeArgsCommon() argument
327 if (EndLoc) in ParseAttributeArgsCommon()
328 *EndLoc = RParen; in ParseAttributeArgsCommon()
338 SourceLocation *EndLoc, in ParseGNUAttributeArgs() argument
350 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs()
354 ParseObjCBridgeRelatedAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, in ParseGNUAttributeArgs()
358 ParseTypeTagForDatatypeAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, in ParseGNUAttributeArgs()
362 ParseAttributeWithTypeArg(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs()
382 ParseAttributeArgsCommon(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs()
[all …]
DParseDeclCXX.cpp769 SourceLocation EndLoc; in ParseDecltypeSpecifier() local
773 EndLoc = Tok.getAnnotationEndLoc(); in ParseDecltypeSpecifier()
777 return EndLoc; in ParseDecltypeSpecifier()
817 EndLoc = ConsumeParen(); in ParseDecltypeSpecifier()
823 EndLoc = ConsumeAnyToken(); in ParseDecltypeSpecifier()
826 EndLoc = Tok.getLocation(); in ParseDecltypeSpecifier()
829 return EndLoc; in ParseDecltypeSpecifier()
849 EndLoc = T.getCloseLocation(); in ParseDecltypeSpecifier()
865 return EndLoc; in ParseDecltypeSpecifier()
870 SourceLocation EndLoc) { in AnnotateExistingDecltypeSpecifier() argument
[all …]
/external/clang/lib/ARCMigrate/
DObjCMT.cpp266 SourceLocation EndLoc = Msg->getSelectorLoc(0); in rewriteToPropertyDotSyntax() local
267 SourceRange SpaceRange(BegLoc, EndLoc); in rewriteToPropertyDotSyntax()
296 SourceLocation EndLoc = RHS->getLocStart(); in rewriteToPropertyDotSyntax() local
297 EndLoc = EndLoc.getLocWithOffset(-1); in rewriteToPropertyDotSyntax()
298 const char *colon = PP.getSourceManager().getCharacterData(EndLoc); in rewriteToPropertyDotSyntax()
302 SourceRange Range(BegLoc, EndLoc); in rewriteToPropertyDotSyntax()
552 SourceLocation EndLoc = Setter->getDeclaratorEndLoc(); in rewriteToObjCProperty() local
554 EndLoc = EndLoc.getLocWithOffset(1); in rewriteToObjCProperty()
559 commit.remove(SourceRange(BeginOfSetterDclLoc, EndLoc)); in rewriteToObjCProperty()
667 SourceLocation EndLoc = in rewriteToObjCInterfaceDecl() local
[all …]
/external/llvm/include/llvm/MC/MCParser/
DMCAsmParser.h172 virtual bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
180 virtual bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) = 0;
188 virtual bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
210 SMLoc &EndLoc) = 0;
/external/clang/include/clang/Sema/
DSema.h3380 SourceLocation EndLoc);
3513 SourceLocation EndLoc);
5108 SourceLocation EndLoc,
5178 ExprResult BuildLambdaExpr(SourceLocation StartLoc, SourceLocation EndLoc,
7545 SourceLocation EndLoc, // location of the ; or {.
7845 void PopPragmaVisibility(bool IsNamespaceEnd, SourceLocation EndLoc);
8041 Stmt *AStmt, SourceLocation StartLoc, SourceLocation EndLoc);
8047 SourceLocation EndLoc);
8052 SourceLocation EndLoc,
8058 SourceLocation EndLoc,
[all …]
DDeclSpec.h1017 SourceLocation EndLoc) { in setConversionFunctionId() argument
1020 EndLocation = EndLoc; in setConversionFunctionId()
1049 SourceLocation EndLoc) { in setConstructorName() argument
1052 EndLocation = EndLoc; in setConstructorName()
1072 SourceLocation EndLoc) { in setDestructorName() argument
1075 EndLocation = EndLoc; in setDestructorName()
1109 SourceLocation EndLoc; member
1112 if (EndLoc.isInvalid()) in getSourceRange()
1114 return SourceRange(Loc, EndLoc); in getSourceRange()
1515 I.EndLoc = RBLoc; in getArray()
[all …]
/external/clang/lib/Lex/
DTokenLexer.cpp670 SourceLocation EndLoc = Tokens[CurToken - 1].getLocation(); in PasteTokens() local
680 if (EndLoc.isFileID()) in PasteTokens()
681 EndLoc = getExpansionLocForMacroDefLoc(EndLoc); in PasteTokens()
685 while (SM.getFileID(EndLoc) != MacroFID) in PasteTokens()
686 EndLoc = SM.getImmediateExpansionRange(EndLoc).second; in PasteTokens()
688 Tok.setLocation(SM.createExpansionLoc(Tok.getLocation(), StartLoc, EndLoc, in PasteTokens()
DPreprocessingRecord.cpp467 SourceLocation EndLoc; in InclusionDirective() local
469 EndLoc = FilenameRange.getBegin(); in InclusionDirective()
471 EndLoc = FilenameRange.getEnd(); in InclusionDirective()
473 EndLoc = EndLoc.getLocWithOffset(-1); // the InclusionDirective expects in InclusionDirective()
479 File, SourceRange(HashLoc, EndLoc)); in InclusionDirective()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp240 bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
241 bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) override;
242 bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
244 SMLoc &EndLoc) override;
378 bool parseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc);
379 bool parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc);
380 bool parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc);
842 bool AsmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseParenExpr() argument
847 EndLoc = Lexer.getTok().getEndLoc(); in parseParenExpr()
857 bool AsmParser::parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseBracketExpr() argument
[all …]
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp53 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
80 bool matchSparcAsmModifiers(const MCExpr *&EVal, SMLoc &EndLoc);
194 SMLoc StartLoc, EndLoc; member in __anoncba7d3b40111::SparcOperand
285 return EndLoc; in getEndLoc()
346 Op->EndLoc = S; in CreateToken()
356 Op->EndLoc = E; in CreateReg()
365 Op->EndLoc = E; in CreateImm()
452 Op->EndLoc = E; in CreateMEMr()
593 ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) in ParseRegister() argument
597 EndLoc = Tok.getEndLoc(); in ParseRegister()
[all …]

1234