Home
last modified time | relevance | path

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

/third_party/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()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_variable.c335 struct rc_variable * var_b = *(struct rc_variable **)b; in cmpfunc_variable_by_ip() local
337 unsigned int min_ip_b = var_b->Inst->IP; in cmpfunc_variable_by_ip()
345 while (var_b->Friend) { in cmpfunc_variable_by_ip()
346 var_b = var_b->Friend; in cmpfunc_variable_by_ip()
347 if (var_b->Inst->IP < min_ip_b) in cmpfunc_variable_by_ip()
348 min_ip_b = var_b->Inst->IP; in cmpfunc_variable_by_ip()
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()
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl_module_constant_test.cc52 auto* var_b = GlobalConst("b", ty.f32(), nullptr, in TEST_F() local
60 ASSERT_TRUE(gen.EmitProgramConstVariable(var_b)) << gen.error(); in TEST_F()
/third_party/skia/third_party/externals/tint/src/resolver/
Dassignment_validation_test.cc192 auto* var_b = Var("b", ty.i32(), ast::StorageClass::kNone, Expr(3)); in TEST_F() local
193 WrapInFunction(var_a, var_b, Assign(Source{{12, 34}}, "a", "b")); in TEST_F()
204 auto* var_b = Const("b", ty.pointer<int>(func), AddressOf(Expr("a"))); in TEST_F() local
205 WrapInFunction(var_a, var_b, Assign(Source{{12, 34}}, Deref("b"), 2)); in TEST_F()
Dvar_let_validation_test.cc142 auto* var_b = in TEST_F() local
144 WrapInFunction(var_a, var_b); in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder_global_variable_test.cc301 auto* var_b = GlobalConst("b", ty.bool_(), Expr(false), in TEST_F() local
309 EXPECT_TRUE(b.GenerateGlobalVariable(var_b)) << b.error(); in TEST_F()
505 auto* var_b = in TEST_F() local
520 EXPECT_TRUE(b.GenerateGlobalVariable(var_b)) << b.error(); in TEST_F()
593 auto* var_b = Global("b", type_b, ast::StorageClass::kNone, in TEST_F() local
602 EXPECT_TRUE(b.GenerateGlobalVariable(var_b)) << b.error(); in TEST_F()
/third_party/mesa3d/src/amd/compiler/
Daco_register_allocation.cpp1027 assignment& var_b = ctx.assignments[b]; in collect_vars() local
1028 return var_a.rc.bytes() > var_b.rc.bytes() || in collect_vars()
1029 (var_a.rc.bytes() == var_b.rc.bytes() && var_a.reg < var_b.reg); in collect_vars()