Displaying 1 result from an estimated 1 matches for "basicblock2_ret".
Did you mean:
basicblock1_ret
2012 Nov 10
2
[LLVMdev] Saving a reference to a Basic Block?
...s 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_pop() )
case 101: br basicblock1_ret <-- generated from the compiler's map of
101-to-basicblock1_ret
case 102: br basicblock2_ret <-- gener...