tc/core/polyhedral/schedule_isl_conversion.cc
/*
 * Construct an isl schedule tree from the subtree "st",
 * with a filter node as root, for grafting into another tree.
 * The created extension is the subset of "extension" that
 * corresponds to the filter.
 */
Construct an isl schedule tree from the subtree "st",
with a filter node as root, for grafting into another tree.
The created extension is the subset of "extension" that
corresponds to the filter.
Construct an isl schedule tree from the subtree " st " with a filter node as root for grafting into another tree . The created extension is the subset of " extension " that corresponds to the filter .
isl::schedule_node graftFromFilterSubtree(
    const ScheduleTree* st,
    isl::union_map extension) {
  auto filter = st->elemAsBase<ScheduleTreeElemFilter>();
  CHECK(filter);
  auto filterExtension = extension.intersect_range(filter->filter_);
  auto extensionNode = isl::schedule_node::from_extension(filterExtension);
  return extendChild(extensionNode, st);
}
isl :: schedule_node graftFromFilterSubtree ( const ScheduleTree * st , isl :: union_map extension ) { auto filter = st -> elemAsBase < ScheduleTreeElemFilter > ( ) ; CHECK ( filter ) ; auto filterExtension = extension . intersect_range ( filter -> filter_ ) ; auto extensionNode = isl :: schedule_node :: from_extension ( filterExtension ) ; return extendChild ( extensionNode , st ) ; }
Construct an isl schedule tree from the subtree "st",
 with a filter node as root, for grafting into another tree.
Construct an isl schedule tree from the subtree " st " with a filter node as root for grafting into another tree .