Lines Matching defs:For

114 isl::ast_expr IslNodeBuilder::getUpperBound(isl::ast_node_for For,
116 isl::ast_expr Cond = For.cond();
117 isl::ast_expr Iterator = For.iterator();
152 int IslNodeBuilder::getNumberOfIterations(isl::ast_node_for For) {
153 assert(isl_ast_node_get_type(For.get()) == isl_ast_node_for);
154 isl::ast_node Body = For.body();
174 isl::ast_expr Init = For.init();
177 isl::ast_expr Inc = For.inc();
181 isl::ast_expr UB = getUpperBound(For, Predicate);
283 /// statement and the base pointers of the memory accesses. For scalar
300 /// statement and the base pointers of the memory accesses. For scalar
321 void IslNodeBuilder::getReferencesInSubtree(const isl::ast_node &For,
335 isl::union_set Schedule = getScheduleForAstNode(For).domain();
437 void IslNodeBuilder::createForSequential(isl::ast_node_for For,
445 bool LoopVectorizerDisabled = IsLoopVectorizerDisabled(For);
447 isl::ast_node Body = For.body();
449 // isl_ast_node_for_is_degenerate(For)
451 // TODO: For degenerated loops we could generate a plain assignment.
455 isl::ast_expr Init = For.init();
456 isl::ast_expr Inc = For.inc();
457 isl::ast_expr Iterator = For.iterator();
459 isl::ast_expr UB = getUpperBound(For, Predicate);
497 void IslNodeBuilder::createForParallel(__isl_take isl_ast_node *For) {
514 Body = isl_ast_node_for_get_body(For);
515 Init = isl_ast_node_for_get_init(For);
516 Inc = isl_ast_node_for_get_inc(For);
517 Iterator = isl_ast_node_for_get_iterator(For);
519 UB = getUpperBound(isl::manage_copy(For).as<isl::ast_node_for>(), Predicate)
549 getReferencesInSubtree(isl::manage_copy(For), SubtreeValues, Loops);
692 isl_ast_node_free(For);
699 void IslNodeBuilder::createFor(__isl_take isl_ast_node *For) {
700 if (IslAstInfo::isExecutedInParallel(isl::manage_copy(For))) {
701 createForParallel(For);
704 bool Parallel = (IslAstInfo::isParallel(isl::manage_copy(For)) &&
705 !IslAstInfo::isReductionParallel(isl::manage_copy(For)));
706 createForSequential(isl::manage(For).as<isl::ast_node_for>(), Parallel);
1159 // For an equivalence class of invariant loads we pre-load the representing
1259 // For scalar derived SAIs we remap the alloca used for the derived value.