Lines Matching full:end

26 		assert(entry->start <= entry->end); /* single instruction block; jump to a jump */  in block_range__debug()
28 old = entry->end; in block_range__debug()
45 else if (addr > entry->end) in block_range__find()
77 * @end: branch ending this basic block
81 struct block_range_iter block_range__create(u64 start, u64 end) in block_range__create() argument
94 else if (start > entry->end) in block_range__create()
101 * Didn't find anything.. there's a hole at @start, however @end might in block_range__create()
112 if (entry->end < start) { in block_range__create()
119 if (next->start <= end) { /* add head: [start...][n->start...] */ in block_range__create()
126 .end = next->start - 1, in block_range__create()
141 * The whole [start..end] range is non-overlapping. in block_range__create()
149 .end = end, in block_range__create()
159 iter.end = entry; in block_range__create()
173 .end = start - 1, in block_range__create()
196 * At this point we've got: @iter.start = [@start...] but @end can still be in block_range__create()
202 * If @end is inside @entry, split. in block_range__create()
204 if (end < entry->end) { /* split: [...end][...e->end] */ in block_range__create()
210 .start = end + 1, in block_range__create()
211 .end = entry->end, in block_range__create()
220 entry->end = end; in block_range__create()
229 iter.end = entry; in block_range__create()
234 * If @end matches @entry, done in block_range__create()
236 if (end == entry->end) { in block_range__create()
238 iter.end = entry; in block_range__create()
247 * If @end is in beyond @entry but not inside @next, add tail. in block_range__create()
249 if (end < next->start) { /* add tail: [...e->end][...end] */ in block_range__create()
257 .start = entry->end + 1, in block_range__create()
258 .end = end, in block_range__create()
267 iter.end = tail; in block_range__create()
274 if (entry->end + 1 != next->start) { in block_range__create()
280 .start = entry->end + 1, in block_range__create()
281 .end = next->start - 1, in block_range__create()
296 assert(iter.end->end == end && iter.end->is_branch); in block_range__create()