| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | ffs-1.ll | 1 ; Test that the ffs* library call simplifier works correctly. 11 declare i32 @ffs(i32) 15 ; Check ffs(0) -> 0. 21 %ret = call i32 @ffs(i32 0) 49 ; Check ffs(c) -> cttz(c) + 1, where 'c' is a constant. 55 %ret = call i32 @ffs(i32 1) 63 %ret = call i32 @ffs(i32 2048) 71 %ret = call i32 @ffs(i32 65536) 147 ; Check ffs(x) -> x != 0 ? (i32)llvm.cttz(x) + 1 : 0. 157 %ret = call i32 @ffs(i32 %x)
|
| H A D | disable-simplify-libcalls.ll | 42 declare i32 @ffs(i32) 260 %ret = call i32 @ffs(i32 %y) 262 ; CHECK: call i32 @ffs
|
| H A D | trunc.ll | 1019 %ffs = select i1 %iszero, i32 0, i32 %t1 1020 %cast = trunc i32 %ffs to i16
|
| H A D | trunc-inseltpoison.ll | 1019 %ffs = select i1 %iszero, i32 0, i32 %t1 1020 %cast = trunc i32 %ffs to i16
|
| /llvm-project-15.0.7/polly/lib/External/isl/ |
| H A D | isl_config_post.h | 10 #define ffs __builtin_ffs macro 15 #define ffs isl_ffs macro
|
| H A D | isl_hash.c | 52 table->bits = ffs(round_up(4 * (min_size + 1) / 3 - 1)) - 1; in isl_hash_table_init()
|
| H A D | isl_map_simplify.c | 717 ci->bits = ffs(ci->size) - 1; in create_constraint_index() 849 bits = ffs(size) - 1; in remove_duplicate_divs()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/ |
| H A D | cttz.ll | 70 %ffs = select i1 %iszero, i32 0, i32 %1 71 ret i32 %ffs 112 %ffs = select i1 %iszero, i64 0, i64 %1 113 ret i64 %ffs
|
| /llvm-project-15.0.7/llvm/test/MC/Disassembler/ARC/ |
| H A D | misc.txt | 133 # CHECK: ffs %r0, %r0 136 # CHECK: ffs.f %r0, %r0 139 # CHECK: ffs %r15, %r15 142 # CHECK: ffs.f %r15, %r15
|
| /llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/include/ |
| H A D | Utils.h | 45 inline uint32_t ffs(uint32_t V) { in ffs() function 51 inline uint32_t ffs(uint64_t V) { in ffs() function
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARC/ |
| H A D | intrinsics.ll | 19 ; CHECK: ffs.f %r0, %r0
|
| /llvm-project-15.0.7/polly/lib/External/ |
| H A D | isl_config.h.cmake | 8 /* Define to 1 if you have the declaration of `ffs', and to 0 if you don't. */
|
| H A D | CMakeLists.txt | 91 int main(void) { (void)ffs(0); return 0; } 106 message(FATAL_ERROR "No ffs implementation found")
|
| /llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/src/ |
| H A D | Reduction.cpp | 58 remote_id = utils::ffs(Liveness & lanemask_gt); in gpu_irregular_simd_reduce()
|
| H A D | Workshare.cpp | 343 uint32_t leader = utils::ffs(active) - 1; in NextIter()
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | builtins.c | 77 P(ffs, (N)); in main()
|
| /llvm-project-15.0.7/llvm/test/Transforms/InferFunctionAttrs/ |
| H A D | no-proto.ll | 348 ; CHECK: declare void @ffs(...) 349 declare void @ffs(...)
|
| H A D | annotate.ll | 410 ; CHECK: declare i32 @ffs(i32) [[NOFREE_NOUNWIND_WILLRETURN_WRITEONLY]] 411 declare i32 @ffs(i32)
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetLibraryInfo.def | 736 /// int ffs(int i); 737 TLI_DEFINE_ENUM_INTERNAL(ffs) 738 TLI_DEFINE_STRING_INTERNAL("ffs")
|
| /llvm-project-15.0.7/llvm/lib/Target/ARC/ |
| H A D | ARCInstrInfo.td | 145 "error.ffs $A, $B", 344 defm FFS : ArcUnaryEXT5Inst<0b010010, "ffs">;
|
| /llvm-project-15.0.7/compiler-rt/lib/dfsan/ |
| H A D | libc_ubuntu1404_abilist.txt | 1704 fun:ffs=uninstrumented
|