Searched refs:enclosing_scope (Results 1 – 3 of 3) sorted by relevance
664 const prog_scope *enclosing_scope = enclosing_scope_first_read; in get_required_live_range() local665 if (enclosing_scope_first_write->contains_range_of(*enclosing_scope)) in get_required_live_range()666 enclosing_scope = enclosing_scope_first_write; in get_required_live_range()668 if (last_read_scope->contains_range_of(*enclosing_scope)) in get_required_live_range()669 enclosing_scope = last_read_scope; in get_required_live_range()671 while (!enclosing_scope->contains_range_of(*enclosing_scope_first_write) || in get_required_live_range()672 !enclosing_scope->contains_range_of(*last_read_scope)) { in get_required_live_range()673 enclosing_scope = enclosing_scope->parent(); in get_required_live_range()674 assert(enclosing_scope); in get_required_live_range()678 while (enclosing_scope->nesting_depth() < last_read_scope->nesting_depth()) { in get_required_live_range()[all …]
935 const prog_scope *enclosing_scope = enclosing_scope_first_read; in get_required_live_range() local936 if (enclosing_scope_first_write->contains_range_of(*enclosing_scope)) in get_required_live_range()937 enclosing_scope = enclosing_scope_first_write; in get_required_live_range()939 if (last_read_scope->contains_range_of(*enclosing_scope)) in get_required_live_range()940 enclosing_scope = last_read_scope; in get_required_live_range()942 while (!enclosing_scope->contains_range_of(*enclosing_scope_first_write) || in get_required_live_range()943 !enclosing_scope->contains_range_of(*last_read_scope)) { in get_required_live_range()944 enclosing_scope = enclosing_scope->parent(); in get_required_live_range()945 assert(enclosing_scope); in get_required_live_range()949 while (enclosing_scope->nesting_depth() < last_read_scope->nesting_depth()) { in get_required_live_range()[all …]
130 def enclosing_scope(self): member in Scope144 enclosing_scope = self.enclosing_scope145 return enclosing_scope.read - enclosing_scope.bound