Displaying 1 result from an estimated 1 matches for "execute_result9".
Did you mean:
execute_result
2008 Jun 19
1
[LLVMdev] Constant function pointers and inlining
...andler, args).PointerVal),
PointerType::get(handler_type, 0));
/* ^^^^^ Is there a better way to do the conversion? ^^^^^^ */
Value* result = builder.CreateCall2(handler,
execute_data,
tsrlm_ref,
"execute_result");
And as a result I get handler calls like this:
%execute_result9 = tail call i32 inttoptr (i32 54000728 to i32
(%struct.zend_execute_data*, i8***)*)( %struct.zend_execute_data*
%execute_data, i8*** %1 )
However, I haven't able to make LLVM inline these calls. Is there some
reason why that's impossible or have I just not found the right
optimization pass...