Lines Matching full:end
22 assert(entry->start <= entry->end); /* single instruction block; jump to a jump */ in block_range__debug()
24 old = entry->end; in block_range__debug()
41 else if (addr > entry->end) in block_range__find()
73 * @end: branch ending this basic block
77 struct block_range_iter block_range__create(u64 start, u64 end) in block_range__create() argument
90 else if (start > entry->end) in block_range__create()
97 * Didn't find anything.. there's a hole at @start, however @end might in block_range__create()
108 if (entry->end < start) { in block_range__create()
115 if (next->start <= end) { /* add head: [start...][n->start...] */ in block_range__create()
122 .end = next->start - 1, in block_range__create()
137 * The whole [start..end] range is non-overlapping. in block_range__create()
145 .end = end, in block_range__create()
155 iter.end = entry; in block_range__create()
169 .end = start - 1, in block_range__create()
192 * At this point we've got: @iter.start = [@start...] but @end can still be in block_range__create()
198 * If @end is inside @entry, split. in block_range__create()
200 if (end < entry->end) { /* split: [...end][...e->end] */ in block_range__create()
206 .start = end + 1, in block_range__create()
207 .end = entry->end, in block_range__create()
216 entry->end = end; in block_range__create()
225 iter.end = entry; in block_range__create()
230 * If @end matches @entry, done in block_range__create()
232 if (end == entry->end) { in block_range__create()
234 iter.end = entry; in block_range__create()
243 * If @end is in beyond @entry but not inside @next, add tail. in block_range__create()
245 if (end < next->start) { /* add tail: [...e->end][...end] */ in block_range__create()
253 .start = entry->end + 1, in block_range__create()
254 .end = end, in block_range__create()
263 iter.end = tail; in block_range__create()
270 if (entry->end + 1 != next->start) { in block_range__create()
276 .start = entry->end + 1, in block_range__create()
277 .end = next->start - 1, in block_range__create()
292 assert(iter.end->end == end && iter.end->is_branch); in block_range__create()