search for: eh_select27

Displaying 2 results from an estimated 2 matches for "eh_select27".

2009 Nov 24
0
[LLVMdev] RFC: New Exception Handling Proposal
...ar to this (simplified for readability): > > define void @_Z3foov() { > entry: > invoke void @_Z3barv() > to label %return unwind label %lpad > > return: > ret void > > lpad: > %eh_ptr = tail call i8* @llvm.eh.exception() > %eh_select27 = tail call i32 (i8*, i8*, ...)* > @llvm.eh.selector(i8* %eh_ptr, > i8* @__gxx_personality_v0, > i8* @_ZTIi, > i8* @_ZTIPKc, > i8* null) > %eh_typeid = tail call i32 @ll...
2009 Nov 18
11
[LLVMdev] RFC: New Exception Handling Proposal
...ll\n"); } } The llvm IR for foo looks similar to this (simplified for readability): define void @_Z3foov() { entry: invoke void @_Z3barv() to label %return unwind label %lpad return: ret void lpad: %eh_ptr = tail call i8* @llvm.eh.exception() %eh_select27 = tail call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* %eh_ptr, i8* @__gxx_personality_v0, i8* @_ZTIi, i8* @_ZTIPKc, i8* null) %eh_typeid = tail call i32 @llvm.eh.typeid.for( @_ZTIi )...