Home
last modified time | relevance | path

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

123456

/external/llvm/test/Transforms/InstCombine/
Dffs-1.ll1 ; Test that the ffs* library call simplifier works correctly.
8 declare i32 @ffs(i32)
12 ; Check ffs(0) -> 0.
16 %ret = call i32 @ffs(i32 0)
35 ; Check ffs(c) -> cttz(c) + 1, where 'c' is a constant.
39 %ret = call i32 @ffs(i32 1)
46 %ret = call i32 @ffs(i32 2048)
53 %ret = call i32 @ffs(i32 65536)
100 ; Check ffs(x) -> x != 0 ? (i32)llvm.cttz(x) + 1 : 0.
104 %ret = call i32 @ffs(i32 %x)
/external/jemalloc/include/jemalloc/
Djemalloc_macros.h13 # define MALLOCX_ALIGN(a) (ffs(a)-1)
16 ((a < (size_t)INT_MAX) ? ffs(a)-1 : ffs(a>>32)+31)
Djemalloc_macros.h.in13 # define MALLOCX_ALIGN(a) (ffs(a)-1)
16 ((a < (size_t)INT_MAX) ? ffs(a)-1 : ffs(a>>32)+31)
Djemalloc.h74 # define MALLOCX_ALIGN(a) (ffs(a)-1)
77 ((a < (size_t)INT_MAX) ? ffs(a)-1 : ffs(a>>32)+31)
/external/chromium_org/third_party/mesa/src/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/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/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/chromium_org/third_party/mesa/src/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/libpcap/lbl/
Dos-hpux11.h25 int ffs(int i);
Dos-aix4.h25 int ffs(int i);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_math.h429 unsigned long ffs( unsigned long u ) in ffs() function
439 unsigned ffs( unsigned u ) in ffs() function
454 #define ffs __builtin_ffs macro
484 int i = ffs(*mask) - 1; in u_bit_scan()
/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/libpcap/Win32/Src/
Dffs.c44 ffs(mask) in ffs() function
/external/jemalloc/include/msvc_compat/
Dstrings.h17 static __forceinline int ffs(int x) in ffs() function
/external/chromium_org/third_party/mesa/src/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()
/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()
/external/elfutils/0.153/libdw/
Ddwarf_end.c89 int i = ffs (gzip_mask); in __libdw_free_zdata()
/external/qemu/include/sysemu/
Dos-win32.h80 int ffs(int i);
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_vs_state.c95 ffs(brw->vs.prog_data->total_scratch) - 11); in upload_vs_state()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dgen7_vs_state.c95 ffs(brw->vs.prog_data->total_scratch) - 11); in upload_vs_state()
/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
Dnv40_verttex.c36 unsigned unit = ffs(dirty) - 1; in nv40_verttex_validate()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv40_verttex.c36 unsigned unit = ffs(dirty) - 1; in nv40_verttex_validate()

123456