/external/llvm-project/clang/lib/AST/ |
D | StmtOpenMP.cpp | 217 const HelperExprs &Exprs) { in Create() argument 221 Dir->setIterationVariable(Exprs.IterationVarRef); in Create() 222 Dir->setLastIteration(Exprs.LastIteration); in Create() 223 Dir->setCalcLastIteration(Exprs.CalcLastIteration); in Create() 224 Dir->setPreCond(Exprs.PreCond); in Create() 225 Dir->setCond(Exprs.Cond); in Create() 226 Dir->setInit(Exprs.Init); in Create() 227 Dir->setInc(Exprs.Inc); in Create() 228 Dir->setCounters(Exprs.Counters); in Create() 229 Dir->setPrivateCounters(Exprs.PrivateCounters); in Create() [all …]
|
D | Stmt.cpp | 501 return cast<Expr>(Exprs[i]); in getOutputExpr() 512 return cast<Expr>(Exprs[i + NumOutputs]); in getInputExpr() 516 Exprs[i + NumOutputs] = E; in setInputExpr() 520 return cast<AddrLabelExpr>(Exprs[i + NumOutputs + NumInputs]); in getLabelExpr() 536 Stmt **Exprs, in setOutputsAndInputsAndClobbers() argument 553 C.Deallocate(this->Exprs); in setOutputsAndInputsAndClobbers() 554 this->Exprs = new (C) Stmt*[NumExprs]; in setOutputsAndInputsAndClobbers() 555 std::copy(Exprs, Exprs + NumExprs, this->Exprs); in setOutputsAndInputsAndClobbers() 818 return cast<Expr>(Exprs[i]); in getOutputExpr() 822 return cast<Expr>(Exprs[i + NumOutputs]); in getInputExpr() [all …]
|
D | Expr.cpp | 2994 bool Expr::hasAnyTypeDependentArguments(ArrayRef<Expr *> Exprs) { in hasAnyTypeDependentArguments() argument 2995 for (unsigned I = 0; I < Exprs.size(); ++I) in hasAnyTypeDependentArguments() 2996 if (Exprs[I]->isTypeDependent()) in hasAnyTypeDependentArguments() 4031 void ShuffleVectorExpr::setExprs(const ASTContext &C, ArrayRef<Expr *> Exprs) { in setExprs() argument 4034 this->NumExprs = Exprs.size(); in setExprs() 4036 memcpy(SubExprs, Exprs.data(), sizeof(Expr *) * Exprs.size()); in setExprs() 4297 ParenListExpr::ParenListExpr(SourceLocation LParenLoc, ArrayRef<Expr *> Exprs, in ParenListExpr() argument 4301 ParenListExprBits.NumExprs = Exprs.size(); in ParenListExpr() 4303 for (unsigned I = 0, N = Exprs.size(); I != N; ++I) in ParenListExpr() 4304 getTrailingObjects<Stmt *>()[I] = Exprs[I]; in ParenListExpr() [all …]
|
/external/clang/lib/AST/ |
D | StmtOpenMP.cpp | 86 const HelperExprs &Exprs) { in Create() argument 96 Dir->setIterationVariable(Exprs.IterationVarRef); in Create() 97 Dir->setLastIteration(Exprs.LastIteration); in Create() 98 Dir->setCalcLastIteration(Exprs.CalcLastIteration); in Create() 99 Dir->setPreCond(Exprs.PreCond); in Create() 100 Dir->setCond(Exprs.Cond); in Create() 101 Dir->setInit(Exprs.Init); in Create() 102 Dir->setInc(Exprs.Inc); in Create() 103 Dir->setCounters(Exprs.Counters); in Create() 104 Dir->setPrivateCounters(Exprs.PrivateCounters); in Create() [all …]
|
D | Stmt.cpp | 398 return cast<Expr>(Exprs[i]); in getOutputExpr() 409 return cast<Expr>(Exprs[i + NumOutputs]); in getInputExpr() 412 Exprs[i + NumOutputs] = E; in setInputExpr() 424 Stmt **Exprs, in setOutputsAndInputsAndClobbers() argument 439 C.Deallocate(this->Exprs); in setOutputsAndInputsAndClobbers() 440 this->Exprs = new (C) Stmt*[NumExprs]; in setOutputsAndInputsAndClobbers() 441 std::copy(Exprs, Exprs + NumExprs, this->Exprs); in setOutputsAndInputsAndClobbers() 677 return cast<Expr>(Exprs[i]); in getOutputExpr() 681 return cast<Expr>(Exprs[i + NumOutputs]); in getInputExpr() 684 Exprs[i + NumOutputs] = E; in setInputExpr() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaStmtAsm.cpp | 211 getClobberConflictLocation(MultiExprArg Exprs, StringLiteral **Constraints, in getClobberConflictLocation() argument 218 for (unsigned int i = 0; i < Exprs.size() - NumLabels; ++i) { in getClobberConflictLocation() 221 Constraint, extractRegisterName(Exprs[i], Target)); in getClobberConflictLocation() 244 MultiExprArg constraints, MultiExprArg Exprs, in ActOnGCCAsmStmt() argument 278 NumInputs, Names, Constraints, Exprs.data(), AsmString, in ActOnGCCAsmStmt() 282 ExprResult ER = CheckPlaceholderExpr(Exprs[i]); in ActOnGCCAsmStmt() 285 Exprs[i] = ER.get(); in ActOnGCCAsmStmt() 288 Expr *OutputExpr = Exprs[i]; in ActOnGCCAsmStmt() 330 if (RequireCompleteType(OutputExpr->getBeginLoc(), Exprs[i]->getType(), in ActOnGCCAsmStmt() 347 NumInputs, Names, Constraints, Exprs.data(), AsmString, in ActOnGCCAsmStmt() [all …]
|
D | MultiplexExternalSemaSource.cpp | 235 Exprs) { in ReadMismatchingDeleteExpressions() argument 237 Source->ReadMismatchingDeleteExpressions(Exprs); in ReadMismatchingDeleteExpressions()
|
/external/clang/lib/Sema/ |
D | SemaStmtAsm.cpp | 144 MultiExprArg constraints, MultiExprArg Exprs, in ActOnGCCAsmStmt() argument 163 Constraints, Exprs.data(), AsmString, NumClobbers, Clobbers, RParenLoc); in ActOnGCCAsmStmt() 181 ExprResult ER = CheckPlaceholderExpr(Exprs[i]); in ActOnGCCAsmStmt() 184 Exprs[i] = ER.get(); in ActOnGCCAsmStmt() 187 Expr *OutputExpr = Exprs[i]; in ActOnGCCAsmStmt() 227 if (RequireCompleteType(OutputExpr->getLocStart(), Exprs[i]->getType(), in ActOnGCCAsmStmt() 262 ExprResult ER = CheckPlaceholderExpr(Exprs[i]); in ActOnGCCAsmStmt() 265 Exprs[i] = ER.get(); in ActOnGCCAsmStmt() 267 Expr *InputExpr = Exprs[i]; in ActOnGCCAsmStmt() 300 ExprResult Result = DefaultFunctionArrayLvalueConversion(Exprs[i]); in ActOnGCCAsmStmt() [all …]
|
D | MultiplexExternalSemaSource.cpp | 220 Exprs) { in ReadMismatchingDeleteExpressions() argument 222 Source->ReadMismatchingDeleteExpressions(Exprs); in ReadMismatchingDeleteExpressions()
|
/external/llvm-project/llvm/unittests/Analysis/ |
D | ScalarEvolutionTest.cpp | 517 std::vector<const SCEV *> Exprs; in TEST_F() local 524 Exprs.push_back(GetAddRec(L0, {V0})); // 0 in TEST_F() 525 Exprs.push_back(GetAddRec(L0, {V0, V1})); // 1 in TEST_F() 526 Exprs.push_back(GetAddRec(L0, {V0, V1, V2})); // 2 in TEST_F() 527 Exprs.push_back(GetAddRec(L0, {V0, V1, V2, V3})); // 3 in TEST_F() 529 Exprs.push_back( in TEST_F() 530 GetAddRec(L1, {Exprs[1], Exprs[2], Exprs[3], Exprs[0]})); // 4 in TEST_F() 531 Exprs.push_back( in TEST_F() 532 GetAddRec(L1, {Exprs[1], Exprs[2], Exprs[0], Exprs[3]})); // 5 in TEST_F() 533 Exprs.push_back( in TEST_F() [all …]
|
/external/clang/lib/Parse/ |
D | ParseStmtAsm.cpp | 526 SmallVector<Expr *, 4> Exprs; in ParseMicrosoftAsmStatement() local 552 ConstraintRefs, ClobberRefs, Exprs, EndLoc); in ParseMicrosoftAsmStatement() 629 Exprs.resize(NumExprs); in ParseMicrosoftAsmStatement() 641 Exprs[i] = OpExpr; in ParseMicrosoftAsmStatement() 647 ClobberRefs, Exprs, EndLoc); in ParseMicrosoftAsmStatement() 727 ExprVector Exprs; in ParseAsmStatement() local 735 Constraints, Exprs, AsmString.get(), in ParseAsmStatement() 746 if (!AteExtraColon && ParseAsmOperandsOpt(Names, Constraints, Exprs)) in ParseAsmStatement() 762 if (!AteExtraColon && ParseAsmOperandsOpt(Names, Constraints, Exprs)) in ParseAsmStatement() 767 Constraints.size() == Exprs.size() && "Input operand size mismatch!"); in ParseAsmStatement() [all …]
|
D | ParseExprCXX.cpp | 895 ExprVector Exprs; in ParseLambdaIntroducer() local 900 } else if (ParseExpressionList(Exprs, Commas)) { in ParseLambdaIntroducer() 907 Exprs); in ParseLambdaIntroducer() 1690 ExprVector Exprs; in ParseCXXTypeConstructExpression() local 1694 if (ParseExpressionList(Exprs, CommaLocs, [&] { in ParseCXXTypeConstructExpression() 1697 DS.getLocEnd(), Exprs); in ParseCXXTypeConstructExpression() 1711 assert((Exprs.size() == 0 || Exprs.size()-1 == CommaLocs.size())&& in ParseCXXTypeConstructExpression() 1714 Exprs, in ParseCXXTypeConstructExpression()
|
D | ParseExpr.cpp | 2529 ExprVector Exprs; in ParseGenericSelectionExpression() local 2567 Exprs.push_back(ER.get()); in ParseGenericSelectionExpression() 2577 Types, Exprs); in ParseGenericSelectionExpression() 2655 bool Parser::ParseExpressionList(SmallVectorImpl<Expr *> &Exprs, in ParseExpressionList() argument 2682 Exprs.push_back(Expr.get()); in ParseExpressionList() 2693 for (auto &E : Exprs) { in ParseExpressionList() 2710 Parser::ParseSimpleExpressionList(SmallVectorImpl<Expr*> &Exprs, in ParseSimpleExpressionList() argument 2717 Exprs.push_back(Expr.get()); in ParseSimpleExpressionList()
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseStmtAsm.cpp | 529 SmallVector<Expr *, 4> Exprs; in ParseMicrosoftAsmStatement() local 551 ConstraintRefs, ClobberRefs, Exprs, EndLoc); in ParseMicrosoftAsmStatement() 650 Exprs.resize(NumExprs); in ParseMicrosoftAsmStatement() 662 Exprs[i] = OpExpr; in ParseMicrosoftAsmStatement() 668 ClobberRefs, Exprs, EndLoc); in ParseMicrosoftAsmStatement() 756 ExprVector Exprs; in ParseAsmStatement() local 764 /*NumOutputs*/ 0, /*NumInputs*/ 0, nullptr, Constraints, Exprs, in ParseAsmStatement() 775 if (!AteExtraColon && ParseAsmOperandsOpt(Names, Constraints, Exprs)) in ParseAsmStatement() 791 if (!AteExtraColon && ParseAsmOperandsOpt(Names, Constraints, Exprs)) in ParseAsmStatement() 796 Constraints.size() == Exprs.size() && "Input operand size mismatch!"); in ParseAsmStatement() [all …]
|
D | ParseExprCXX.cpp | 977 ExprVector Exprs; in ParseLambdaIntroducer() local 982 } else if (ParseExpressionList(Exprs, Commas)) { in ParseLambdaIntroducer() 989 Exprs); in ParseLambdaIntroducer() 1918 ExprVector Exprs; in ParseCXXTypeConstructExpression() local 1926 DS.getEndLoc(), Exprs, T.getOpenLocation()); in ParseCXXTypeConstructExpression() 1932 if (ParseExpressionList(Exprs, CommaLocs, [&] { in ParseCXXTypeConstructExpression() 1950 assert((Exprs.size() == 0 || Exprs.size()-1 == CommaLocs.size())&& in ParseCXXTypeConstructExpression() 1953 Exprs, T.getCloseLocation(), in ParseCXXTypeConstructExpression()
|
D | ParseExpr.cpp | 3191 ExprVector Exprs; in ParseGenericSelectionExpression() local 3229 Exprs.push_back(ER.get()); in ParseGenericSelectionExpression() 3239 Types, Exprs); in ParseGenericSelectionExpression() 3318 bool Parser::ParseExpressionList(SmallVectorImpl<Expr *> &Exprs, in ParseExpressionList() argument 3349 Exprs.push_back(Expr.get()); in ParseExpressionList() 3363 for (auto &E : Exprs) { in ParseExpressionList() 3380 Parser::ParseSimpleExpressionList(SmallVectorImpl<Expr*> &Exprs, in ParseSimpleExpressionList() argument 3387 Exprs.push_back(Expr.get()); in ParseSimpleExpressionList()
|
/external/llvm-project/clang/include/clang/AST/ |
D | StmtOpenMP.h | 1213 const HelperExprs &Exprs); 1290 Stmt *AssociatedStmt, const HelperExprs &Exprs, 1365 Stmt *AssociatedStmt, const HelperExprs &Exprs); 1755 Stmt *AssociatedStmt, const HelperExprs &Exprs, Expr *TaskRedRef, 1836 Stmt *AssociatedStmt, const HelperExprs &Exprs); 2910 Stmt *AssociatedStmt, const HelperExprs &Exprs, Expr *TaskRedRef, 3165 Stmt *AssociatedStmt, const HelperExprs &Exprs, bool HasCancel); 3233 Stmt *AssociatedStmt, const HelperExprs &Exprs); 3306 Stmt *AssociatedStmt, const HelperExprs &Exprs, bool HasCancel); 3375 Stmt *AssociatedStmt, const HelperExprs &Exprs); [all …]
|
D | Stmt.h | 2828 Stmt **Exprs = nullptr; variable 2907 return &Exprs[0] + NumOutputs; in begin_inputs() 2911 return &Exprs[0] + NumOutputs + NumInputs; in end_inputs() 2917 return &Exprs[0] + NumOutputs; in begin_inputs() 2921 return &Exprs[0] + NumOutputs + NumInputs; in end_inputs() 2936 return &Exprs[0]; in begin_outputs() 2940 return &Exprs[0] + NumOutputs; in end_outputs() 2948 return &Exprs[0]; in begin_outputs() 2952 return &Exprs[0] + NumOutputs; in end_outputs() 2960 return child_range(&Exprs[0], &Exprs[0] + NumOutputs + NumInputs); in children() [all …]
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 325 SmallVector<Stmt*, 16> Exprs; in VisitGCCAsmStmt() local 329 Exprs.push_back(Reader.ReadSubStmt()); in VisitGCCAsmStmt() 339 Exprs.data(), NumOutputs, NumInputs, in VisitGCCAsmStmt() 372 SmallVector<Expr*, 16> Exprs; in VisitMSAsmStmt() local 375 Exprs.reserve(NumOperands); in VisitMSAsmStmt() 379 Exprs.push_back(cast<Expr>(Reader.ReadSubStmt())); in VisitMSAsmStmt() 385 Constraints, Exprs, Clobbers); in VisitMSAsmStmt() 540 E->Exprs = new (Reader.getContext()) Stmt*[NumExprs]; in VisitParenListExpr() 542 E->Exprs[i] = Reader.ReadSubStmt(); in VisitParenListExpr() 892 SmallVector<Expr *, 16> Exprs; in VisitShuffleVectorExpr() local [all …]
|
/external/clang/include/clang/AST/ |
D | Stmt.h | 1429 Stmt **Exprs; variable 1441 Stmt(SC, Empty), Exprs(nullptr) { } in AsmStmt() 1510 return &Exprs[0] + NumOutputs; in begin_inputs() 1514 return &Exprs[0] + NumOutputs + NumInputs; in end_inputs() 1520 return &Exprs[0] + NumOutputs; in begin_inputs() 1524 return &Exprs[0] + NumOutputs + NumInputs; in end_inputs() 1539 return &Exprs[0]; in begin_outputs() 1542 return &Exprs[0] + NumOutputs; in end_outputs() 1549 return &Exprs[0]; in begin_outputs() 1552 return &Exprs[0] + NumOutputs; in end_outputs() [all …]
|
D | StmtOpenMP.h | 828 const HelperExprs &Exprs); 901 Stmt *AssociatedStmt, const HelperExprs &Exprs, 969 Stmt *AssociatedStmt, const HelperExprs &Exprs); 1350 Stmt *AssociatedStmt, const HelperExprs &Exprs, bool HasCancel); 1422 Stmt *AssociatedStmt, const HelperExprs &Exprs); 2359 Stmt *AssociatedStmt, const HelperExprs &Exprs, bool HasCancel); 2607 Stmt *AssociatedStmt, const HelperExprs &Exprs); 2673 Stmt *AssociatedStmt, const HelperExprs &Exprs); 2741 Stmt *AssociatedStmt, const HelperExprs &Exprs); 2869 Stmt *AssociatedStmt, const HelperExprs &Exprs); [all …]
|
/external/clang/include/clang/Sema/ |
D | MultiplexExternalSemaSource.h | 222 Exprs) override;
|
/external/llvm-project/clang/include/clang/Sema/ |
D | MultiplexExternalSemaSource.h | 227 Exprs) override;
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | ASTUtils.h | 463 4>> &Exprs) override { in ReadMismatchingDeleteExpressions() argument 465 Source->ReadMismatchingDeleteExpressions(Exprs); in ReadMismatchingDeleteExpressions()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 383 SmallVector<Stmt*, 16> Exprs; in VisitGCCAsmStmt() local 387 Exprs.push_back(Record.readSubStmt()); in VisitGCCAsmStmt() 397 Exprs.push_back(Record.readSubStmt()); in VisitGCCAsmStmt() 401 Exprs.data(), NumOutputs, NumInputs, in VisitGCCAsmStmt() 435 SmallVector<Expr*, 16> Exprs; in VisitMSAsmStmt() local 438 Exprs.reserve(NumOperands); in VisitMSAsmStmt() 442 Exprs.push_back(cast<Expr>(Record.readSubStmt())); in VisitMSAsmStmt() 448 Constraints, Exprs, Clobbers); in VisitMSAsmStmt() 1328 SmallVector<Expr *, 16> Exprs; in VisitShuffleVectorExpr() local 1331 Exprs.push_back(Record.readSubExpr()); in VisitShuffleVectorExpr() [all …]
|