Home
last modified time | relevance | path

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

/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()
670 return cast<Expr>(Exprs[i]); in getOutputExpr()
674 return cast<Expr>(Exprs[i + NumOutputs]); in getInputExpr()
677 Exprs[i + NumOutputs] = E; in setInputExpr()
[all …]
DExpr.cpp2759 bool Expr::hasAnyTypeDependentArguments(ArrayRef<Expr *> Exprs) { in hasAnyTypeDependentArguments() argument
2760 for (unsigned I = 0; I < Exprs.size(); ++I) in hasAnyTypeDependentArguments()
2761 if (Exprs[I]->isTypeDependent()) in hasAnyTypeDependentArguments()
3589 void ShuffleVectorExpr::setExprs(const ASTContext &C, ArrayRef<Expr *> Exprs) { in setExprs() argument
3592 this->NumExprs = Exprs.size(); in setExprs()
3594 memcpy(SubExprs, Exprs.data(), sizeof(Expr *) * Exprs.size()); in setExprs()
3855 Exprs = new (C) Stmt*[exprs.size()]; in ParenListExpr()
3866 Exprs[i] = exprs[i]; in ParenListExpr()
/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.cpp215 Exprs) { in ReadMismatchingDeleteExpressions() argument
217 Source->ReadMismatchingDeleteExpressions(Exprs); in ReadMismatchingDeleteExpressions()
DSemaExprCXX.cpp1009 MultiExprArg Exprs, in BuildCXXTypeConstructExpr() argument
1014 if (Ty->isDependentType() || CallExpr::hasAnyTypeDependentArguments(Exprs)) { in BuildCXXTypeConstructExpr()
1015 return CXXUnresolvedConstructExpr::Create(Context, TInfo, LParenLoc, Exprs, in BuildCXXTypeConstructExpr()
1020 assert((!ListInitialization || (Exprs.size() == 1 && isa<InitListExpr>(Exprs[0]))) in BuildCXXTypeConstructExpr()
1023 ListInitialization ? Exprs[0]->getSourceRange().getEnd() : RParenLoc); in BuildCXXTypeConstructExpr()
1029 if (Exprs.size() == 1 && !ListInitialization) { in BuildCXXTypeConstructExpr()
1030 Expr *Arg = Exprs[0]; in BuildCXXTypeConstructExpr()
1062 Exprs.size() ? ListInitialization in BuildCXXTypeConstructExpr()
1066 InitializationSequence InitSeq(*this, Entity, Kind, Exprs); in BuildCXXTypeConstructExpr()
1067 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, Exprs); in BuildCXXTypeConstructExpr()
DTreeTransform.h1265 MultiExprArg Constraints, MultiExprArg Exprs, in RebuildGCCAsmStmt() argument
1269 NumInputs, Names, Constraints, Exprs, in RebuildGCCAsmStmt()
1283 ArrayRef<Expr*> Exprs, in RebuildMSAsmStmt() argument
1287 Constraints, Clobbers, Exprs, EndLoc); in RebuildMSAsmStmt()
2264 ArrayRef<Expr *> Exprs) { in RebuildGenericSelectionExpr() argument
2266 ControllingExpr, Types, Exprs); in RebuildGenericSelectionExpr()
6418 SmallVector<Expr*, 8> Exprs; in TransformGCCAsmStmt() local
6441 Exprs.push_back(Result.get()); in TransformGCCAsmStmt()
6459 Exprs.push_back(Result.get()); in TransformGCCAsmStmt()
6474 Constraints, Exprs, AsmString.get(), in TransformGCCAsmStmt()
DSemaTemplateInstantiate.cpp2669 bool Sema::SubstExprs(Expr **Exprs, unsigned NumExprs, bool IsCall, in SubstExprs() argument
2678 return Instantiator.TransformExprs(Exprs, NumExprs, IsCall, Outputs); in SubstExprs()
DSemaExpr.cpp1362 ArrayRef<Expr *> Exprs) { in CreateGenericSelectionExpr() argument
1364 assert(NumAssocs == Exprs.size()); in CreateGenericSelectionExpr()
1386 if (Exprs[i]->containsUnexpandedParameterPack()) in CreateGenericSelectionExpr()
1440 Context, KeyLoc, ControllingExpr, Types, Exprs, DefaultLoc, RParenLoc, in CreateGenericSelectionExpr()
1493 Context, KeyLoc, ControllingExpr, Types, Exprs, DefaultLoc, RParenLoc, in CreateGenericSelectionExpr()
11199 SmallVector<Expr*, 4> Exprs; in BuildBuiltinOffsetOf() local
11226 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd)); in BuildBuiltinOffsetOf()
11227 Exprs.push_back(Idx); in BuildBuiltinOffsetOf()
11334 Comps, Exprs, RParenLoc); in BuildBuiltinOffsetOf()
/external/clang/lib/Parse/
DParseStmtAsm.cpp492 SmallVector<Expr *, 4> Exprs; in ParseMicrosoftAsmStatement() local
518 ConstraintRefs, ClobberRefs, Exprs, EndLoc); in ParseMicrosoftAsmStatement()
591 Exprs.resize(NumExprs); in ParseMicrosoftAsmStatement()
603 Exprs[i] = OpExpr; in ParseMicrosoftAsmStatement()
609 ClobberRefs, Exprs, EndLoc); in ParseMicrosoftAsmStatement()
682 ExprVector Exprs; in ParseAsmStatement() local
690 Constraints, Exprs, AsmString.get(), in ParseAsmStatement()
701 if (!AteExtraColon && ParseAsmOperandsOpt(Names, Constraints, Exprs)) in ParseAsmStatement()
717 if (!AteExtraColon && ParseAsmOperandsOpt(Names, Constraints, Exprs)) in ParseAsmStatement()
722 Constraints.size() == Exprs.size() && "Input operand size mismatch!"); in ParseAsmStatement()
[all …]
DParseExprCXX.cpp884 ExprVector Exprs; in ParseLambdaIntroducer() local
889 } else if (ParseExpressionList(Exprs, Commas)) { in ParseLambdaIntroducer()
896 Exprs); in ParseLambdaIntroducer()
1622 ExprVector Exprs; in ParseCXXTypeConstructExpression() local
1626 if (ParseExpressionList(Exprs, CommaLocs, [&] { in ParseCXXTypeConstructExpression()
1629 DS.getLocEnd(), Exprs); in ParseCXXTypeConstructExpression()
1643 assert((Exprs.size() == 0 || Exprs.size()-1 == CommaLocs.size())&& in ParseCXXTypeConstructExpression()
1646 Exprs, in ParseCXXTypeConstructExpression()
DParseExpr.cpp2481 ExprVector Exprs; in ParseGenericSelectionExpression() local
2519 Exprs.push_back(ER.get()); in ParseGenericSelectionExpression()
2529 Types, Exprs); in ParseGenericSelectionExpression()
2607 bool Parser::ParseExpressionList(SmallVectorImpl<Expr *> &Exprs, in ParseExpressionList() argument
2634 Exprs.push_back(Expr.get()); in ParseExpressionList()
2645 for (auto &E : Exprs) { in ParseExpressionList()
2662 Parser::ParseSimpleExpressionList(SmallVectorImpl<Expr*> &Exprs, in ParseSimpleExpressionList() argument
2669 Exprs.push_back(Expr.get()); in ParseSimpleExpressionList()
DParseDecl.cpp2055 ExprVector Exprs; in ParseDeclarationAfterDeclaratorAndAttributes() local
2063 if (ParseExpressionList(Exprs, CommaLocs, [&] { in ParseDeclarationAfterDeclaratorAndAttributes()
2066 ThisDecl->getLocation(), Exprs); in ParseDeclarationAfterDeclaratorAndAttributes()
2079 assert(!Exprs.empty() && Exprs.size()-1 == CommaLocs.size() && in ParseDeclarationAfterDeclaratorAndAttributes()
2089 Exprs); in ParseDeclarationAfterDeclaratorAndAttributes()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp321 SmallVector<Stmt*, 16> Exprs; in VisitGCCAsmStmt() local
325 Exprs.push_back(Reader.ReadSubStmt()); in VisitGCCAsmStmt()
335 Exprs.data(), NumOutputs, NumInputs, in VisitGCCAsmStmt()
368 SmallVector<Expr*, 16> Exprs; in VisitMSAsmStmt() local
371 Exprs.reserve(NumOperands); in VisitMSAsmStmt()
375 Exprs.push_back(cast<Expr>(Reader.ReadSubStmt())); in VisitMSAsmStmt()
381 Constraints, Exprs, Clobbers); in VisitMSAsmStmt()
534 E->Exprs = new (Reader.getContext()) Stmt*[NumExprs]; in VisitParenListExpr()
536 E->Exprs[i] = Reader.ReadSubStmt(); in VisitParenListExpr()
887 SmallVector<Expr *, 16> Exprs; in VisitShuffleVectorExpr() local
[all …]
DASTWriterStmt.cpp463 Writer.AddStmt(E->Exprs[i]); in VisitParenListExpr()
DASTReader.cpp7192 Exprs) { in ReadMismatchingDeleteExpressions() argument
7200 Exprs[FD].push_back(std::make_pair(DeleteLoc, IsArrayForm)); in ReadMismatchingDeleteExpressions()
/external/clang/include/clang/AST/
DStmt.h1407 Stmt **Exprs; variable
1419 Stmt(SC, Empty), Exprs(nullptr) { } in AsmStmt()
1488 return &Exprs[0] + NumOutputs; in begin_inputs()
1492 return &Exprs[0] + NumOutputs + NumInputs; in end_inputs()
1498 return &Exprs[0] + NumOutputs; in begin_inputs()
1502 return &Exprs[0] + NumOutputs + NumInputs; in end_inputs()
1517 return &Exprs[0]; in begin_outputs()
1520 return &Exprs[0] + NumOutputs; in end_outputs()
1527 return &Exprs[0]; in begin_outputs()
1530 return &Exprs[0] + NumOutputs; in end_outputs()
[all …]
DStmtOpenMP.h747 const HelperExprs &Exprs);
820 Stmt *AssociatedStmt, const HelperExprs &Exprs,
888 Stmt *AssociatedStmt, const HelperExprs &Exprs);
1269 Stmt *AssociatedStmt, const HelperExprs &Exprs, bool HasCancel);
1341 Stmt *AssociatedStmt, const HelperExprs &Exprs);
2268 Stmt *AssociatedStmt, const HelperExprs &Exprs);
2334 Stmt *AssociatedStmt, const HelperExprs &Exprs);
2402 Stmt *AssociatedStmt, const HelperExprs &Exprs);
DExpr.h807 static bool hasAnyTypeDependentArguments(ArrayRef<Expr *> Exprs);
3537 void setExprs(const ASTContext &C, ArrayRef<Expr *> Exprs);
4436 Stmt **Exprs; variable
4451 return cast_or_null<Expr>(Exprs[Init]); in getExpr()
4456 return cast_or_null<Expr>(Exprs[Init]); in getExpr()
4459 Expr **getExprs() { return reinterpret_cast<Expr **>(Exprs); } in getExprs()
4477 return child_range(&Exprs[0], &Exprs[0]+NumExprs); in children()
/external/clang/include/clang/Sema/
DMultiplexExternalSemaSource.h218 Exprs) override;
DSema.h3407 MultiExprArg Constraints, MultiExprArg Exprs,
3428 ArrayRef<Expr*> Exprs,
3797 ArrayRef<Expr *> Exprs);
4194 CXXConstructorDecl *Constructor, MultiExprArg Exprs,
4205 MultiExprArg Exprs, bool HadMultipleCandidates,
4642 MultiExprArg Exprs,
4647 MultiExprArg Exprs,
7013 bool SubstExprs(Expr **Exprs, unsigned NumExprs, bool IsCall,
/external/clang/include/clang/Parse/
DParser.h1437 bool ParseExpressionList(SmallVectorImpl<Expr *> &Exprs,
1443 bool ParseSimpleExpressionList(SmallVectorImpl<Expr*> &Exprs,
1570 bool ParseExpressionListOrTypeId(SmallVectorImpl<Expr*> &Exprs,
1722 SmallVectorImpl<Expr *> &Exprs);
/external/clang/include/clang/Serialization/
DASTReader.h1807 Exprs) override;