代码搜索:Loop
找到约 10,000 项符合「Loop」的源代码
代码结果 10,000
www.eeworm.com/read/366702/2881149
c loop-5.c
/* PR c/16180 */
/* { dg-options "-O2" } */
extern int b;
int foo (int a)
{
if (a)
{
b = 0;
for(;;)
goto L;
}
L:
for(;;)
return 0;
}
www.eeworm.com/read/366702/2881294
c loop-6.c
/* PR optimization/18577 */
/* Origin: Falk Hueffner */
/* { dg-do run } */
/* { dg-options "-O2 -funroll-all-loops" } */
static float tfcos12[3];
__attribute__((noinline)) double
www.eeworm.com/read/366702/2881358
c loop-4.c
/* PR optimization/11841 */
/* Originator: Andrey Panov */
/* Reduced testcase by Volker Reichelt */
/* Verify that the (old) loop unroller
www.eeworm.com/read/366702/2882277
c loop-index.c
/* { dg-options "-std=gnu99" } */
/* C99 6.8.5.2: The for statement. */
#include
#include
void
f32 (void)
{
_Decimal32 d;
int i;
for (d = 1.1df, i=0; d
www.eeworm.com/read/366702/2882527
c loop-2.c
/* PR optimization/10171 */
/* Bug: unroll_loop misoptimized the function so that we got
0 iterations of the loop rather than the correct 1. */
/* { dg-do run } */
extern void abort (void);
exter
www.eeworm.com/read/366702/2882876
c loop-8.c
/* A test for strength reduction of ivs with nonconstant step. */
/* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-optimized" } */
int bar (void);
int a[100];
void xxx (void)
{
int iter
www.eeworm.com/read/366702/2882923
c loop-22.c
/* { dg-options "-O2 -fdump-tree-final_cleanup" } */
int a[100];
void test (int n)
{
int i;
for (i = 0; i < n; i += 3)
a[i] = i;
}
/* We used to replace the exit test "i < n" by "i != ((n-
www.eeworm.com/read/366702/2882930
c loop-1.c
/* { dg-do compile } */
/* -mlongcall will cause us to place &foo in the CTR register. */
/* { dg-skip-if "" { powerpc*-*-* } { "-mlongcall" } { "" } } */
/* { dg-options "-O1 -ftree-loop-ivcanon -fu
www.eeworm.com/read/366702/2882951
c loop-19.c
/* This tests strength reduction and choice of induction variables. The targets
for this testcase are quite limited, as with different set of available
addressing modes, the results may be quit
www.eeworm.com/read/366702/2882957
c loop-9.c
/* Without TARGET_MEM_REFs, dom creates code like
i1 = 4 * i;
*(p + i1) = i;
*(p + i1 + 4) = i
causing us to have unnecessary multiplication by 4 in the
result. */
/* { dg-do