Home
last modified time | relevance | path

Searched refs:var_a (Results 1 – 10 of 10) sorted by relevance

/third_party/mesa3d/src/compiler/glsl/tests/
Dopt_add_neg_to_sub_test.cpp38 ir_variable *var_a; member in add_neg_to_sub
54 var_a = 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()
107 EXPECT_EQ(var_a, deref_a->var); in TEST_F()
114 body->emit(assign(var_c, add(var_a, neg(var_b)))); in TEST_F()
140 EXPECT_EQ(var_a, deref_a->var); in TEST_F()
147 body->emit(assign(var_c, add(neg(var_a), var_b))); in TEST_F()
173 EXPECT_EQ(var_a, deref_a->var); in TEST_F()
180 body->emit(assign(var_c, add(neg(var_a), neg(var_b)))); in TEST_F()
205 EXPECT_EQ(var_a, deref_a->var); in TEST_F()
Darray_refcount_test.cpp415 ir_variable *var_a = new(mem_ctx) ir_variable(glsl_type::float_type, in TEST_F() local
425 body->emit(assign(var_a, deref_array(var_c, var_b))); in TEST_F()
431 ir_array_refcount_entry *entry_a = v.get_variable_entry(var_a); in TEST_F()
450 ir_variable *var_a = new(mem_ctx) ir_variable(glsl_type::vec4_type, in TEST_F() local
460 body->emit(assign(var_a, deref_array(var_c, var_b))); in TEST_F()
466 ir_array_refcount_entry *entry_a = v.get_variable_entry(var_a); in TEST_F()
491 ir_variable *var_a = new(mem_ctx) ir_variable(glsl_type::int_type, in TEST_F() local
500 body->emit(assign(var_a, in TEST_F()
509 ir_array_refcount_entry *entry_a = v.get_variable_entry(var_a); in TEST_F()
518 validate_variables_in_hash_table(v.ht, 2, var_a, var_b); in TEST_F()
[all …]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_variable.c334 struct rc_variable * var_a = *(struct rc_variable **)a; in cmpfunc_variable_by_ip() local
336 unsigned int min_ip_a = var_a->Inst->IP; in cmpfunc_variable_by_ip()
340 while (var_a->Friend) { in cmpfunc_variable_by_ip()
341 var_a = var_a->Friend; in cmpfunc_variable_by_ip()
342 if (var_a->Inst->IP < min_ip_a) in cmpfunc_variable_by_ip()
343 min_ip_a = var_a->Inst->IP; in cmpfunc_variable_by_ip()
Dradeon_pair_regalloc.c584 struct rc_variable * var_a = a->Item; in do_advanced_regalloc() local
585 while (var_a) { in do_advanced_regalloc()
588 if (overlap_live_intervals_array(var_a->Live, var_b->Live)) { in do_advanced_regalloc()
594 var_a = var_a->Friend; in do_advanced_regalloc()
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl_module_constant_test.cc48 auto* var_a = GlobalConst("a", ty.f32(), nullptr, in TEST_F() local
59 ASSERT_TRUE(gen.EmitProgramConstVariable(var_a)) << gen.error(); in TEST_F()
/third_party/skia/third_party/externals/tint/src/resolver/
Dassignment_validation_test.cc191 auto* var_a = Var("a", ty.i32(), ast::StorageClass::kNone, Expr(2)); in TEST_F() local
193 WrapInFunction(var_a, var_b, Assign(Source{{12, 34}}, "a", "b")); in TEST_F()
203 auto* var_a = Var("a", ty.i32(), func, Expr(2)); in TEST_F() local
205 WrapInFunction(var_a, var_b, Assign(Source{{12, 34}}, Deref("b"), 2)); in TEST_F()
Dvar_let_validation_test.cc141 auto* var_a = Var("a", ty.f32(), priv); 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.cc297 auto* var_a = GlobalConst("a", ty.bool_(), Expr(true), in TEST_F() local
308 EXPECT_TRUE(b.GenerateGlobalVariable(var_a)) << b.error(); in TEST_F()
552 auto* var_a = Global("a", type, in TEST_F() local
560 EXPECT_TRUE(b.GenerateGlobalVariable(var_a)) << b.error(); in TEST_F()
584 auto* var_a = Global("a", type_a, ast::StorageClass::kNone, in TEST_F() local
601 EXPECT_TRUE(b.GenerateGlobalVariable(var_a)) << b.error(); in TEST_F()
Dbuilder_function_test.cc73 auto* var_a = program->AST().GlobalVariables()[0]; in TEST_F() local
76 ASSERT_TRUE(b.GenerateGlobalVariable(var_a)) << b.error(); in TEST_F()
/third_party/mesa3d/src/amd/compiler/
Daco_register_allocation.cpp1026 assignment& var_a = ctx.assignments[a]; 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()