Lines Matching defs:PreInits
9500 MutableArrayRef<Decl *> PreInits) {
9501 if (!PreInits.empty()) {
9503 DeclGroupRef::Create(Context, PreInits.begin(), PreInits.size()),
9533 SmallVector<Decl *, 16> PreInits;
9535 PreInits.push_back(Pair.second->getDecl());
9536 return buildPreInits(Context, PreInits);
9542 static Stmt *buildPreInits(ASTContext &Context, ArrayRef<Stmt *> PreInits) {
9543 if (PreInits.empty())
9547 for (Stmt *S : PreInits)
9549 return CompoundStmt::Create(Context, PreInits, FPOptionsOverride(), {}, {});
10246 Built.PreInits = buildPreInits(C, Captures);
14073 SmallVectorImpl<Stmt *> &PreInits) {
14080 PreInits.push_back(RangeInit);
14083 PreInits.push_back(new (Context) DeclStmt(RangeStmt->getDeclGroup(),
14088 PreInits.push_back(new (Context) DeclStmt(RangeEnd->getDeclGroup(),
14093 llvm::append_range(PreInits, OriginalInit);
14096 if (auto *PI = cast_or_null<DeclStmt>(LoopHelper.PreInits)) {
14097 PreInits.push_back(new (Context) DeclStmt(
14105 PreInits.push_back(new (Context) DeclStmt(
14167 SmallVector<Stmt *, 4> PreInits;
14209 PreInits);
14394 buildPreInits(Context, PreInits));
14464 // directives applied: \code OriginalInits; LoopHelper.PreInits;
14471 // where IV is a variable declared and initialized to 0 in LoopHelper.PreInits
14477 // LoopHelper.PreInits; > NewPreInits
14498 // of a canonical loop nest where these PreInits are emitted before the
14506 SmallVector<Stmt *, 4> PreInits;
14507 addLoopPreInits(Context, LoopHelper, LoopStmt, OriginalInits[0], PreInits);
14674 buildPreInits(Context, PreInits));
14713 SmallVector<Stmt *> PreInits;
14714 addLoopPreInits(Context, LoopHelper, LoopStmt, OriginalInits[0], PreInits);
14861 buildPreInits(Context, PreInits));
14906 SmallVector<Stmt *> PreInits;
14916 PreInits);
15013 buildPreInits(Context, PreInits));