Home
last modified time | relevance | path

Searched refs:ffs (Results 1 – 25 of 84) sorted by relevance

1234

/external/llvm/test/Transforms/InstCombine/
Dffs-1.ll1 ; Test that the ffs* library call simplifier works correctly.
11 declare i32 @ffs(i32)
15 ; Check ffs(0) -> 0.
19 %ret = call i32 @ffs(i32 0)
38 ; Check ffs(c) -> cttz(c) + 1, where 'c' is a constant.
42 %ret = call i32 @ffs(i32 1)
49 %ret = call i32 @ffs(i32 2048)
56 %ret = call i32 @ffs(i32 65536)
103 ; Check ffs(x) -> x != 0 ? (i32)llvm.cttz(x) + 1 : 0.
107 %ret = call i32 @ffs(i32 %x)
/external/jemalloc/include/jemalloc/
Djemalloc_macros.h16 # define MALLOCX_ALIGN(a) ((int)(ffs(a)-1))
19 ((int)(((a) < (size_t)INT_MAX) ? ffs((int)(a))-1 : \
20 ffs((int)((a)>>32))+31))
Djemalloc_macros.h.in16 # define MALLOCX_ALIGN(a) ((int)(ffs(a)-1))
19 ((int)(((a) < (size_t)INT_MAX) ? ffs((int)(a))-1 : \
20 ffs((int)((a)>>32))+31))
Djemalloc.h106 # define MALLOCX_ALIGN(a) ((int)(ffs(a)-1))
109 ((int)(((a) < (size_t)INT_MAX) ? ffs((int)(a))-1 : \
110 ffs((int)((a)>>32))+31))
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast_tri_tmp.h114 int i = ffs(partial_mask) - 1; in TAG()
136 int i = ffs(inmask) - 1; in TAG()
176 int i = ffs(plane_mask) - 1; in TAG()
217 int i = ffs(partial_mask) - 1; in TAG()
238 int i = ffs(inmask) - 1; in TAG()
305 int i = ffs(partial_mask) - 1; in TRI_16()
/external/jemalloc/include/msvc_compat/
Dstrings.h18 static __forceinline int ffs(int x) in ffs() function
56 # define ffs(x) __builtin_ffs(x) macro
/external/jemalloc/include/jemalloc/internal/
Dutil.h178 #error No implementation for size_t ffs() in ffs_zu()
191 #error No implementation for 64-bit ffs() in ffs_u64()
202 #error No implementation for 32-bit ffs() in ffs_u32()
/external/iptables/extensions/
Dlibipt_ULOG.c90 printf(" --ulog-nlgroup %d", ffs(loginfo->nl_group)); in ULOG_save()
106 ffs(loginfo->nl_group)); in ULOG_print()
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_util.cpp321 pos = ffs(~data[i]) - 1; in findFreeRange()
330 pos = ffs(~b) - 1; in findFreeRange()
342 pos = ffs(~b) - 1; in findFreeRange()
378 int pos = ffs(bits) - 1; in print()
/external/mesa3d/src/gallium/auxiliary/util/
Du_math.h450 unsigned long ffs( unsigned long u ) in ffs() function
460 unsigned ffs( unsigned u ) in ffs() function
475 #define ffs __builtin_ffs macro
505 int i = ffs(*mask) - 1; in u_bit_scan()
/external/mesa3d/src/mesa/main/
Dimports.c239 ffs(int i) in ffs() function
278 bit = ffs((int) val); in ffsll()
282 bit = ffs((int) (val >> 32)); in ffsll()
Dbuffers.c410 GLint bufIndex = ffs(destMask0) - 1; in _mesa_drawbuffers()
425 GLint bufIndex = ffs(destMask[buf]) - 1; in _mesa_drawbuffers()
/external/libpcap/lbl/
Dos-hpux11.h23 int ffs(int i);
Dos-aix4.h23 int ffs(int i);
/external/squashfs-tools/squashfs-tools/
Dxz_wrapper.c192 n = ffs(dictionary_size) - 1; in xz_options_post()
300 n = ffs(dictionary_size) - 1; in xz_extract_options()
344 n = ffs(dictionary_size) - 1; in xz_display_options()
/external/libpcap/Win32/Src/
Dffs.c44 ffs(mask) in ffs() function
/external/fio/
Dfilelock.c32 struct fio_filelock ffs[MAX_FILELOCKS]; member
85 struct fio_filelock *ff = &fld->ffs[i]; in fio_filelock_init()
/external/mesa3d/src/mesa/swrast/
Ds_texture.c299 GLuint unit = ffs(enabledUnits) - 1; in _swrast_map_textures()
319 GLuint unit = ffs(enabledUnits) - 1; in _swrast_unmap_textures()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_vs_state.c95 ffs(brw->vs.prog_data->total_scratch) - 11); in upload_vs_state()
Dbrw_vs_state.c80 ffs(brw->vs.prog_data->total_scratch) - 11; in brw_upload_vs_unit()
/external/vulkan-validation-layers/layers/
Dvk_layer_utils.h135 return ffs(val); in u_ffs()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv40_verttex.c36 unsigned unit = ffs(dirty) - 1; in nv40_verttex_validate()
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_emit.c36 int bit = ffs(~p->temp_flag); in i915_get_temp()
61 int bit = ffs(~p->utemp_flag); in i915_get_utemp()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_program.c78 int bit = ffs(~p->temp_flag); in i915_get_temp()
92 int bit = ffs(~p->utemp_flag); in i915_get_utemp()
209 int bit = ffs(~live_regs); in get_free_rreg()
Dintel_clear.c165 int color_bit = ffs(mask & BUFFER_BITS_COLOR); in intelClear()

1234