Lines Matching refs:condition_flags
18971 nir_opt_algebraic_block(nir_block *block, const bool *condition_flags, in nir_opt_algebraic_block() argument
18988 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
18999 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19010 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19021 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19032 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19043 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19054 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19065 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19076 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19087 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19098 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19109 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19120 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19131 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19142 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19153 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19164 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19175 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19186 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19197 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19208 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19219 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19230 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19241 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19252 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19263 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19274 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19285 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19296 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19307 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19318 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19329 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19340 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19351 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19362 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19373 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19384 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19395 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19406 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19417 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19428 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19439 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19450 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19461 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19472 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19483 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19494 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19505 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19516 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19527 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19538 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19549 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19560 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19571 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19582 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19593 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19604 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19615 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19626 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19637 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19648 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19659 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19670 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19681 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19692 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19703 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19714 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19725 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19736 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19747 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19758 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19769 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19780 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19791 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19802 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19813 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19824 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19835 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19846 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19857 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19868 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19879 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19890 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19901 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19912 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_block()
19929 nir_opt_algebraic_impl(nir_function_impl *impl, const bool *condition_flags) in nir_opt_algebraic_impl() argument
19935 progress |= nir_opt_algebraic_block(block, condition_flags, mem_ctx); in nir_opt_algebraic_impl()
19950 bool condition_flags[37]; in nir_opt_algebraic() local
19954 condition_flags[0] = true; in nir_opt_algebraic()
19955 condition_flags[1] = options->lower_idiv; in nir_opt_algebraic()
19956 condition_flags[2] = options->lower_flrp32; in nir_opt_algebraic()
19957 condition_flags[3] = options->lower_flrp64; in nir_opt_algebraic()
19958 condition_flags[4] = options->lower_ffract; in nir_opt_algebraic()
19959 condition_flags[5] = !options->lower_flrp32; in nir_opt_algebraic()
19960 condition_flags[6] = !options->lower_flrp64; in nir_opt_algebraic()
19961 condition_flags[7] = options->lower_ffma; in nir_opt_algebraic()
19962 condition_flags[8] = options->fuse_ffma; in nir_opt_algebraic()
19963 condition_flags[9] = !options->lower_fsat; in nir_opt_algebraic()
19964 condition_flags[10] = options->lower_fsat; in nir_opt_algebraic()
19965 condition_flags[11] = options->lower_scmp; in nir_opt_algebraic()
19966 condition_flags[12] = options->lower_fpow; in nir_opt_algebraic()
19967 condition_flags[13] = !options->lower_fpow; in nir_opt_algebraic()
19968 condition_flags[14] = options->lower_fdiv; in nir_opt_algebraic()
19969 condition_flags[15] = options->lower_fsqrt; in nir_opt_algebraic()
19970 condition_flags[16] = !options->lower_fsqrt; in nir_opt_algebraic()
19971 condition_flags[17] = !options->lower_extract_byte; in nir_opt_algebraic()
19972 condition_flags[18] = !options->lower_extract_word; in nir_opt_algebraic()
19973 condition_flags[19] = options->lower_sub; in nir_opt_algebraic()
19974 condition_flags[20] = options->lower_negate; in nir_opt_algebraic()
19975 condition_flags[21] = options->lower_fmod32; in nir_opt_algebraic()
19976 condition_flags[22] = options->lower_fmod64; in nir_opt_algebraic()
19977 condition_flags[23] = options->lower_uadd_carry; in nir_opt_algebraic()
19978 condition_flags[24] = options->lower_usub_borrow; in nir_opt_algebraic()
19979 condition_flags[25] = options->lower_bitfield_insert; in nir_opt_algebraic()
19980 condition_flags[26] = options->lower_bitfield_extract; in nir_opt_algebraic()
19981 condition_flags[27] = options->lower_extract_byte; in nir_opt_algebraic()
19982 condition_flags[28] = options->lower_extract_word; in nir_opt_algebraic()
19983 condition_flags[29] = options->lower_pack_unorm_2x16; in nir_opt_algebraic()
19984 condition_flags[30] = options->lower_pack_unorm_4x8; in nir_opt_algebraic()
19985 condition_flags[31] = options->lower_pack_snorm_2x16; in nir_opt_algebraic()
19986 condition_flags[32] = options->lower_pack_snorm_4x8; in nir_opt_algebraic()
19987 condition_flags[33] = options->lower_unpack_unorm_2x16; in nir_opt_algebraic()
19988 condition_flags[34] = options->lower_unpack_unorm_4x8; in nir_opt_algebraic()
19989 condition_flags[35] = options->lower_unpack_snorm_2x16; in nir_opt_algebraic()
19990 condition_flags[36] = options->lower_unpack_snorm_4x8; in nir_opt_algebraic()
19994 progress |= nir_opt_algebraic_impl(function->impl, condition_flags); in nir_opt_algebraic()
20810 nir_opt_algebraic_before_ffma_block(nir_block *block, const bool *condition_flags, in nir_opt_algebraic_before_ffma_block() argument
20827 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_before_ffma_block()
20838 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_before_ffma_block()
20849 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_before_ffma_block()
20860 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_before_ffma_block()
20877 nir_opt_algebraic_before_ffma_impl(nir_function_impl *impl, const bool *condition_flags) in nir_opt_algebraic_before_ffma_impl() argument
20883 progress |= nir_opt_algebraic_before_ffma_block(block, condition_flags, mem_ctx); in nir_opt_algebraic_before_ffma_impl()
20898 bool condition_flags[37]; in nir_opt_algebraic_before_ffma() local
20902 condition_flags[0] = true; in nir_opt_algebraic_before_ffma()
20903 condition_flags[1] = options->lower_idiv; in nir_opt_algebraic_before_ffma()
20904 condition_flags[2] = options->lower_flrp32; in nir_opt_algebraic_before_ffma()
20905 condition_flags[3] = options->lower_flrp64; in nir_opt_algebraic_before_ffma()
20906 condition_flags[4] = options->lower_ffract; in nir_opt_algebraic_before_ffma()
20907 condition_flags[5] = !options->lower_flrp32; in nir_opt_algebraic_before_ffma()
20908 condition_flags[6] = !options->lower_flrp64; in nir_opt_algebraic_before_ffma()
20909 condition_flags[7] = options->lower_ffma; in nir_opt_algebraic_before_ffma()
20910 condition_flags[8] = options->fuse_ffma; in nir_opt_algebraic_before_ffma()
20911 condition_flags[9] = !options->lower_fsat; in nir_opt_algebraic_before_ffma()
20912 condition_flags[10] = options->lower_fsat; in nir_opt_algebraic_before_ffma()
20913 condition_flags[11] = options->lower_scmp; in nir_opt_algebraic_before_ffma()
20914 condition_flags[12] = options->lower_fpow; in nir_opt_algebraic_before_ffma()
20915 condition_flags[13] = !options->lower_fpow; in nir_opt_algebraic_before_ffma()
20916 condition_flags[14] = options->lower_fdiv; in nir_opt_algebraic_before_ffma()
20917 condition_flags[15] = options->lower_fsqrt; in nir_opt_algebraic_before_ffma()
20918 condition_flags[16] = !options->lower_fsqrt; in nir_opt_algebraic_before_ffma()
20919 condition_flags[17] = !options->lower_extract_byte; in nir_opt_algebraic_before_ffma()
20920 condition_flags[18] = !options->lower_extract_word; in nir_opt_algebraic_before_ffma()
20921 condition_flags[19] = options->lower_sub; in nir_opt_algebraic_before_ffma()
20922 condition_flags[20] = options->lower_negate; in nir_opt_algebraic_before_ffma()
20923 condition_flags[21] = options->lower_fmod32; in nir_opt_algebraic_before_ffma()
20924 condition_flags[22] = options->lower_fmod64; in nir_opt_algebraic_before_ffma()
20925 condition_flags[23] = options->lower_uadd_carry; in nir_opt_algebraic_before_ffma()
20926 condition_flags[24] = options->lower_usub_borrow; in nir_opt_algebraic_before_ffma()
20927 condition_flags[25] = options->lower_bitfield_insert; in nir_opt_algebraic_before_ffma()
20928 condition_flags[26] = options->lower_bitfield_extract; in nir_opt_algebraic_before_ffma()
20929 condition_flags[27] = options->lower_extract_byte; in nir_opt_algebraic_before_ffma()
20930 condition_flags[28] = options->lower_extract_word; in nir_opt_algebraic_before_ffma()
20931 condition_flags[29] = options->lower_pack_unorm_2x16; in nir_opt_algebraic_before_ffma()
20932 condition_flags[30] = options->lower_pack_unorm_4x8; in nir_opt_algebraic_before_ffma()
20933 condition_flags[31] = options->lower_pack_snorm_2x16; in nir_opt_algebraic_before_ffma()
20934 condition_flags[32] = options->lower_pack_snorm_4x8; in nir_opt_algebraic_before_ffma()
20935 condition_flags[33] = options->lower_unpack_unorm_2x16; in nir_opt_algebraic_before_ffma()
20936 condition_flags[34] = options->lower_unpack_unorm_4x8; in nir_opt_algebraic_before_ffma()
20937 condition_flags[35] = options->lower_unpack_snorm_2x16; in nir_opt_algebraic_before_ffma()
20938 condition_flags[36] = options->lower_unpack_snorm_4x8; in nir_opt_algebraic_before_ffma()
20942 progress |= nir_opt_algebraic_before_ffma_impl(function->impl, condition_flags); in nir_opt_algebraic_before_ffma()
21741 nir_opt_algebraic_late_block(nir_block *block, const bool *condition_flags, in nir_opt_algebraic_late_block() argument
21758 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_late_block()
21769 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_late_block()
21780 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_late_block()
21791 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_late_block()
21802 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_late_block()
21813 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_late_block()
21824 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_late_block()
21835 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_late_block()
21846 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_late_block()
21857 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_late_block()
21868 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_late_block()
21879 if (condition_flags[xform->condition_offset] && in nir_opt_algebraic_late_block()
21896 nir_opt_algebraic_late_impl(nir_function_impl *impl, const bool *condition_flags) in nir_opt_algebraic_late_impl() argument
21902 progress |= nir_opt_algebraic_late_block(block, condition_flags, mem_ctx); in nir_opt_algebraic_late_impl()
21917 bool condition_flags[38]; in nir_opt_algebraic_late() local
21921 condition_flags[0] = true; in nir_opt_algebraic_late()
21922 condition_flags[1] = options->lower_idiv; in nir_opt_algebraic_late()
21923 condition_flags[2] = options->lower_flrp32; in nir_opt_algebraic_late()
21924 condition_flags[3] = options->lower_flrp64; in nir_opt_algebraic_late()
21925 condition_flags[4] = options->lower_ffract; in nir_opt_algebraic_late()
21926 condition_flags[5] = !options->lower_flrp32; in nir_opt_algebraic_late()
21927 condition_flags[6] = !options->lower_flrp64; in nir_opt_algebraic_late()
21928 condition_flags[7] = options->lower_ffma; in nir_opt_algebraic_late()
21929 condition_flags[8] = options->fuse_ffma; in nir_opt_algebraic_late()
21930 condition_flags[9] = !options->lower_fsat; in nir_opt_algebraic_late()
21931 condition_flags[10] = options->lower_fsat; in nir_opt_algebraic_late()
21932 condition_flags[11] = options->lower_scmp; in nir_opt_algebraic_late()
21933 condition_flags[12] = options->lower_fpow; in nir_opt_algebraic_late()
21934 condition_flags[13] = !options->lower_fpow; in nir_opt_algebraic_late()
21935 condition_flags[14] = options->lower_fdiv; in nir_opt_algebraic_late()
21936 condition_flags[15] = options->lower_fsqrt; in nir_opt_algebraic_late()
21937 condition_flags[16] = !options->lower_fsqrt; in nir_opt_algebraic_late()
21938 condition_flags[17] = !options->lower_extract_byte; in nir_opt_algebraic_late()
21939 condition_flags[18] = !options->lower_extract_word; in nir_opt_algebraic_late()
21940 condition_flags[19] = options->lower_sub; in nir_opt_algebraic_late()
21941 condition_flags[20] = options->lower_negate; in nir_opt_algebraic_late()
21942 condition_flags[21] = options->lower_fmod32; in nir_opt_algebraic_late()
21943 condition_flags[22] = options->lower_fmod64; in nir_opt_algebraic_late()
21944 condition_flags[23] = options->lower_uadd_carry; in nir_opt_algebraic_late()
21945 condition_flags[24] = options->lower_usub_borrow; in nir_opt_algebraic_late()
21946 condition_flags[25] = options->lower_bitfield_insert; in nir_opt_algebraic_late()
21947 condition_flags[26] = options->lower_bitfield_extract; in nir_opt_algebraic_late()
21948 condition_flags[27] = options->lower_extract_byte; in nir_opt_algebraic_late()
21949 condition_flags[28] = options->lower_extract_word; in nir_opt_algebraic_late()
21950 condition_flags[29] = options->lower_pack_unorm_2x16; in nir_opt_algebraic_late()
21951 condition_flags[30] = options->lower_pack_unorm_4x8; in nir_opt_algebraic_late()
21952 condition_flags[31] = options->lower_pack_snorm_2x16; in nir_opt_algebraic_late()
21953 condition_flags[32] = options->lower_pack_snorm_4x8; in nir_opt_algebraic_late()
21954 condition_flags[33] = options->lower_unpack_unorm_2x16; in nir_opt_algebraic_late()
21955 condition_flags[34] = options->lower_unpack_unorm_4x8; in nir_opt_algebraic_late()
21956 condition_flags[35] = options->lower_unpack_snorm_2x16; in nir_opt_algebraic_late()
21957 condition_flags[36] = options->lower_unpack_snorm_4x8; in nir_opt_algebraic_late()
21958 condition_flags[37] = options->fdot_replicates; in nir_opt_algebraic_late()
21962 progress |= nir_opt_algebraic_late_impl(function->impl, condition_flags); in nir_opt_algebraic_late()