Displaying 4 results from an estimated 4 matches for "llvm_cbe_tmp__6".
Did you mean:
llvm_cbe_tmp__8
2011 Jan 21
4
[LLVMdev] all LLVM Instructions that may write to memory -- other than StoreInst?
..., align 4
%2 = add nsw i32 %1, %0
store i32 %2, i32* @d, align 4
Is it possible that temps such as %0, %1 and/or %2 will NOT being register allocated later in the compilation stage, and thus left in memory?
The above code, when converted back to C level, looks like this:
...
unsigned int llvm_cbe_tmp__6;
unsigned int llvm_cbe_tmp__7;
unsigned int llvm_cbe_tmp__8;
unsigned int llvm_cbe_tmp__9;
llvm_cbe_tmp__6 = *(&a);
llvm_cbe_tmp__7 = *(&b);
llvm_cbe_tmp__8 = ((unsigned int )(((unsigned int )llvm_cbe_tmp__7) + ((unsigned int )llvm_cbe_tmp__6)));
*(&d) = llvm_cbe_t...
2011 Jan 21
0
[LLVMdev] all LLVM Instructions that may write to memory -- other than StoreInst?
...%0
> store i32 %2, i32* @d, align 4
>
> Is it possible that temps such as %0, %1 and/or %2 will NOT being register allocated later in the compilation stage, and thus left in memory?
>
> The above code, when converted back to C level, looks like this:
> ...
> unsigned int llvm_cbe_tmp__6;
> unsigned int llvm_cbe_tmp__7;
> unsigned int llvm_cbe_tmp__8;
> unsigned int llvm_cbe_tmp__9;
>
> llvm_cbe_tmp__6 = *(&a);
> llvm_cbe_tmp__7 = *(&b);
> llvm_cbe_tmp__8 = ((unsigned int )(((unsigned int )llvm_cbe_tmp__7) + ((unsigned int )llvm_cbe_tm...
2011 Jan 21
1
[LLVMdev] all LLVM Instructions that may write to memory -- other than StoreInst?
..., i32* @d, align 4
>>
>> Is it possible that temps such as %0, %1 and/or %2 will NOT being register allocated later in the compilation stage, and thus left in memory?
>>
>> The above code, when converted back to C level, looks like this:
>> ...
>> unsigned int llvm_cbe_tmp__6;
>> unsigned int llvm_cbe_tmp__7;
>> unsigned int llvm_cbe_tmp__8;
>> unsigned int llvm_cbe_tmp__9;
>>
>> llvm_cbe_tmp__6 = *(&a);
>> llvm_cbe_tmp__7 = *(&b);
>> llvm_cbe_tmp__8 = ((unsigned int )(((unsigned int )llvm_cbe_tmp__7) +...
2010 Oct 04
1
[LLVMdev] how to handle inline asm code when converting c++ to C
...crementPi’:
main.c:421: error: expected ‘:’ or ‘)’ before string constant
For reference here is the line in the code that is causing the above errors:
__asm__ volatile ("lock\n\txadd %1, %0"
:"=m"(llvm_cbe_asmtmp)"=r"(llvm_cbe_tmp__5)
:"m"(*(llvm_cbe_tmp__6))"1"(llvm_cbe_tmp__6)"cc""memory");
I am new to the llvm so if this is not the right forum do let me know.
Thanks.
Sandeep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/201010...