Home
last modified time | relevance | path

Searched refs:var_b (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/compiler/glsl/tests/
Darray_refcount_test.cpp418 ir_variable *var_b = new(mem_ctx) ir_variable(glsl_type::int_type, in TEST_F() local
425 body->emit(assign(var_a, deref_array(var_c, var_b))); in TEST_F()
432 ir_array_refcount_entry *entry_b = v.get_variable_entry(var_b); in TEST_F()
453 ir_variable *var_b = new(mem_ctx) ir_variable(glsl_type::int_type, in TEST_F() local
460 body->emit(assign(var_a, deref_array(var_c, var_b))); in TEST_F()
467 ir_array_refcount_entry *entry_b = v.get_variable_entry(var_b); in TEST_F()
495 ir_variable *var_b = new(mem_ctx) ir_variable(record_of_array_3_of_int, in TEST_F() local
502 deref_struct(var_b, "i"), in TEST_F()
510 ir_array_refcount_entry *entry_b = v.get_variable_entry(var_b); in TEST_F()
518 validate_variables_in_hash_table(v.ht, 2, var_a, var_b); in TEST_F()
[all …]
Dopt_add_neg_to_sub_test.cpp39 ir_variable *var_b; member in add_neg_to_sub
58 var_b = new(mem_ctx) ir_variable(glsl_type::float_type, in SetUp()
81 body->emit(assign(var_c, add(var_a, var_b))); in TEST_F()
109 EXPECT_EQ(var_b, deref_b->var); in TEST_F()
114 body->emit(assign(var_c, add(var_a, neg(var_b)))); in TEST_F()
142 EXPECT_EQ(var_b, deref_b->var); in TEST_F()
147 body->emit(assign(var_c, add(neg(var_a), var_b))); in TEST_F()
175 EXPECT_EQ(var_b, deref_b->var); in TEST_F()
180 body->emit(assign(var_c, add(neg(var_a), neg(var_b)))); in TEST_F()
213 EXPECT_EQ(var_b, deref_b->var); in TEST_F()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_pair_regalloc.c586 struct rc_variable * var_b = b->Item; in do_advanced_regalloc() local
587 while (var_b) { in do_advanced_regalloc()
588 if (overlap_live_intervals_array(var_a->Live, var_b->Live)) { in do_advanced_regalloc()
592 var_b = var_b->Friend; in do_advanced_regalloc()
/external/tensorflow/tensorflow/python/keras/distribute/
Dsidecar_evaluator_test.py78 for var_a, var_b in zip(model_a.variables, model_b.variables):
79 self.assertAllEqual(var_a.numpy(), var_b.numpy())
/external/tensorflow/tensorflow/python/kernel_tests/
Dvariables_test.py394 var_b = variables.Variable([True, False])
395 and_v = operator.and_(var_b, [True, True])
396 or_v = operator.or_(var_b, [False, True])
397 xor_v = operator.xor(var_b, [False, False])
398 invert_v = ~var_b
Dcontrol_flow_ops_py_test.py2731 var_b = variables.Variable(0, name="b")
2743 asn2 = state_ops.assign_add(var_b, asn1, name="b_add")
2751 self.assertEqual(0, self.evaluate(var_b))
2753 self.assertEqual(10, self.evaluate(var_b))
2761 var_b = variables.Variable(0, name="b")
2766 return math_ops.less(var_b, 10)
2773 var_b, constant_op.constant(1), name="b_add")
2775 inc_b = array_ops.identity(var_b)
2779 pred, loop_body, [var_b], parallel_iterations=1, name="loop")
2781 self.assertEqual(0, self.evaluate(var_b))
[all …]