search for: tsrlm_ref

Displaying 1 result from an estimated 1 matches for "tsrlm_ref".

2008 Jun 19
1
[LLVMdev] Constant function pointers and inlining
...tIntToPtr( ConstantInt::get(Type::Int32Ty, (unsigned int) engine->runFunction(get_handler, 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 call...