Displaying 2 results from an estimated 2 matches for "tmp_result".
Did you mean:
temp_result
2004 May 11
2
[LLVMdev] Problems accessing structs
...etelementptr "Kernel"* "myKernel", long 0, ubyte 0
"MAP" = load "myKernelMap"** "PTRMAP"
"getchar_kernelPTR" = getelementptr "myKernelMap"* "MAP", long 0, ubyte 1
%tmp = load int ()** "getchar_kernelPTR"
"tmp_result" = call int ()* %tmp()
ret int "tmp_result"
}
I call it from main():
int %main() {
;Malloc's a Kernel and returns a pointer to it
"myKernel" = call "Kernel"* "createKernel"()
call int "callmyKernelgetchar_kernel"("Kernel"* &quo...
2004 May 11
0
[LLVMdev] Problems accessing structs
...ernel"* "myKernel", long 0, ubyte 0
> "MAP" = load "myKernelMap"** "PTRMAP"
> "getchar_kernelPTR" = getelementptr "myKernelMap"* "MAP", long 0, ubyte 1
> %tmp = load int ()** "getchar_kernelPTR"
> "tmp_result" = call int ()* %tmp()
> ret int "tmp_result"
> }
>
> I call it from main():
>
> int %main() {
> ;Malloc's a Kernel and returns a pointer to it
> "myKernel" = call "Kernel"* "createKernel"()
>
> call int "callmyK...