Displaying 2 results from an estimated 2 matches for "basicblock26".
Did you mean:
basicblock2
2014 Jul 10
2
[LLVMdev] Telling the optimizer a value is always null at the start
On Thu, Jul 10, 2014 at 11:29 AM, Philip Reames
<listmail at philipreames.com> wrote:
> Hm, I don't know of an explicit way in the IR to do this. If anyone else
> does, feel free to chime in.
>
> One approach would be to add a branch at the beginning of the function to an
> unreachable block. If you're testeh function started with:
> if( *ex != null)
2016 Apr 04
2
How to call an (x86) cleanup/catchpad funclet
...#39;ve modified llvm to emit vc++ compatible SEH structures for my
personality on x86/Windows and my handler works fine, but the only thing
I can't figure out is how to call these funclets, they look like:
Catch:
"?catch$3@?0?m3 at 4HA":
LBB4_3: # %BasicBlock26
pushl %ebp
pushl %eax
addl $12, %ebp
movl %esp, -28(%ebp)
movl $LBB4_5, %eax
addl $4, %esp
popl %ebp
retl # CATCHRET
cleanup:
"?dtor$2@?0?m2 at 4HA":
LBB3_2:
pushl %ebp
subl $8, %esp
addl $12, %ebp
movl %ebp, %eax
movl %esp, %ecx
movl %eax, 4(%ec...