Home
last modified time | relevance | path

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

1234

/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.h16 # define MALLOCX_ALIGN(a) (ffs(a)-1)
19 ((a < (size_t)INT_MAX) ? ffs(a)-1 : ffs(a>>32)+31)
Djemalloc_macros.h.in16 # define MALLOCX_ALIGN(a) (ffs(a)-1)
19 ((a < (size_t)INT_MAX) ? ffs(a)-1 : ffs(a>>32)+31)
Djemalloc.h80 # define MALLOCX_ALIGN(a) (ffs(a)-1)
83 ((a < (size_t)INT_MAX) ? ffs(a)-1 : ffs(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/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/libpcap/lbl/
Dos-aix4.h25 int ffs(int i);
Dos-hpux11.h25 int ffs(int i);
/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/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/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/fio/
Dfilelock.c32 struct fio_filelock ffs[MAX_FILELOCKS]; member
85 struct fio_filelock *ff = &fld->ffs[i]; in fio_filelock_init()
/external/sepolicy/
Dadbd.te24 # Access /dev/android_adb or /dev/usb-ffs/adb/ep0
44 # Set service.adb.*, sys.powerctl, and sys.usb.ffs.ready properties.
/external/elfutils/src/libdw/
Ddwarf_end.c68 int i = ffs (gzip_mask); in __libdw_free_zdata()
/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/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/
Dintel_clear.c165 int color_bit = ffs(mask & BUFFER_BITS_COLOR); in intelClear()
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()

1234