Displaying 1 result from an estimated 1 matches for "basicblock1_ret".
2012 Nov 10
2
[LLVMdev] Saving a reference to a Basic Block?
...e "subroutine" has multiple entry points, or put another way, the
subroutines can share common code or return statements)
Which translates to this llvm psuedo code:
basicblock1: ext_runtime_function_push(101): br sub1 <-- 101 could be
anything, the compiler stores a map of 101-to-basicblock1_ret
basicblock1_ret:
basicblock2: ext_runtime_function_push(102): br sub2 <-- 102 could be
anything, the compiler stores a map of 102-to-basicblock2_ret
basicblock2_ret:
br somewhere
basicblock.sub1: ...
basicblock.sub2: ...
br basicblock.ret
basicblock.ret:
switch( ext_runtime_func_p...