Displaying 2 results from an estimated 2 matches for "bbname10".
Did you mean:
bbname
2013 Aug 19
4
[LLVMdev] Generating GetElementPtr inlined in a function argument list programmatically
...ncPKc(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]* @bbname10, i32 0, i32 0call void @incrementFaultSiteCount(i8* %bbname, i32 2)
C++ code: (What I mean to generate)incrementFaultSiteCount("BBName", 2);
My question is:- What is this phenomenon called, is it called "inlined/expanded function argument"?- It seems the "inlined" GetE...
2013 Aug 19
0
[LLVMdev] Generating GetElementPtr inlined in a function argument list programmatically
....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]* @bbname10, i32 0, i32 0
> call void @incrementFaultSiteCount(i8* %bbname, i32 2)
>
> C++ code: (What I mean to generate)
> incrementFaultSiteCount("BBName", 2);
>
> My question is:
> - What is this phenomenon called, is it called "inlined/expanded function argument"...