Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/glsl/tests/
Darray_refcount_test.cpp410 ir_variable *var_b = new(mem_ctx) ir_variable(glsl_type::int_type, in TEST_F() local
417 body->emit(assign(var_a, deref_array(var_c, var_b))); in TEST_F()
424 ir_array_refcount_entry *entry_b = v.get_variable_entry(var_b); in TEST_F()
445 ir_variable *var_b = new(mem_ctx) ir_variable(glsl_type::int_type, in TEST_F() local
452 body->emit(assign(var_a, deref_array(var_c, var_b))); in TEST_F()
459 ir_array_refcount_entry *entry_b = v.get_variable_entry(var_b); in TEST_F()
487 ir_variable *var_b = new(mem_ctx) ir_variable(record_of_array_3_of_int, in TEST_F() local
494 deref_struct(var_b, "i"), in TEST_F()
502 ir_array_refcount_entry *entry_b = v.get_variable_entry(var_b); in TEST_F()
510 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
56 var_b = new(mem_ctx) ir_variable(glsl_type::float_type, in SetUp()
77 body->emit(assign(var_c, add(var_a, var_b))); in TEST_F()
105 EXPECT_EQ(var_b, deref_b->var); in TEST_F()
110 body->emit(assign(var_c, add(var_a, neg(var_b)))); in TEST_F()
138 EXPECT_EQ(var_b, deref_b->var); in TEST_F()
143 body->emit(assign(var_c, add(neg(var_a), var_b))); in TEST_F()
171 EXPECT_EQ(var_b, deref_b->var); in TEST_F()
176 body->emit(assign(var_c, add(neg(var_a), neg(var_b)))); in TEST_F()
209 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/kernel_tests/
Dvariables_test.py366 var_b = variables.Variable([True, False])
367 and_v = operator.and_(var_b, [True, True])
368 or_v = operator.or_(var_b, [False, True])
369 xor_v = operator.xor(var_b, [False, False])
370 invert_v = ~var_b
Dcontrol_flow_ops_py_test.py2347 var_b = variables.Variable(0, name="b")
2359 asn2 = state_ops.assign_add(var_b, asn1, name="b_add")
2367 self.assertEqual(0, self.evaluate(var_b))
2369 self.assertEqual(10, self.evaluate(var_b))
2377 var_b = variables.Variable(0, name="b")
2382 return math_ops.less(var_b, 10)
2389 var_b, constant_op.constant(1), name="b_add")
2391 inc_b = array_ops.identity(var_b)
2395 pred, loop_body, [var_b], parallel_iterations=1, name="loop")
2397 self.assertEqual(0, self.evaluate(var_b))
[all …]