Changeset View
Changeset View
Standalone View
Standalone View
polly/include/polly/CodeGen/IslNodeBuilder.h
Show First 20 Lines • Show All 362 Lines • ▼ Show 20 Lines | protected: | ||||
/// @param Stmt The statement that is called. | /// @param Stmt The statement that is called. | ||||
/// @param LTS The loop to SCEV map in which the mapping from the original | /// @param LTS The loop to SCEV map in which the mapping from the original | ||||
/// loop to a SCEV representing the new loop iv is added. This | /// loop to a SCEV representing the new loop iv is added. This | ||||
/// mapping does not require an explicit induction variable. | /// mapping does not require an explicit induction variable. | ||||
/// Instead, we think in terms of an implicit induction variable | /// Instead, we think in terms of an implicit induction variable | ||||
/// that counts the number of times a loop is executed. For each | /// that counts the number of times a loop is executed. For each | ||||
/// original loop this count, expressed in function of the new | /// original loop this count, expressed in function of the new | ||||
/// induction variables, is added to the LTS map. | /// induction variables, is added to the LTS map. | ||||
void createSubstitutions(__isl_take isl_ast_expr *Expr, ScopStmt *Stmt, | void createSubstitutions(isl::ast_expr Expr, ScopStmt *Stmt, | ||||
LoopToScevMapT <S); | LoopToScevMapT <S); | ||||
void createSubstitutionsVector(__isl_take isl_ast_expr *Expr, ScopStmt *Stmt, | void createSubstitutionsVector(isl::ast_expr Expr, ScopStmt *Stmt, | ||||
std::vector<LoopToScevMapT> &VLTS, | std::vector<LoopToScevMapT> &VLTS, | ||||
std::vector<Value *> &IVS, | std::vector<Value *> &IVS, | ||||
__isl_take isl_id *IteratorID); | __isl_take isl_id *IteratorID); | ||||
virtual void createIf(__isl_take isl_ast_node *If); | virtual void createIf(__isl_take isl_ast_node *If); | ||||
void createUserVector(__isl_take isl_ast_node *User, | void createUserVector(__isl_take isl_ast_node *User, | ||||
std::vector<Value *> &IVS, | std::vector<Value *> &IVS, | ||||
__isl_take isl_id *IteratorID, | __isl_take isl_id *IteratorID, | ||||
__isl_take isl_union_map *Schedule); | __isl_take isl_union_map *Schedule); | ||||
▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines |