Lines Matching defs:sorted
75 MyStaticRec **sorted = assign_inner_blocks(num_static_bb, blocks);
91 if (sorted[ii]->bb.bb_addr == 0 || sorted[ii]->bb.num_insns == 0
92 || sorted[ii]->sym == NULL)
96 sorted[ii]->bb.bb_num, sorted[ii]->bb.num_insns,
97 sorted[ii]->bb.bb_addr, sorted[ii]->sym->region->path,
98 sorted[ii]->sym->name);
110 MyStaticRec **sorted = new MyStaticRec*[num_blocks];
112 sorted[ii] = &blocks[ii];
116 qsort(sorted, num_blocks, sizeof(MyStaticRec*), cmp_inc_addr);
122 if (sorted[ii]->is_thumb)
123 num_bytes = sorted[ii]->bb.num_insns << 1;
125 num_bytes = sorted[ii]->bb.num_insns << 2;
126 addr_end = sorted[ii]->bb.bb_addr + num_bytes;
127 if (addr_end > sorted[ii + 1]->bb.bb_addr) {
128 sorted[ii]->inner = sorted[ii + 1];
129 addr_diff = sorted[ii + 1]->bb.bb_addr - sorted[ii]->bb.bb_addr;
131 if (sorted[ii]->is_thumb)
135 sorted[ii]->bb.num_insns = num_insns;
139 return sorted;