代码搜索:optimize
找到约 6,026 项符合「optimize」的源代码
代码结果 6,026
www.eeworm.com/read/240162/4588317
c builtin-constant.c
/* PR optimization/8423. */
#define btest(x) __builtin_constant_p(x) ? "1" : "0"
#ifdef __OPTIMIZE__
void
foo (char *i)
{
if (*i == '0')
abort ();
}
#else
void
foo (char *i)
{
}
#endif
int
m
www.eeworm.com/read/233448/4681888
c memset.c
extern int inside_main;
void *
memset (void *dst, int c, __SIZE_TYPE__ n)
{
/* Single-byte memsets should be done inline when optimisation
is enabled. */
#ifdef __OPTIMIZE__
if (inside_main
www.eeworm.com/read/233448/4681908
c strstr.c
extern int inside_main;
char *
strstr(const char *s1, const char *s2)
{
const char *p, *q;
#ifdef __OPTIMIZE__
if (inside_main)
abort ();
#endif
/* deliberately dumb algorithm */
for (;
www.eeworm.com/read/233448/4682258
c builtin-constant.c
/* PR optimization/8423. */
#define btest(x) __builtin_constant_p(x) ? "1" : "0"
#ifdef __OPTIMIZE__
void
foo (char *i)
{
if (*i == '0')
abort ();
}
#else
void
foo (char *i)
{
}
#endif
int
m
www.eeworm.com/read/233448/4684485
c iftrap-2.c
/* Verify that we optimize to conditional traps. */
/* { dg-options "-O" } */
/* { dg-do compile { target rs6000-*-* powerpc-*-* sparc*-*-* ia64-*-* } } */
/* { dg-final { scan-assembler-not "^\t(tra
www.eeworm.com/read/233448/4685218
c iftrap-1.c
/* Verify that we optimize to conditional traps. */
/* { dg-options "-O" } */
/* { dg-do compile { target rs6000-*-* powerpc-*-* sparc*-*-* ia64-*-* } } */
/* { dg-final { scan-assembler-not "^\t(tra
www.eeworm.com/read/233448/4686168
c 20050105-1.c
/* PR rtl-optimization/18861 */
/* { dg-do compile } */
/* { dg-options "-O2 -floop-optimize2" } */
extern void abort (void);
int
foo (int code)
{
if (code >= 3)
switch (code)
{
ca
www.eeworm.com/read/209559/4962562
h pcap_user.h
/*
* Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
* Licensed under the GPL
*/
#include "net_user.h"
struct pcap_data {
char *host_if;
int promisc;
int optimize;
char *filter;
void *compi
www.eeworm.com/read/190666/5179569
c iftrap-2.c
/* Verify that we optimize to conditional traps. */
/* { dg-options "-O" } */
/* { dg-do compile { target rs6000-*-* powerpc-*-* sparc*-*-* ia64-*-* } } */
/* { dg-final { scan-assembler-not "^\t(tra
www.eeworm.com/read/190666/5179628
c iftrap-1.c
/* Verify that we optimize to conditional traps. */
/* { dg-options "-O" } */
/* { dg-do compile { target rs6000-*-* powerpc-*-* sparc*-*-* ia64-*-* } } */
/* { dg-final { scan-assembler-not "^\t(tra