Displaying 6 results from an estimated 6 matches for "loop_begin".
2015 Jul 16
3
[LLVMdev] why LoopUnswitch pass does not constant fold conditional branch and merge blocks
Hi,
I have a general question on LoopUnswtich pass.
Consider the following IR snippet:
define i32 @test(i1 %cond) {
br label %loop_begin
loop_begin:
br i1 %cond, label %loop_body, label %loop_exit
loop_body:
br label %do_something
do_something:
call void @some_func() noreturn nounwind
br label %loop_begin
loop_exit:
ret i32 0
}
declare void @some_func() noreturn
After running it through "opt -loop-unswitch -S&quo...
2011 Aug 02
1
Compile Speex for Blackfin in VisualDsp
...000\acc22e8547f001.s":482 Syntax Error in :
LOOP vq_loopR2= LC0 = P4;
syntax error is at or near text '='.
Attempting error recovery by ignoring text until the ';'
[Error ea5004] "C:\Users\coder\AppData\Local\Temp\acc22e8547f000\acc22e8547f001.s":483 Syntax Error in :
LOOP_BEGIN vq_loopR2=;
syntax error is at or near text '='.
Attempting error recovery by ignoring text until the ';'
[Error ea5004] "C:\Users\coder\AppData\Local\Temp\acc22e8547f000\acc22e8547f001.s":485 Syntax Error in :
LOOP_END vq_loopR2=;
syntax error is at or near text '=...
2010 Mar 25
0
Blackfin inline assembly for fixed math
...__asm__ (
"P0 = 15;\n\t"
"R0 = %1;\n\t"
"R1 = %2;\n\t"
//"R0 = R0 + R1;\n\t"
"R0 <<= 1;\n\t"
"DIVS (R0, R1);\n\t"
"LOOP divide%= LC0 = P0;\n\t"
"LOOP_BEGIN divide%=;\n\t"
"DIVQ (R0, R1);\n\t"
"LOOP_END divide%=;\n\t"
"R0 = R0.L;\n\t"
"%0 = R0;\n\t"
: "=m" (res)
: "m" (a), "m" (bb)
: "P0", "R0", "R1",...
2006 Jan 18
2
Errors in speex lib with Blackfin
...ompiler too).
Example:
__asm__ __volatile__
(
"I0 = %0;\n\t"
"I1 = %1;\n\t"
"L0 = 0;\n\t"
"L1 = 0;\n\t"
"LOOP tupdate%= LC0 = %3;\n\t"
^//here is the problem
"LOOP_BEGIN tupdate%=;\n\t"
^//here is the same problem
"R0.L = W[I0] || R1.L = W[I1++];\n\t"
"R1 = (A1 = R1.L*%2.L) (IS);\n\t"
"R1 >>>= 11;\n\t"
"R0.L = R0.L - R1.L;\n\t"...
2006 Jan 18
0
Errors in speex lib with Blackfin
...le__
> (
> "I0 = %0;\n\t"
> "I1 = %1;\n\t"
> "L0 = 0;\n\t"
> "L1 = 0;\n\t"
> "LOOP tupdate%= LC0 = %3;\n\t"
> ^//here is the problem
> "LOOP_BEGIN tupdate%=;\n\t"
> ^//here is the same problem
> "R0.L = W[I0] || R1.L = W[I1++];\n\t"
> "R1 = (A1 = R1.L*%2.L) (IS);\n\t"
> "R1 >>>= 11;\n\t"
> "R0.L = R0.L -...
2014 Mar 03
6
[Bug 2207] New: Potential NULL deference, found using coverity
...ond_false: Condition "last == 10", taking false branch
path:/c/amesh/142/src/crypto/openssh/authfile.c:241:
if_end: End of if statement
path:/c/amesh/142/src/crypto/openssh/authfile.c:242:
loop: Jumping back to the beginning of the loop
path:/c/amesh/142/src/crypto/openssh/authfile.c:230:
loop_begin: Jumped back to beginning of loop
path:/c/amesh/142/src/crypto/openssh/authfile.c:230:
cond_true: Condition "len", taking true branch
path:/c/amesh/142/src/crypto/openssh/authfile.c:231:
cond_false: Condition "*cp != 10", taking false branch
path:/c/amesh/142/src/crypto/openssh/...