/external/clang/include/clang/AST/ |
D | StmtOpenMP.h | 40 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 …]
|
D | OpenMPClause.h | 36 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 …]
|
D | SelectorLocationsKind.h | 49 SourceLocation EndLoc); 61 SourceLocation EndLoc); 67 SourceLocation EndLoc); 79 SourceLocation EndLoc);
|
/external/clang/lib/AST/ |
D | SelectorLocationsKind.cpp | 24 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 …]
|
D | StmtOpenMP.cpp | 58 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 …]
|
D | OpenMPClause.cpp | 173 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/ |
D | SystemZAsmParser.cpp | 69 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/ |
D | SemaOpenMP.cpp | 3382 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/AsmParser/ |
D | X86Operand.h | 35 SMLoc StartLoc, EndLoc; member 81 : Kind(K), StartLoc(Start), EndLoc(End) {} in X86Operand() 90 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc() 94 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange() 526 SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size()); in CreateToken() local 527 auto Res = llvm::make_unique<X86Operand>(Token, Loc, EndLoc); in CreateToken() 534 CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc, 537 auto Res = llvm::make_unique<X86Operand>(Register, StartLoc, EndLoc); 547 CreateDXReg(SMLoc StartLoc, SMLoc EndLoc) { in CreateDXReg() 548 return llvm::make_unique<X86Operand>(DXRegister, StartLoc, EndLoc); in CreateDXReg() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/AsmParser/ |
D | SystemZAsmParser.cpp | 87 SMLoc StartLoc, EndLoc; member in __anon62853bf80111::SystemZOperand 152 : Kind(kind), StartLoc(startLoc), EndLoc(endLoc) {} in SystemZOperand() 156 SMLoc EndLoc) { in createInvalid() argument 157 return make_unique<SystemZOperand>(KindInvalid, StartLoc, EndLoc); in createInvalid() 168 createReg(RegisterKind Kind, unsigned Num, SMLoc StartLoc, SMLoc EndLoc) { in createReg() argument 169 auto Op = make_unique<SystemZOperand>(KindReg, StartLoc, EndLoc); in createReg() 176 createImm(const MCExpr *Expr, SMLoc StartLoc, SMLoc EndLoc) { in createImm() argument 177 auto Op = make_unique<SystemZOperand>(KindImm, StartLoc, EndLoc); in createImm() 185 unsigned LengthReg, SMLoc StartLoc, SMLoc EndLoc) { in createMem() argument 186 auto Op = make_unique<SystemZOperand>(KindMem, StartLoc, EndLoc); in createMem() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/AsmParser/ |
D | MBlazeAsmParser.cpp | 45 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/llvm/lib/Target/X86/AsmParser/ |
D | X86Operand.h | 33 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-7.0/llvm/lib/Target/BPF/AsmParser/ |
D | BPFAsmParser.cpp | 41 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 95 SMLoc StartLoc, EndLoc; member 108 EndLoc = o.EndLoc; in BPFOperand() 144 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc() 200 Op->EndLoc = S; in createToken() 209 Op->EndLoc = E; in createReg() 218 Op->EndLoc = E; in createImm() 324 SMLoc &EndLoc) { in ParseRegister() argument 327 EndLoc = Tok.getEndLoc(); in ParseRegister()
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 404 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/ |
D | AsmParser.cpp | 153 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/ |
D | X86AsmParser.cpp | 88 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/llvm/include/llvm/MC/MCParser/ |
D | MCAsmParser.h | 172 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/lib/Parse/ |
D | Parser.cpp | 110 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 …]
|
D | ParseStmtAsm.cpp | 382 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()
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 266 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/clang/include/clang/Sema/ |
D | Sema.h | 3380 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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 242 bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) override; 243 bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) override; 244 bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) override; 246 SMLoc &EndLoc) override; 263 bool isAltmacroString(SMLoc &StrLoc, SMLoc &EndLoc); 345 bool parseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc); 346 bool parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc); 347 bool parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc); 1004 bool AsmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseParenExpr() argument 1009 EndLoc = Lexer.getTok().getEndLoc(); in parseParenExpr() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/MCParser/ |
D | MCAsmParser.h | 267 virtual bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0; 275 virtual bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) = 0; 283 virtual bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0; 306 SMLoc &EndLoc) = 0;
|
/external/clang/lib/Lex/ |
D | TokenLexer.cpp | 670 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()
|
D | PreprocessingRecord.cpp | 467 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()
|