Home
last modified time | relevance | path

Searched refs:Exprs (Results 1 – 25 of 30) sorted by relevance

12

/external/clang/lib/AST/
DStmtOpenMP.cpp86 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 …]
DStmt.cpp398 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 …]
DExpr.cpp2606 bool Expr::hasAnyTypeDependentArguments(ArrayRef<Expr *> Exprs) { in hasAnyTypeDependentArguments() argument
2607 for (unsigned I = 0; I < Exprs.size(); ++I) in hasAnyTypeDependentArguments()
2608 if (Exprs[I]->isTypeDependent()) in hasAnyTypeDependentArguments()
3451 void ShuffleVectorExpr::setExprs(const ASTContext &C, ArrayRef<Expr *> Exprs) { in setExprs() argument
3454 this->NumExprs = Exprs.size(); in setExprs()
3456 memcpy(SubExprs, Exprs.data(), sizeof(Expr *) * Exprs.size()); in setExprs()
3712 Exprs = new (C) Stmt*[exprs.size()]; in ParenListExpr()
3723 Exprs[i] = exprs[i]; in ParenListExpr()
DASTImporter.cpp4861 SmallVector<Expr *, 4> Exprs(S->getNumOutputs() + S->getNumInputs()); in VisitGCCAsmStmt() local
4862 if (ImportArrayChecked(S->begin_outputs(), S->end_outputs(), Exprs.begin())) in VisitGCCAsmStmt()
4866 Exprs.begin() + S->getNumOutputs())) in VisitGCCAsmStmt()
4883 Exprs.data(), in VisitGCCAsmStmt()
5545 SmallVector<Expr *, 6> Exprs(E->getNumSubExprs()); in VisitAtomicExpr() local
5548 Exprs.begin())) in VisitAtomicExpr()
5552 Importer.Import(E->getBuiltinLoc()), Exprs, T, E->getOp(), in VisitAtomicExpr()
5582 SmallVector<Expr *, 4> Exprs(E->getNumExprs()); in VisitParenListExpr() local
5584 E->getExprs(), E->getExprs() + E->getNumExprs(), Exprs.begin())) in VisitParenListExpr()
5589 Exprs, Importer.Import(E->getLParenLoc())); in VisitParenListExpr()
[all …]
/external/clang/lib/Sema/
DSemaStmtAsm.cpp144 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 …]
DMultiplexExternalSemaSource.cpp220 Exprs) { in ReadMismatchingDeleteExpressions() argument
222 Source->ReadMismatchingDeleteExpressions(Exprs); in ReadMismatchingDeleteExpressions()
DSemaExprCXX.cpp1242 MultiExprArg Exprs, in BuildCXXTypeConstructExpr() argument
1247 if (Ty->isDependentType() || CallExpr::hasAnyTypeDependentArguments(Exprs)) { in BuildCXXTypeConstructExpr()
1248 return CXXUnresolvedConstructExpr::Create(Context, TInfo, LParenLoc, Exprs, in BuildCXXTypeConstructExpr()
1253 assert((!ListInitialization || (Exprs.size() == 1 && isa<InitListExpr>(Exprs[0]))) in BuildCXXTypeConstructExpr()
1256 ListInitialization ? Exprs[0]->getSourceRange().getEnd() : RParenLoc); in BuildCXXTypeConstructExpr()
1262 if (Exprs.size() == 1 && !ListInitialization) { in BuildCXXTypeConstructExpr()
1263 Expr *Arg = Exprs[0]; in BuildCXXTypeConstructExpr()
1295 Exprs.size() ? ListInitialization in BuildCXXTypeConstructExpr()
1299 InitializationSequence InitSeq(*this, Entity, Kind, Exprs); in BuildCXXTypeConstructExpr()
1300 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, Exprs); in BuildCXXTypeConstructExpr()
DSemaTemplateInstantiate.cpp2693 bool Sema::SubstExprs(ArrayRef<Expr *> Exprs, bool IsCall, in SubstExprs() argument
2696 if (Exprs.empty()) in SubstExprs()
2702 return Instantiator.TransformExprs(Exprs.data(), Exprs.size(), in SubstExprs()
DTreeTransform.h1277 MultiExprArg Constraints, MultiExprArg Exprs, in RebuildGCCAsmStmt() argument
1281 NumInputs, Names, Constraints, Exprs, in RebuildGCCAsmStmt()
1295 ArrayRef<Expr*> Exprs, in RebuildMSAsmStmt() argument
1299 Constraints, Clobbers, Exprs, EndLoc); in RebuildMSAsmStmt()
2337 ArrayRef<Expr *> Exprs) { in RebuildGenericSelectionExpr() argument
2339 ControllingExpr, Types, Exprs); in RebuildGenericSelectionExpr()
6522 SmallVector<Expr*, 8> Exprs; in TransformGCCAsmStmt() local
6545 Exprs.push_back(Result.get()); in TransformGCCAsmStmt()
6563 Exprs.push_back(Result.get()); in TransformGCCAsmStmt()
6578 Constraints, Exprs, AsmString.get(), in TransformGCCAsmStmt()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DScalarEvolutionTest.cpp565 std::vector<const SCEV *> Exprs; in TEST_F() local
572 Exprs.push_back(GetAddRec(L0, {V0})); // 0 in TEST_F()
573 Exprs.push_back(GetAddRec(L0, {V0, V1})); // 1 in TEST_F()
574 Exprs.push_back(GetAddRec(L0, {V0, V1, V2})); // 2 in TEST_F()
575 Exprs.push_back(GetAddRec(L0, {V0, V1, V2, V3})); // 3 in TEST_F()
577 Exprs.push_back( in TEST_F()
578 GetAddRec(L1, {Exprs[1], Exprs[2], Exprs[3], Exprs[0]})); // 4 in TEST_F()
579 Exprs.push_back( in TEST_F()
580 GetAddRec(L1, {Exprs[1], Exprs[2], Exprs[0], Exprs[3]})); // 5 in TEST_F()
581 Exprs.push_back( in TEST_F()
[all …]
/external/clang/lib/Parse/
DParseStmtAsm.cpp526 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 …]
DParseExprCXX.cpp895 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()
DParseExpr.cpp2529 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()
DParseDecl.cpp2092 ExprVector Exprs; in ParseDeclarationAfterDeclaratorAndAttributes() local
2100 if (ParseExpressionList(Exprs, CommaLocs, [&] { in ParseDeclarationAfterDeclaratorAndAttributes()
2103 ThisDecl->getLocation(), Exprs); in ParseDeclarationAfterDeclaratorAndAttributes()
2116 assert(!Exprs.empty() && Exprs.size()-1 == CommaLocs.size() && in ParseDeclarationAfterDeclaratorAndAttributes()
2126 Exprs); in ParseDeclarationAfterDeclaratorAndAttributes()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp325 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/
DStmt.h1429 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 …]
DStmtOpenMP.h828 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 …]
DExpr.h815 static bool hasAnyTypeDependentArguments(ArrayRef<Expr *> Exprs);
3471 void setExprs(const ASTContext &C, ArrayRef<Expr *> Exprs);
4339 Stmt **Exprs; variable
4354 return cast_or_null<Expr>(Exprs[Init]); in getExpr()
4359 return cast_or_null<Expr>(Exprs[Init]); in getExpr()
4362 Expr **getExprs() { return reinterpret_cast<Expr **>(Exprs); } in getExprs()
4380 return child_range(&Exprs[0], &Exprs[0]+NumExprs); in children()
/external/syzkaller/vendor/github.com/ianlancetaylor/demangle/
Dast.go1697 c += len(el.Exprs)
2424 Exprs []AST member
2428 for i, e := range el.Exprs {
2438 for _, e := range el.Exprs {
2448 exprs := make([]AST, len(el.Exprs))
2450 for i, e := range el.Exprs {
2462 el = &ExprList{Exprs: exprs}
2474 if len(el.Exprs) == 0 {
2478 for i, e := range el.Exprs {
2489 Exprs AST member
[all …]
Ddemangle.go1773 return &ExprList{Exprs: nil}
1785 return &ExprList{Exprs: exprs}
1913 return &InitializerList{Type: t, Exprs: exprs}
1976 if place.(*ExprList).Exprs == nil {
2461 return &ExprList{Exprs: exprs}
/external/clang/include/clang/Sema/
DMultiplexExternalSemaSource.h222 Exprs) override;
DSema.h3492 MultiExprArg Constraints, MultiExprArg Exprs,
3512 ArrayRef<Expr*> Exprs,
3888 ArrayRef<Expr *> Exprs);
4295 CXXConstructorDecl *Constructor, MultiExprArg Exprs,
4306 MultiExprArg Exprs,
4318 MultiExprArg Exprs, bool HadMultipleCandidates,
4757 MultiExprArg Exprs,
4762 MultiExprArg Exprs,
7175 bool SubstExprs(ArrayRef<Expr *> Exprs, bool IsCall,
/external/clang/include/clang/Parse/
DParser.h1459 bool ParseExpressionList(SmallVectorImpl<Expr *> &Exprs,
1465 bool ParseSimpleExpressionList(SmallVectorImpl<Expr*> &Exprs,
1592 bool ParseExpressionListOrTypeId(SmallVectorImpl<Expr*> &Exprs,
1755 SmallVectorImpl<Expr *> &Exprs);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Demangle/
DItaniumDemangle.cpp3603 size_t Exprs = Names.size(); in parseNewExpr() local
3610 NodeArray ExprList = popTrailingNodeArray(Exprs); in parseNewExpr()
3651 NodeArray Exprs = popTrailingNodeArray(ExprsBegin); in parseConversionExpr() local
3652 return make<ConversionExpr>(Ty, Exprs); in parseConversionExpr()
/external/libcxxabi/src/demangle/
DItaniumDemangle.h3858 size_t Exprs = Names.size(); in parseNewExpr() local
3865 NodeArray ExprList = popTrailingNodeArray(Exprs); in parseNewExpr()
3907 NodeArray Exprs = popTrailingNodeArray(ExprsBegin); in parseConversionExpr() local
3908 return make<ConversionExpr>(Ty, Exprs); in parseConversionExpr()

12