Home
last modified time | relevance | path

Searched refs:can_fold (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_mediump.c524 bool can_fold = fold_f16 || fold_u16 || fold_i16 || fold_i16_u16; in can_fold_16bit_src() local
525 for (unsigned i = 0; can_fold && i < ssa->num_components; i++) { in can_fold_16bit_src()
531 can_fold &= const_is_f16(comp); in can_fold_16bit_src()
533 can_fold &= const_is_u16(comp); in can_fold_16bit_src()
535 can_fold &= const_is_i16(comp); in can_fold_16bit_src()
537 can_fold &= (const_is_u16(comp) || const_is_i16(comp)); in can_fold_16bit_src()
540 can_fold &= is_f16_to_f32_conversion(comp.def->parent_instr); in can_fold_16bit_src()
542 can_fold &= is_u16_to_u32_conversion(comp.def->parent_instr); in can_fold_16bit_src()
544 can_fold &= is_i16_to_i32_conversion(comp.def->parent_instr); in can_fold_16bit_src()
546 can_fold &= (is_i16_to_i32_conversion(comp.def->parent_instr) || in can_fold_16bit_src()
[all …]
/third_party/mesa3d/src/freedreno/ir3/
Dir3_cf.c143 bool can_fold; in try_conversion_folding() local
144 type_t base_type = ir3_output_conv_type(src, &can_fold); in try_conversion_folding()
145 if (!can_fold) in try_conversion_folding()
Dir3.h1464 ir3_output_conv_type(struct ir3_instruction *instr, bool *can_fold) in ir3_output_conv_type() argument
1466 *can_fold = true; in ir3_output_conv_type()
1519 *can_fold = false; in ir3_output_conv_type()