Lines Matching refs:ti
1282 struct topo_info *ti = XNEW (struct topo_info);
1283 ti->visited = sbitmap_alloc (size);
1284 sbitmap_zero (ti->visited);
1285 ti->topo_order = VEC_alloc (unsigned, heap, 1);
1286 return ti;
1293 free_topo_info (struct topo_info *ti)
1295 sbitmap_free (ti->visited);
1296 VEC_free (unsigned, heap, ti->topo_order);
1297 free (ti);
1304 topo_visit (constraint_graph_t graph, struct topo_info *ti,
1310 SET_BIT (ti->visited, n);
1315 if (!TEST_BIT (ti->visited, j))
1316 topo_visit (graph, ti, j);
1319 VEC_safe_push (unsigned, heap, ti->topo_order, n);
1635 struct topo_info *ti)
1641 if (!TEST_BIT (ti->visited, i) && find (i) == i)
1642 topo_visit (graph, ti, i);
2060 struct topo_info *ti = init_topo_info ();
2065 compute_topo_order (graph, ti);
2067 while (VEC_length (unsigned, ti->topo_order) != 0)
2070 i = VEC_pop (unsigned, ti->topo_order);
2153 free_topo_info (ti);