Displaying 2 results from an estimated 2 matches for "__syntax__".
2006 May 21
2
[LLVMdev] Indirect function call
Hi,
The "LLVM Language Reference Manual" mentions about "indirect function call".
I am just curious about what exactly is the __syntax__ of them and how I can
get the callee of an indirect callsite.
>From my point of view, there is hardly any cases where indirect calls are
needed, because anywhere we use a "fptr" in C, it could just be represented
in LLVM IR like this:
%tmp = load void ()** %fptr
call void ()* %tmp...
2006 May 21
0
[LLVMdev] Re: Indirect function call
...ghly discussed the issue
although not mentioned in details in "Ref Manual".
On Sunday 21 May 2006 12:21, Nai Xia wrote:
> Hi,
>
> The "LLVM Language Reference Manual" mentions about "indirect function call".
> I am just curious about what exactly is the __syntax__ of them and how I can
> get the callee of an indirect callsite.
> From my point of view, there is hardly any cases where indirect calls are
> needed, because anywhere we use a "fptr" in C, it could just be represented
> in LLVM IR like this:
>
> %tmp = load void ()*...