Searched refs:instr1 (Results 1 – 4 of 4) sorted by relevance
105 const nir_instr *instr1 = (nir_instr *) data1; in instrs_equal() local107 assert(instr1->type == nir_instr_type_alu); in instrs_equal()110 nir_alu_instr *alu1 = nir_instr_as_alu(instr1); in instrs_equal()120 if (!alu_srcs_equal(&alu1->src[i], &alu2->src[i], instr1->pass_flags)) in instrs_equal()185 nir_instr *instr1, nir_instr *instr2) in instr_try_combine() argument187 assert(instr1->type == nir_instr_type_alu); in instr_try_combine()189 nir_alu_instr *alu1 = nir_instr_as_alu(instr1); in instr_try_combine()206 nir_builder_init(&b, nir_cf_node_get_function(&instr1->block->cf_node)); in instr_try_combine()207 b.cursor = nir_after_instr(instr1); in instr_try_combine()336 nir_instr_remove(instr1); in instr_try_combine()
549 nir_instrs_equal(const nir_instr *instr1, const nir_instr *instr2) in nir_instrs_equal() argument551 assert(instr_can_rewrite(instr1) && instr_can_rewrite(instr2)); in nir_instrs_equal()553 if (instr1->type != instr2->type) in nir_instrs_equal()556 switch (instr1->type) { in nir_instrs_equal()558 nir_alu_instr *alu1 = nir_instr_as_alu(instr1); in nir_instrs_equal()601 nir_deref_instr *deref1 = nir_instr_as_deref(instr1); in nir_instrs_equal()645 nir_tex_instr *tex1 = nir_instr_as_tex(instr1); in nir_instrs_equal()678 nir_load_const_instr *load1 = nir_instr_as_load_const(instr1); in nir_instrs_equal()700 nir_phi_instr *phi1 = nir_instr_as_phi(instr1); in nir_instrs_equal()720 nir_intrinsic_instr *intrinsic1 = nir_instr_as_intrinsic(instr1); in nir_instrs_equal()
4280 bool nir_instrs_equal(const nir_instr *instr1, const nir_instr *instr2);
97 r600_io_access_same_var(const nir_instr *instr1, const nir_instr *instr2) in r600_io_access_same_var() argument99 assert(instr1->type == nir_instr_type_intrinsic && in r600_io_access_same_var()102 nir_intrinsic_instr *intr1 = nir_instr_as_intrinsic(instr1); in r600_io_access_same_var()220 const nir_instr *instr1 = *(nir_instr **)util_dynarray_begin(arr1); in r600_cmp_func() local223 return r600_io_access_same_var(instr1, instr2); in r600_cmp_func()