Displaying 2 results from an estimated 2 matches for "_z4funcpkc".
2013 Aug 19
4
[LLVMdev] Generating GetElementPtr inlined in a function argument list programmatically
Hello LLVMDev List,
It's my first time sending a message to the List - I have been working on a tool for my research project using LLVM. Thanks for your awesome work!
I have come across some bytecode like the following with an GetElementPtr instruction in brackets:
Bytecode:%3 = call i32 @_Z4funcPKc(i8* getelementptr inbounds ([5 x i8]* @.str2, i32 0, i32 0))
C++ code:func("bleh");
However when I am generating bytecode programmatically, I can not have the GetElementPtr value "inlined" in the function argument list:
Bytecode:%bbname = getelementptr inbounds [29 x i8]* @bbnam...
2013 Aug 19
0
[LLVMdev] Generating GetElementPtr inlined in a function argument list programmatically
...'s my first time sending a message to the List - I have been working on a tool for my research project using LLVM. Thanks for your awesome work!
>
> I have come across some bytecode like the following with an GetElementPtr instruction in brackets:
>
> Bytecode:
> %3 = call i32 @_Z4funcPKc(i8* getelementptr inbounds ([5 x i8]* @.str2, i32 0, i32 0))
>
> C++ code:
> func("bleh");
>
> However when I am generating bytecode programmatically, I can not have the GetElementPtr value "inlined" in the function argument list:
>
> Bytecode:
> %bbna...