Changeset View
Changeset View
Standalone View
Standalone View
include/polly/CodeGen/CodeGeneration.h
Show All 33 Lines | #endif | ||||
CODEGEN_ISL, | CODEGEN_ISL, | ||||
CODEGEN_NONE | CODEGEN_NONE | ||||
}; | }; | ||||
extern CodeGenChoice PollyCodeGenChoice; | extern CodeGenChoice PollyCodeGenChoice; | ||||
/// @brief Flag to turn on/off annotation of alias scopes. | /// @brief Flag to turn on/off annotation of alias scopes. | ||||
extern bool PollyAnnotateAliasScopes; | extern bool PollyAnnotateAliasScopes; | ||||
/// FIXME: Depraced and needs to be removed with the cloog backend. | |||||
jdoerfert: This is a full fledged function marked static and put into a header file which is other than… | |||||
Not Done ReplyInline ActionsDeprecated* simbuerg: Deprecated* | |||||
static inline int getNumberOfIterations(__isl_take isl_set *Domain) { | static inline int getNumberOfIterations(__isl_take isl_set *Domain) { | ||||
int Dim = isl_set_dim(Domain, isl_dim_set); | int Dim = isl_set_dim(Domain, isl_dim_set); | ||||
// Calculate a map similar to the identity map, but with the last input | // Calculate a map similar to the identity map, but with the last input | ||||
// and output dimension not related. | // and output dimension not related. | ||||
// [i0, i1, i2, i3] -> [i0, i1, i2, o0] | // [i0, i1, i2, i3] -> [i0, i1, i2, o0] | ||||
isl_space *Space = isl_set_get_space(Domain); | isl_space *Space = isl_set_get_space(Domain); | ||||
Space = isl_space_drop_dims(Space, isl_dim_out, Dim - 1, 1); | Space = isl_space_drop_dims(Space, isl_dim_out, Dim - 1, 1); | ||||
Show All 34 Lines |
This is a full fledged function marked static and put into a header file which is other than that pretty much useless.
I really want to get rid of it.