Lines Matching defs:For
1424 // For constructs other than task, if no default clause is present, these
2195 // - For pointers mapped by value that have either an implicit map or an
3590 /// For target specific clauses, the requires directive cannot be
5325 // For task, taskloop or target directives, allocation requests to memory
5595 // For range-based for-loops convert the loop counter value to a concrete
5616 if (auto *For = dyn_cast<ForStmt>(AStmt)) {
5617 Stmt *Init = For->getInit();
5619 // For statement declares loop variable.
5622 // For statement reuses variable.
5631 Cond = For->getCond();
5632 Inc = For->getInc();
5690 // TODO: For iterators, use iterator::difference_type,
9169 auto *For = dyn_cast_or_null<ForStmt>(S);
9172 if (!For && (SemaRef.LangOpts.OpenMP <= 45 || !CXXFor)) {
9198 assert(((For && For->getBody()) || (CXXFor && CXXFor->getBody())) &&
9205 For ? For->getForLoc() : CXXFor->getForLoc());
9208 Stmt *Init = For ? For->getInit() : CXXFor->getBeginStmt();
9219 // For C++, a variable of a random access iterator type.
9220 // For C, a variable of a pointer type.
9244 HasErrors |= ISC.checkAndSetCond(For ? For->getCond() : CXXFor->getCond());
9247 HasErrors |= ISC.checkAndSetInc(For ? For->getInc() : CXXFor->getInc());
9255 DSA.getCurScope(), For ? For->getCond() : CXXFor->getCond(), Captures);
12474 // * For forms that allow multiple occurrences of x, the number of times
14036 if (auto *For = dyn_cast<ForStmt>(CurStmt)) {
14037 OriginalInits.back().push_back(For->getInit());
14038 Body = For->getBody();
14075 // For range-based for-statements, ensure that their syntactic sugar is
14222 // pass non-positive numbers. For instance:
14275 // For init-statement: auto .tile.iv = .floor.iv
14286 // For cond-expression:
14309 // For incr-statement: ++.tile.iv
14360 // For init-statement: auto .floor.iv = 0
14372 // For cond-expression: .floor.iv < NumIterations
14379 // For incr-statement: .floor.iv += DimTileSize
14567 // Inner For init-statement: auto .unroll_inner.iv = .unrolled.iv
14576 // Inner For cond-expression:
14604 // Inner For incr-statement: ++.unroll_inner.iv
14610 // Inner For statement.
14642 // Outer For init-statement: auto .unrolled.iv = 0
14652 // Outer For cond-expression: .unrolled.iv < NumIterations
14659 // Outer For incr-statement: .unrolled.iv += Factor
14666 // Outer For statement.
14789 // For init-statement:
14854 // Finally create the reversed For-statement.
14964 // For init-statement:
14979 // For cond-expression:
14989 // For incr-statement:
15191 // For [target] teams loop, assume capture region is 'teams' so it's
17147 // listed below. For these exceptions only, listing a predetermined
17323 // listed below. For these exceptions only, listing a predetermined
17459 // For arrays generate initializer for single element and replace it by the
17665 // For arrays generate assignment operation for single element and replace
17743 // listed below. For these exceptions only, listing a predetermined
17976 // For a unary operator @ with an operand of a type whose
18135 // For array sections of the form [1:] or [:], we would need to analyze
18161 // For array sections of the form [1:] or [:], we would need to analyze
18414 // listed below. For these exceptions only, listing a predetermined
18495 // for the reduction-identifier. For a max or min reduction in C, the type
18498 // unsigned. For a max or min reduction in C++, the type of the list item
18569 // For arrays/array sections only:
18572 // For array subscripts or single variables Private Ty is the same as Type
18801 // For simd directive and simd-based directives in simd mode no need to
19471 // For arrays generate assignment operation for single element and replace
20175 // For this restriction it is sufficient that we make sure only references
21040 // For the following checks, we rely on the base declaration which is
21226 // Save the components and declaration to create the clause. For purposes of