__isl_give isl_set *Scop::getContext() const { return isl_set_copy(Context); }
__isl_give isl_space *Scop::getParamSpace() const {
- return isl_set_get_space(this->Context);
+ return isl_set_get_space(Context);
}
__isl_give isl_set *Scop::getAssumedContext() const {
}
__isl_give isl_union_map *Scop::getMustWrites() {
- isl_union_map *Write = isl_union_map_empty(this->getParamSpace());
+ isl_union_map *Write = isl_union_map_empty(getParamSpace());
for (auto &Stmt : *this) {
for (MemoryAccess *MA : *Stmt) {
}
__isl_give isl_union_map *Scop::getMayWrites() {
- isl_union_map *Write = isl_union_map_empty(this->getParamSpace());
+ isl_union_map *Write = isl_union_map_empty(getParamSpace());
for (auto &Stmt : *this) {
for (MemoryAccess *MA : *Stmt) {
}
__isl_give isl_union_map *Scop::getWrites() {
- isl_union_map *Write = isl_union_map_empty(this->getParamSpace());
+ isl_union_map *Write = isl_union_map_empty(getParamSpace());
for (auto &Stmt : *this) {
for (MemoryAccess *MA : *Stmt) {
/// are considered local. This leaves only loops that are before the scop, but
/// do not contain the scop itself.
Loops.remove_if([this](const Loop *L) {
- return this->S.getRegion().contains(L) ||
- L->contains(S.getRegion().getEntry());
+ return S.getRegion().contains(L) || L->contains(S.getRegion().getEntry());
});
}