Displaying 1 result from an estimated 1 matches for "getorcreateglob".
Did you mean:
getorcreateglobal
2013 Oct 25
1
[LLVMdev] Question About Function Cloning
Thanks Tim for the pointer.
Now I am trying to create two global variables, and call functions
with the pointer to them.
Though I can create two global integers, could anyone please tell me
how do I create a pointer to a global variable (not an array) in the
IR? I know GetElementPtr can be used in case of array but what about
I want a pointer to just an integer and call my function with it?