Home
last modified time | relevance | path

Searched refs:overflow_mask (Results 1 – 5 of 5) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/util/
Dparse_number.h126 uint64_t overflow_mask = ~magnitude_mask; in CheckRangeAndIfHexThenSignExtend() local
137 failed = ((value & overflow_mask) != overflow_mask) || in CheckRangeAndIfHexThenSignExtend()
144 failed = (value & overflow_mask) != 0; in CheckRangeAndIfHexThenSignExtend()
158 *updated_value_for_hex = (value | overflow_mask); in CheckRangeAndIfHexThenSignExtend()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/util/
Dparse_number.h126 uint64_t overflow_mask = ~magnitude_mask; in CheckRangeAndIfHexThenSignExtend() local
137 failed = ((value & overflow_mask) != overflow_mask) || in CheckRangeAndIfHexThenSignExtend()
144 failed = (value & overflow_mask) != 0; in CheckRangeAndIfHexThenSignExtend()
158 *updated_value_for_hex = (value | overflow_mask); in CheckRangeAndIfHexThenSignExtend()
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dparse_number.h126 uint64_t overflow_mask = ~magnitude_mask; in CheckRangeAndIfHexThenSignExtend() local
137 failed = ((value & overflow_mask) != overflow_mask) || in CheckRangeAndIfHexThenSignExtend()
144 failed = (value & overflow_mask) != 0; in CheckRangeAndIfHexThenSignExtend()
158 *updated_value_for_hex = (value | overflow_mask); in CheckRangeAndIfHexThenSignExtend()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir_soa.c191 LLVMValueRef overflow_mask, in build_gather() argument
213 if (overflow_mask) { in build_gather()
223 indexes = lp_build_select(uint_bld, overflow_mask, uint_bld->zero, indexes); in build_gather()
225 indexes2 = lp_build_select(uint_bld, overflow_mask, uint_bld->zero, indexes2); in build_gather()
256 if (overflow_mask) { in build_gather()
259 overflow_mask = LLVMBuildSExt(builder, overflow_mask, in build_gather()
261 res = lp_build_select(&bld_base->dbl_bld, overflow_mask, in build_gather()
264 res = lp_build_select(bld, overflow_mask, bld->zero, res); in build_gather()
994 LLVMValueRef overflow_mask; in emit_load_ubo() local
1000 overflow_mask = lp_build_compare(gallivm, uint_bld->type, PIPE_FUNC_GEQUAL, in emit_load_ubo()
[all …]
Dlp_bld_tgsi_soa.c541 LLVMValueRef overflow_mask, in build_gather() argument
564 if (overflow_mask) { in build_gather()
574 indexes = lp_build_select(uint_bld, overflow_mask, uint_bld->zero, indexes); in build_gather()
576 indexes2 = lp_build_select(uint_bld, overflow_mask, uint_bld->zero, indexes2); in build_gather()
607 if (overflow_mask) { in build_gather()
610 overflow_mask = LLVMBuildSExt(builder, overflow_mask, in build_gather()
612 res = lp_build_select(&bld_base->dbl_bld, overflow_mask, in build_gather()
615 res = lp_build_select(bld, overflow_mask, bld->zero, res); in build_gather()
835 LLVMValueRef overflow_mask; in emit_fetch_constant() local
850 overflow_mask = lp_build_compare(gallivm, uint_bld->type, PIPE_FUNC_GEQUAL, in emit_fetch_constant()
[all …]