Searched refs:unlikely (Results 1 - 25 of 738) sorted by relevance

1234567891011>>

/xsrc/external/mit/xf86-video-intel/dist/src/sna/
H A Dxassert.h42 #define assert(E) do if (unlikely(!(E))) { \
50 if (unlikely(fail)) { \
58 unlikely(fail); \
65 #define warn_unless(E) ({ bool fail = !(E); unlikely(fail); })
H A Dcompiler.h33 #define unlikely(expr) (__builtin_expect (!!(expr), 0)) macro
46 #define unlikely(expr) (expr) macro
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_cb_bufferobjects.h88 if (unlikely(!obj))
94 if (unlikely(!buffer))
100 if (unlikely(stobj->ctx != ctx)) {
105 if (unlikely(stobj->private_refcount <= 0)) {
/xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
H A Danv_measure.h59 if (unlikely(cmd_buffer->measure)) \
63 if (unlikely(cmd_buffer->measure)) \
67 if (unlikely(cmd_buffer->measure)) \
71 if (unlikely(cmd_buffer->measure)) \
75 if (unlikely(primary->measure)) \
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
H A Dxassert.h42 #define assert(E) do if (unlikely(!(E))) { \
H A Dcompiler.h33 #define unlikely(expr) (__builtin_expect (!!(expr), 0)) macro
45 #define unlikely(expr) (expr) macro
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_emit.c133 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) {
142 if (unlikely(dirty & (ETNA_DIRTY_VERTEX_ELEMENTS | ETNA_DIRTY_SHADER))) {
147 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) {
167 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) {
170 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) {
175 if (unlikely(dirty & (ETNA_DIRTY_VERTEX_ELEMENTS | ETNA_DIRTY_SHADER))) {
180 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) {
183 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) {
188 if (unlikely(dirty & (ETNA_DIRTY_FRAMEBUFFER))) {
197 if (unlikely(dirt
[all...]
H A Detnaviv_texture_state.c295 if (unlikely(dirty & ETNA_DIRTY_SAMPLER_VIEWS)) {
338 if (unlikely(dirty & (ETNA_DIRTY_SAMPLER_VIEWS | ETNA_DIRTY_SAMPLERS))) {
354 if (unlikely(dirty & (ETNA_DIRTY_SAMPLER_VIEWS))) {
377 if (unlikely(dirty & (ETNA_DIRTY_SAMPLER_VIEWS | ETNA_DIRTY_SAMPLERS))) {
396 if (unlikely(dirty & (ETNA_DIRTY_SAMPLER_VIEWS))) {
425 if (unlikely(screen->specs.tex_astc && (dirty & (ETNA_DIRTY_SAMPLER_VIEWS)))) {
433 if (unlikely(dirty & (ETNA_DIRTY_SAMPLERS))) {
442 if (unlikely(dirty & (ETNA_DIRTY_SAMPLER_VIEWS))) {
470 if (unlikely(dirty & (ETNA_DIRTY_SAMPLER_VIEWS | ETNA_DIRTY_SAMPLERS))) {
486 if (unlikely(dirt
[all...]
/xsrc/external/mit/MesaLib/src/gallium/auxiliary/
H A Du_tracepoints.h52 if (!unlikely(ut->enabled))
74 if (!unlikely(ut->enabled))
98 if (!unlikely(ut->enabled))
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_emit.c133 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) {
141 if (unlikely(dirty & (ETNA_DIRTY_VERTEX_ELEMENTS | ETNA_DIRTY_SHADER))) {
146 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) {
164 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) {
167 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) {
172 if (unlikely(dirty & (ETNA_DIRTY_VERTEX_ELEMENTS | ETNA_DIRTY_SHADER))) {
177 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) {
180 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) {
185 if (unlikely(dirty & (ETNA_DIRTY_FRAMEBUFFER))) {
194 if (unlikely(dirt
[all...]
H A Detnaviv_debug.h59 #define DBG_ENABLED(flag) unlikely(etna_mesa_debug & (flag))
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dralloc.c125 if (unlikely(block == NULL))
196 if (unlikely(ptr == NULL))
206 if (unlikely(ptr == NULL))
310 if (unlikely(ptr == NULL))
326 if (unlikely(old_ctx == NULL))
333 if (unlikely(old_info->child == NULL))
355 if (unlikely(ptr == NULL))
375 if (unlikely(str == NULL))
391 if (unlikely(str == NULL))
411 if (unlikely(bot
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dralloc.c123 if (unlikely(block == NULL))
193 if (unlikely(ptr == NULL))
282 if (unlikely(ptr == NULL))
298 if (unlikely(old_ctx == NULL))
305 if (unlikely(old_info->child == NULL))
327 if (unlikely(ptr == NULL))
347 if (unlikely(str == NULL))
363 if (unlikely(str == NULL))
383 if (unlikely(both == NULL))
414 if (unlikely(bot
[all...]
/xsrc/external/mit/xf86-video-vboxvideo/dist/src/
H A DVBoxVideoErr.h47 #define RT_FAILURE(rc) ( unlikely(!RT_SUCCESS_NP(rc)) )
/xsrc/external/mit/MesaLib.old/dist/src/broadcom/common/
H A Dv3d_debug.h76 if (unlikely(V3D_DEBUG & (flag))) \
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_rasterizer.h64 if (unlikely(!rasterizer->stateobjs[variant])) {
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i915/
H A Dintel_clear.c67 if (unlikely(INTEL_DEBUG & DEBUG_BLIT)) {
104 if (unlikely(!irb)) {
109 if (unlikely(swrast_mask)) {
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915/
H A Dintel_clear.c66 if (unlikely(INTEL_DEBUG & DEBUG_BLIT)) {
103 if (unlikely(!irb)) {
108 if (unlikely(swrast_mask)) {
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_util.h61 if (unlikely(st->readpix_cache.src)) {
H A Dst_atom.c87 if (unlikely(new_vp != &old_vp->Base)) {
94 if (unlikely(new_tcp != &old_tcp->Base)) {
101 if (unlikely(new_tep != &old_tep->Base)) {
108 if (unlikely(new_gp != &old_gp->Base)) {
115 if (unlikely(new_fp != &old_fp->Base)) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_measure.h52 if (unlikely(((struct iris_screen *) ice->ctx.screen)->measure.config)) \
H A Diris_monitor.c97 if (unlikely(!perf_cfg))
149 if (unlikely(!ice->perf_ctx))
189 if (unlikely(!monitor))
194 if (unlikely(!monitor->active_counters))
210 if (unlikely(!query_obj))
216 if (unlikely(!monitor->result_buffer))
/xsrc/external/mit/MesaLib/src/panfrost/bifrost/
H A Dbifrost_gen_disasm.c10633 if (unlikely(((bits & 0x7fffff) == 0x701963)))
10635 else if (unlikely(((bits & 0x7ffff8) == 0x701fc0)))
10637 else if (unlikely(((bits & 0x7ffff8) == 0x701968)))
10639 else if (unlikely(((bits & 0x7ffff8) == 0x73c6d8)))
10641 else if (unlikely(((bits & 0x7ffff8) == 0x701970)))
10643 else if (unlikely(((bits & 0x7ffff0) == 0x701fd0)))
10645 else if (unlikely(((bits & 0x7ffff0) == 0x701f90)))
10647 else if (unlikely(((bits & 0x7ffff0) == 0x700d10)))
10649 else if (unlikely(((bits & 0x7fffe8) == 0x700cc0)))
10651 else if (unlikely(((bit
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/glsl_tests/
H A Damdgcn_glslc.c53 #define unlikely(x) __builtin_expect(!!(x), 0) macro
76 if (unlikely(fd < 0)) {
82 if (unlikely(gbm == NULL)) {
89 if (unlikely(egl_dpy == EGL_NO_DISPLAY)) {
94 if (unlikely(!eglInitialize(egl_dpy, NULL, NULL))) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/glsl_tests/
H A Damdgcn_glslc.c53 #define unlikely(x) __builtin_expect(!!(x), 0) macro
76 if (unlikely(fd < 0)) {
82 if (unlikely(gbm == NULL)) {
89 if (unlikely(egl_dpy == EGL_NO_DISPLAY)) {
94 if (unlikely(!eglInitialize(egl_dpy, NULL, NULL))) {

Completed in 39 milliseconds

1234567891011>>