Home
last modified time | relevance | path

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

/external/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()
76 } else if (util_is_power_of_two_or_zero64(abs_d)) { in build_idiv()
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()
81 if (val >= 0 || !util_is_power_of_two_or_zero64(-val)) in is_neg_power_of_two()
Dnir_builder.h802 util_is_power_of_two_or_zero64(y)) { in _nir_mul_imm()
/external/mesa3d/src/util/
Dbitscan.h132 util_is_power_of_two_or_zero64(uint64_t v) in util_is_power_of_two_or_zero64() function
Dfast_idiv_by_const.c55 if (util_is_power_of_two_or_zero64(D)) { in util_compute_fast_udiv_info()
Du_math.h555 if (util_is_power_of_two_or_zero64(x)) in util_next_power_of_two64()
/external/mesa3d/src/util/tests/fast_idiv_by_const/
Dfast_idiv_by_const_test.cpp309 } while (d == INT64_MIN || util_is_power_of_two_or_zero64(llabs(d))); in random_sdiv_test()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_peephole.cpp1000 if (b >= 0 && util_is_power_of_two_or_zero64(b)) { in createMul()
1016 (util_is_power_of_two_or_zero64(absB - 1) || in createMul()
1017 util_is_power_of_two_or_zero64(absB + 1)) && in createMul()
1019 bool subA = util_is_power_of_two_or_zero64(absB + 1); in createMul()
Dnv50_ir.cpp429 return util_is_power_of_two_or_zero64(reg.data.u64); in isPow2()