Displaying 2 results from an estimated 2 matches for "ltmp_76_9".
Did you mean:
ltmp_75_3
2007 Mar 06
0
[LLVMdev] alloca & store generation
...=3]
store int %argc, int* %0
store sbyte** %argv, sbyte*** %0
call void %F( int* %0, sbyte*** %0, int 1, int 0 )
-----
However, if I use llc to generate C code from the bytecode that my
transformation produces, it looks like:
-----
int main(int ltmp_75_3, signed char **ltmp_76_9) {
int ltmp_3355_85; /* Address-exposed local */
signed char **ltmp_3356_105; /* Address-exposed local */
...
*(<mp_3355_85) = ltmp_75_3;
*(<mp_3356_105) = ltmp_76_9;
initLogging((<mp_3355_85), (<mp_3356_105), 1, 0);
-----
The C code is what I intend...
2007 Mar 06
6
[LLVMdev] alloca & store generation
I am writing a transformation that needs to add a call to a function F()
at the beginning of main() with the addresses of argc and argv as
parameters to F(). However, the bytecode file I'm transforming has not
allocated space on the stack for argc and argv. So, I developed my
transformation to change main() from:
-----
int main(int %argc, sbyte** %argv){
entry:
...
// some use of