search for: return_block

Displaying 3 results from an estimated 3 matches for "return_block".

2012 Nov 10
2
[LLVMdev] Saving a reference to a Basic Block?
...rd_ref_sub1 forward_ref_end.prog: ; preds = %post_gosub_block6 br label %end.prog forward_ref_sub1: ; preds = %entrypoint br label %sub1 forward_ref_sub2: ; preds = %post_gosub_block br label %sub2 return_block: ; preds = %sub2 %call_cfunc_pop_retid = call i32 @cfunc_pop_retid() switch i32 %call_cfunc_pop_retid, label %return_block_def [ i32 100, label %post_gosub_block i32 101, label %post_gosub_block6 ] return_block_def:...
2013 Apr 17
2
[LLVMdev] Any value in pre-simplifying the DAG?
...quot; branch. It appears the optimizers do a fine job of unwinding the nonsense, reducing the conditions, and even expanding the trailing paths. For example, I terminate my blocks with a logical switch like this: switch return_path, next_block cleanup, except_block break, loop_block return, return_block rethrow, except_block In most cases I'd say only 1-2 of the cases are actually possible (return_path cannot be the other values). Is there any value in me attempting to produce a cleaner DAG to pass to the optimizer, or would I just be duplicating effort the passes will end up doing anyway?...
2013 Apr 18
0
[LLVMdev] Any value in pre-simplifying the DAG?
...do a > fine job of unwinding the nonsense, reducing the conditions, and even > expanding the trailing paths. > > For example, I terminate my blocks with a logical switch like this: > switch return_path, next_block > cleanup, except_block > break, loop_block > return, return_block > rethrow, except_block > > In most cases I'd say only 1-2 of the cases are actually possible > (return_path cannot be the other values). Is there any value in me > attempting to produce a cleaner DAG to pass to the optimizer, or would I > just be duplicating effort the pass...