search for: ltmp_1_1

Displaying 2 results from an estimated 2 matches for "ltmp_1_1".

Did you mean: ltmp_0_1
2007 Apr 27
1
[LLVMdev] Preservance of function variables in the bytecode
...onder if function variables are preserved in the bytecode. For example, are i and j in the following function preserved in .bc? int sum(int i, int j){ int k; k = i + j; return k; } I tested this with "llc -march=c" and found this was converted to int sum(int ltmp_0_1, int ltmp_1_1) { return (ltmp_1_1 + ltmp_0_1); } Therefore, it seems that they are not preserved in the bytecode, right? If it is not, (i.e., they are kept) how can I extract the variables from the bytecode? I got really become to enjoy LLVM's magic. Thank you very much. Seung Jae Lee
2007 Apr 27
0
[LLVMdev] Preservance of function variables in the bytecode
...n the following function preserved in .bc? >> >> int sum(int i, int j){ >> int k; >> k = i + j; >> return k; >> } >> >> I tested this with "llc -march=c" and found this was converted to >> >> int sum(int ltmp_0_1, int ltmp_1_1) { >> return (ltmp_1_1 + ltmp_0_1); >> } >> >> Therefore, it seems that they are not preserved in the bytecode, >> right? >> If it is not, (i.e., they are kept) how can I extract the variables >> from the bytecode? >> I got really become to enjo...