代码搜索:optimize
找到约 6,026 项符合「optimize」的源代码
代码结果 6,026
www.eeworm.com/read/366702/2878055
c strrchr.c
extern void abort (void);
extern int inside_main;
char *
strrchr (const char *s, int c)
{
__SIZE_TYPE__ i;
#ifdef __OPTIMIZE__
if (inside_main)
abort ();
#endif
i = 0;
while (s[i] != 0)
www.eeworm.com/read/366702/2878058
c strlen.c
extern void abort (void);
extern int inside_main;
__SIZE_TYPE__
strlen (const char *s)
{
__SIZE_TYPE__ i;
#ifdef __OPTIMIZE__
if (inside_main)
abort ();
#endif
i = 0;
while (s[i] != 0)
www.eeworm.com/read/366702/2878069
c strstr.c
extern void abort (void);
extern int inside_main;
char *
strstr(const char *s1, const char *s2)
{
const char *p, *q;
#ifdef __OPTIMIZE__
if (inside_main)
abort ();
#endif
/* deliberately
www.eeworm.com/read/366702/2878070
c bfill.c
extern int inside_main;
void
bfill (void *s, __SIZE_TYPE__ n, int ch)
{
char *p;
for (p = s; n-- > 0; p++)
*p = ch;
#ifdef __OPTIMIZE__
if (inside_main)
abort ();
#endif
}
www.eeworm.com/read/366702/2882884
c structopt-3.c
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
struct foo
{
int a;
int b;
} temp;
/* We should be able to optimize this to return 11. */
int main(void)
{
temp.a = 5;
tem
www.eeworm.com/read/366702/2883193
c vrp26.c
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-vrp1" } */
int
foo(int a)
{
int z = a | 1;
return z != 0;
}
/* VRP should optimize this to a trivial "return 1". */
/* { dg-final { sc
www.eeworm.com/read/357802/3012560
__i user_main.__i
"..\..\code\ap_setting\src\user_main.c" LARGE OPTIMIZE (9,SIZE) BROWSE INCDIR(..\..\..\bsp\include;..\..\code\ap_setting\src\include;..\..\code\global;..\..\code\include) DEFINE (CONFIG_ASIC,dynamic_l
www.eeworm.com/read/357802/3012620
__i pic_main.__i
"..\..\code\ap_picture\src\pic_main.c" LARGE OPTIMIZE (9,SIZE) BROWSE INCDIR(..\..\..\bsp\include;..\..\code\ap_picture\src\include;..\..\code\global;..\..\code\include) DEFINE (CONFIG_ASIC,dynamic_lo
www.eeworm.com/read/357802/3012639
__i user_main.__i
"..\..\code\ap_ebook\src\user_main.c" LARGE OPTIMIZE (9,SIZE) BROWSE INCDIR(..\..\..\bsp\include;..\..\code\ap_ebook\src\include;..\..\code\global;..\..\code\include) DEFINE (CONFIG_ASIC,dynamic_load)
www.eeworm.com/read/357802/3012647
__i txt_main.__i
"..\..\code\ap_ebook\src\txt_main.c" LARGE OPTIMIZE (9,SIZE) BROWSE INCDIR(..\..\..\bsp\include;..\..\code\ap_ebook\src\include;..\..\code\global;..\..\code\include) DEFINE (CONFIG_ASIC,dynamic_load)