Reference: Scheduling

Band

class islpy.Band(_data)
  • __eq__()

  • __ne__()

Schedule

class islpy.Schedule(s=None, context=None, _data=None)
align_params(self, space)
Parameters
Returns

Schedule

copy(self)
Parameters

selfSchedule

Returns

Schedule

dump(self)
Parameters

selfSchedule

Returns

(nothing)

static empty(space)
Parameters

spaceSpace

Returns

Schedule

expand(self, contraction, expansion)
Parameters
Returns

Schedule

foreach_schedule_node_top_down(self, fn)
Parameters
  • selfSchedule

  • fn – callback(node) -> isl_bool

Returns

(nothing)

static from_domain(domain)
Parameters

domainUnionSet

Returns

Schedule

get_ctx(self)
Parameters

selfSchedule

Returns

Context

get_domain(self)
Parameters

selfSchedule

Returns

UnionSet

get_map(self)
Parameters

selfSchedule

Returns

UnionMap

get_root(self)
Parameters

selfSchedule

Returns

ScheduleNode

gist_domain_params(self, context)
Parameters
Returns

Schedule

insert_context(self, context)
Parameters
Returns

Schedule

insert_guard(self, guard)
Parameters
Returns

Schedule

insert_partial_schedule(self, partial)
Parameters
Returns

Schedule

intersect_domain(self, domain)
Parameters
Returns

Schedule

map_schedule_node_bottom_up(self, fn)
Parameters
  • selfSchedule

  • fn – callback(node) -> isl_schedule_node

Returns

Schedule

plain_is_equal(self, schedule2)
Parameters
Returns

bool

pullback_union_pw_multi_aff(self, upma)
Parameters
Returns

Schedule

static read_from_str(ctx, str)
Parameters
Returns

Schedule

reset_user(self)
Parameters

selfSchedule

Returns

Schedule

sequence(self, schedule2)
Parameters
Returns

Schedule

set(self, schedule2)
Parameters
Returns

Schedule

to_str(self)
Parameters

selfSchedule

Returns

string

Schedule Node

class islpy.ScheduleNode(_data)
align_params(self, space)
Parameters
Returns

ScheduleNode

ancestor(self, generation)
Parameters
Returns

ScheduleNode

band_get_ast_build_options(self)
Parameters

selfScheduleNode

Returns

UnionSet

band_get_ast_isolate_option(self)
Parameters

selfScheduleNode

Returns

Set

band_get_partial_schedule(self)
Parameters

selfScheduleNode

Returns

MultiUnionPwAff

band_get_partial_schedule_union_map(self)
Parameters

selfScheduleNode

Returns

UnionMap

band_get_permutable(self)
Parameters

selfScheduleNode

Returns

bool

band_get_space(self)
Parameters

selfScheduleNode

Returns

Space

band_member_get_ast_loop_type(self, pos)
Parameters
Returns

isl_ast_loop_type

band_member_get_coincident(self, pos)
Parameters
Returns

bool

band_member_get_isolate_ast_loop_type(self, pos)
Parameters
Returns

isl_ast_loop_type

band_member_set_ast_loop_type(self, pos, type)
Parameters
Returns

ScheduleNode

band_member_set_coincident(self, pos, coincident)
Parameters
Returns

ScheduleNode

band_member_set_isolate_ast_loop_type(self, pos, type)
Parameters
Returns

ScheduleNode

band_mod(self, mv)
Parameters
Returns

ScheduleNode

band_n_member(self)
Parameters

selfScheduleNode

Returns

unsigned

band_scale(self, mv)
Parameters
Returns

ScheduleNode

band_scale_down(self, mv)
Parameters
Returns

ScheduleNode

band_set_ast_build_options(self, options)
Parameters
Returns

ScheduleNode

band_set_permutable(self, permutable)
Parameters
Returns

ScheduleNode

band_shift(self, shift)
Parameters
Returns

ScheduleNode

band_sink(self)
Parameters

selfScheduleNode

Returns

ScheduleNode

band_split(self, pos)
Parameters
Returns

ScheduleNode

band_tile(self, sizes)
Parameters
Returns

ScheduleNode

child(self, pos)
Parameters
Returns

ScheduleNode

context_get_context(self)
Parameters

selfScheduleNode

Returns

Set

copy(self)
Parameters

selfScheduleNode

Returns

ScheduleNode

cut(self)
Parameters

selfScheduleNode

Returns

ScheduleNode

delete(self)
Parameters

selfScheduleNode

Returns

ScheduleNode

domain_get_domain(self)
Parameters

selfScheduleNode

Returns

UnionSet

dump(self)
Parameters

selfScheduleNode

Returns

(nothing)

every_descendant(self, test)
Parameters
Returns

bool

expansion_get_contraction(self)
Parameters

selfScheduleNode

Returns

UnionPwMultiAff

expansion_get_expansion(self)
Parameters

selfScheduleNode

Returns

UnionMap

extension_get_extension(self)
Parameters

selfScheduleNode

Returns

UnionMap

filter_get_filter(self)
Parameters

selfScheduleNode

Returns

UnionSet

first_child(self)
Parameters

selfScheduleNode

Returns

ScheduleNode

foreach_ancestor_top_down(self, fn)
Parameters
Returns

(nothing)

foreach_descendant_top_down(self, fn)
Parameters
Returns

(nothing)

static from_domain(domain)
Parameters

domainUnionSet

Returns

ScheduleNode

static from_extension(extension)
Parameters

extensionUnionMap

Returns

ScheduleNode

get_ancestor_child_position(self, ancestor)
Parameters
Returns

int

get_child(self, pos)
Parameters
Returns

ScheduleNode

get_child_position(self)
Parameters

selfScheduleNode

Returns

int

get_ctx(self)
Parameters

selfScheduleNode

Returns

Context

get_domain(self)
Parameters

selfScheduleNode

Returns

UnionSet

get_parent_type(self)
Parameters

selfScheduleNode

Returns

isl_schedule_node_type

get_prefix_schedule_multi_union_pw_aff(self)
Parameters

selfScheduleNode

Returns

MultiUnionPwAff

get_prefix_schedule_relation(self)
Parameters

selfScheduleNode

Returns

UnionMap

get_prefix_schedule_union_map(self)
Parameters

selfScheduleNode

Returns

UnionMap

get_prefix_schedule_union_pw_multi_aff(self)
Parameters

selfScheduleNode

Returns

UnionPwMultiAff

get_schedule(self)
Parameters

selfScheduleNode

Returns

Schedule

get_schedule_depth(self)
Parameters

selfScheduleNode

Returns

int

get_shared_ancestor(self, node2)
Parameters
Returns

ScheduleNode

get_subtree_contraction(self)
Parameters

selfScheduleNode

Returns

UnionPwMultiAff

get_subtree_expansion(self)
Parameters

selfScheduleNode

Returns

UnionMap

get_subtree_schedule_union_map(self)
Parameters

selfScheduleNode

Returns

UnionMap

get_tree_depth(self)
Parameters

selfScheduleNode

Returns

int

get_type(self)
Parameters

selfScheduleNode

Returns

isl_schedule_node_type

get_universe_domain(self)
Parameters

selfScheduleNode

Returns

UnionSet

graft_after(self, graft)
Parameters
Returns

ScheduleNode

graft_before(self, graft)
Parameters
Returns

ScheduleNode

group(self, group_id)
Parameters
Returns

ScheduleNode

guard_get_guard(self)
Parameters

selfScheduleNode

Returns

Set

has_children(self)
Parameters

selfScheduleNode

Returns

bool

has_next_sibling(self)
Parameters

selfScheduleNode

Returns

bool

has_parent(self)
Parameters

selfScheduleNode

Returns

bool

has_previous_sibling(self)
Parameters

selfScheduleNode

Returns

bool

insert_context(self, context)
Parameters
Returns

ScheduleNode

insert_filter(self, filter)
Parameters
Returns

ScheduleNode

insert_guard(self, context)
Parameters
Returns

ScheduleNode

insert_mark(self, mark)
Parameters
Returns

ScheduleNode

insert_partial_schedule(self, schedule)
Parameters
Returns

ScheduleNode

insert_sequence(self, filters)
Parameters
Returns

ScheduleNode

insert_set(self, filters)
Parameters
Returns

ScheduleNode

is_equal(self, node2)
Parameters
Returns

bool

is_subtree_anchored(self)
Parameters

selfScheduleNode

Returns

bool

map_descendant_bottom_up(self, fn)
Parameters
  • selfScheduleNode

  • fn – callback(node) -> isl_schedule_node

Returns

ScheduleNode

mark_get_id(self)
Parameters

selfScheduleNode

Returns

Id

n_children(self)
Parameters

selfScheduleNode

Returns

int

next_sibling(self)
Parameters

selfScheduleNode

Returns

ScheduleNode

order_after(self, filter)
Parameters
Returns

ScheduleNode

order_before(self, filter)
Parameters
Returns

ScheduleNode

parent(self)
Parameters

selfScheduleNode

Returns

ScheduleNode

previous_sibling(self)
Parameters

selfScheduleNode

Returns

ScheduleNode

reset_user(self)
Parameters

selfScheduleNode

Returns

ScheduleNode

root(self)
Parameters

selfScheduleNode

Returns

ScheduleNode

sequence_splice_child(self, pos)
Parameters
Returns

ScheduleNode

to_str(self)
Parameters

selfScheduleNode

Returns

string

ScheduleConstraints

class islpy.ScheduleConstraints(s=None, context=None, _data=None)
apply(self, umap)
Parameters
Returns

ScheduleConstraints

compute_schedule(self)
Parameters

selfScheduleConstraints

Returns

Schedule

copy(self)
Parameters

selfScheduleConstraints

Returns

ScheduleConstraints

dump(self)
Parameters

selfScheduleConstraints

Returns

(nothing)

get_coincidence(self)
Parameters

selfScheduleConstraints

Returns

UnionMap

get_conditional_validity(self)
Parameters

selfScheduleConstraints

Returns

UnionMap

get_conditional_validity_condition(self)
Parameters

selfScheduleConstraints

Returns

UnionMap

get_context(self)
Parameters

selfScheduleConstraints

Returns

Set

get_ctx(self)
Parameters

selfScheduleConstraints

Returns

Context

get_domain(self)
Parameters

selfScheduleConstraints

Returns

UnionSet

get_proximity(self)
Parameters

selfScheduleConstraints

Returns

UnionMap

get_validity(self)
Parameters

selfScheduleConstraints

Returns

UnionMap

static on_domain(domain)
Parameters

domainUnionSet

Returns

ScheduleConstraints

static read_from_str(ctx, str)
Parameters
Returns

ScheduleConstraints

set_coincidence(self, coincidence)
Parameters
Returns

ScheduleConstraints

set_conditional_validity(self, condition, validity)
Parameters
Returns

ScheduleConstraints

set_context(self, context)
Parameters
Returns

ScheduleConstraints

set_proximity(self, proximity)
Parameters
Returns

ScheduleConstraints

set_validity(self, validity)
Parameters
Returns

ScheduleConstraints

to_str(self)
Parameters

selfScheduleConstraints

Returns

string