Home
last modified time | relevance | path

Searched refs:util_is_power_of_two_or_zero64 (Results 1 – 10 of 10) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_opt_idiv_const.c34 } else if (util_is_power_of_two_or_zero64(d)) { in build_udiv()
57 } else if (util_is_power_of_two_or_zero64(d)) { in build_umod()
80 } else if (util_is_power_of_two_or_zero64(abs_d)) { in build_idiv()
113 if (util_is_power_of_two_or_zero64(d)) { in build_irem()
135 } else if (d > 0 && util_is_power_of_two_or_zero64(d)) { in build_imod()
137 } else if (d < 0 && util_is_power_of_two_or_zero64(-d)) { in build_imod()
Dnir_search_helpers.h49 if (val <= 0 || !util_is_power_of_two_or_zero64(val)) in is_pos_power_of_two()
55 if (val == 0 || !util_is_power_of_two_or_zero64(val)) in is_pos_power_of_two()
84 if (val == int_min || val >= 0 || !util_is_power_of_two_or_zero64(-val)) in is_neg_power_of_two()
Dnir_builder.h695 util_is_power_of_two_or_zero64(y)) { in _nir_mul_imm()
/third_party/mesa3d/src/util/
Dfast_idiv_by_const.c56 if (util_is_power_of_two_or_zero64(D)) { in util_compute_fast_udiv_info()
Dbitscan.h140 util_is_power_of_two_or_zero64(uint64_t v) in util_is_power_of_two_or_zero64() function
Du_math.h492 if (util_is_power_of_two_or_zero64(x)) in util_next_power_of_two64()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_renderer_internal.c56 if (unlikely(!util_is_power_of_two_or_zero64(size))) in choose_bucket()
/third_party/mesa3d/src/util/tests/
Dfast_idiv_by_const_test.cpp306 } while (d == INT64_MIN || util_is_power_of_two_or_zero64(llabs(d))); in random_sdiv_test()
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_peephole.cpp1003 if (b >= 0 && util_is_power_of_two_or_zero64(b)) { in createMul()
1019 (util_is_power_of_two_or_zero64(absB - 1) || in createMul()
1020 util_is_power_of_two_or_zero64(absB + 1)) && in createMul()
1022 bool subA = util_is_power_of_two_or_zero64(absB + 1); in createMul()
Dnv50_ir.cpp424 return util_is_power_of_two_or_zero64(reg.data.u64); in isPow2()