Lines Matching defs:For

1394   //  For constructs other than task, if no default clause is present, these
2163 // - For pointers mapped by value that have either an implicit map or an
3576 /// For target specific clauses, the requires directive cannot be
5307 // For task, taskloop or target directives, allocation requests to memory
5577 // For range-based for-loops convert the loop counter value to a concrete
5598 if (auto *For = dyn_cast<ForStmt>(AStmt)) {
5599 Stmt *Init = For->getInit();
5601 // For statement declares loop variable.
5604 // For statement reuses variable.
5613 Cond = For->getCond();
5614 Inc = For->getInc();
5672 // TODO: For iterators, use iterator::difference_type,
9177 auto *For = dyn_cast_or_null<ForStmt>(S);
9180 if (!For && (SemaRef.LangOpts.OpenMP <= 45 || !CXXFor)) {
9202 assert(((For && For->getBody()) || (CXXFor && CXXFor->getBody())) &&
9209 For ? For->getForLoc() : CXXFor->getForLoc(),
9213 Stmt *Init = For ? For->getInit() : CXXFor->getBeginStmt();
9224 // For C++, a variable of a random access iterator type.
9225 // For C, a variable of a pointer type.
9249 HasErrors |= ISC.checkAndSetCond(For ? For->getCond() : CXXFor->getCond());
9252 HasErrors |= ISC.checkAndSetInc(For ? For->getInc() : CXXFor->getInc());
9260 DSA.getCurScope(), For ? For->getCond() : CXXFor->getCond(), Captures);
12496 // * For forms that allow multiple occurrences of x, the number of times
14119 if (auto *For = dyn_cast<ForStmt>(CurStmt)) {
14120 OriginalInits.back().push_back(For->getInit());
14121 Body = For->getBody();
14158 // For range-based for-statements, ensure that their syntactic sugar is
14305 // pass non-positive numbers. For instance:
14358 // For init-statement: auto .tile.iv = .floor.iv
14369 // For cond-expression:
14392 // For incr-statement: ++.tile.iv
14443 // For init-statement: auto .floor.iv = 0
14455 // For cond-expression: .floor.iv < NumIterations
14462 // For incr-statement: .floor.iv += DimTileSize
14650 // Inner For init-statement: auto .unroll_inner.iv = .unrolled.iv
14659 // Inner For cond-expression:
14687 // Inner For incr-statement: ++.unroll_inner.iv
14693 // Inner For statement.
14725 // Outer For init-statement: auto .unrolled.iv = 0
14735 // Outer For cond-expression: .unrolled.iv < NumIterations
14742 // Outer For incr-statement: .unrolled.iv += Factor
14749 // Outer For statement.
14872 // For init-statement:
14937 // Finally create the reversed For-statement.
15092 // For init-statement:
15107 // For cond-expression:
15117 // For incr-statement:
15318 // For [target] teams loop, assume capture region is 'teams' so it's
17334 // listed below. For these exceptions only, listing a predetermined
17510 // listed below. For these exceptions only, listing a predetermined
17646 // For arrays generate initializer for single element and replace it by the
17852 // For arrays generate assignment operation for single element and replace
17930 // listed below. For these exceptions only, listing a predetermined
18163 // For a unary operator @ with an operand of a type whose
18323 // For array sections of the form [1:] or [:], we would need to analyze
18349 // For array sections of the form [1:] or [:], we would need to analyze
18604 // listed below. For these exceptions only, listing a predetermined
18685 // for the reduction-identifier. For a max or min reduction in C, the type
18688 // unsigned. For a max or min reduction in C++, the type of the list item
18759 // For arrays/array sections only:
18762 // For array subscripts or single variables Private Ty is the same as Type
18991 // For simd directive and simd-based directives in simd mode no need to
19661 // For arrays generate assignment operation for single element and replace
20365 // For this restriction it is sufficient that we make sure only references
21428 // For the following checks, we rely on the base declaration which is
21632 // Save the components and declaration to create the clause. For purposes of