Searched refs:new_intrin (Results 1 – 2 of 2) sorted by relevance
71 nir_intrinsic_instr *new_intrin = nir_intrinsic_instr_create( in lima_nir_split_load_input_block() local74 nir_ssa_dest_init(&new_intrin->instr, &new_intrin->dest, in lima_nir_split_load_input_block()78 new_intrin->num_components = nir_dest_num_components(alu->dest.dest); in lima_nir_split_load_input_block()79 nir_intrinsic_set_base(new_intrin, nir_intrinsic_base(intrin)); in lima_nir_split_load_input_block()80 nir_intrinsic_set_component(new_intrin, nir_intrinsic_component(intrin) + swizzle); in lima_nir_split_load_input_block()81 nir_intrinsic_set_dest_type(new_intrin, nir_intrinsic_dest_type(intrin)); in lima_nir_split_load_input_block()84 nir_src_copy(&new_intrin->src[0], &intrin->src[0], new_intrin); in lima_nir_split_load_input_block()86 nir_builder_instr_insert(b, &new_intrin->instr); in lima_nir_split_load_input_block()88 nir_src_for_ssa(&new_intrin->dest.ssa)); in lima_nir_split_load_input_block()
129 nir_intrinsic_instr *new_intrin = in lower_intrinsic_instr() local134 new_intrin->src[0] = nir_src_for_ssa(new_src); in lower_intrinsic_instr()139 assert(new_intrin->dest.ssa.bit_size == 1); in lower_intrinsic_instr()145 new_intrin->dest.ssa.bit_size = bit_size; in lower_intrinsic_instr()148 nir_builder_instr_insert(b, &new_intrin->instr); in lower_intrinsic_instr()150 nir_ssa_def *res = &new_intrin->dest.ssa; in lower_intrinsic_instr()