Displaying 3 results from an estimated 3 matches for "f_loop".
Did you mean:
_loop
2007 Jun 29
1
[LLVMdev] LLVM assembly without basic block
...looks like more HLL. ('for' statement is a mnemonic for looping in this assembly. :-( )
For example, the VM assembly looks like the following for the simple C code I showed you before. (I write it again, for your convenience.)
----------------------------------------------------------
void f_loop(long* c, long sz) {
long i;
for (i = 0; i < sz; i++)
{
long offset = i * sz;
long* out = c + offset;
out[i] = 0;
}
}
----------------------------------------------------------
The assembly is shown like this:
-------------------------------------------------------...
2007 Jun 29
1
[LLVMdev] LLVM assembly without basic block
Hello, guys.
I just wonder if there is any way to spit out LLVM assembly without any basic block division.
E.g.,
If I emit LLVM assembly for the following simple code:
------------------------------------------------------------
void f_loop(long* c, long sz) {
long i;
for (i = 0; i < sz; i++) {
long offset = i * sz;
long* out = c + offset;
out[i] = 0;
}
}
------------------------------------------------------------
You know the LLVM assembly is printed out as follows for this code.
----------------------...
2007 Jul 04
1
[LLVMdev] a strange emit of llvm-g++
I tested a simple function shown as follows for for llvm-g++:
-------------------------------------------------------------
void f_loop(long* c, long sz) {
long i;
for (i = 0; i < sz; i++) {
long offset = i * sz;
long* out = c + offset;
out[i] = 0;
}
}
-------------------------------------------------------------
LLVM assembly was emitted out as follows:
----------------------------------------------...