/third_party/mesa3d/src/compiler/glsl/tests/ |
D | opt_add_neg_to_sub_test.cpp | 38 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()
|
D | array_refcount_test.cpp | 415 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/ |
D | radeon_variable.c | 334 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()
|
D | radeon_pair_regalloc.c | 584 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/ |
D | generator_impl_module_constant_test.cc | 48 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/ |
D | assignment_validation_test.cc | 191 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()
|
D | var_let_validation_test.cc | 141 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/ |
D | builder_global_variable_test.cc | 297 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()
|
D | builder_function_test.cc | 73 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/ |
D | aco_register_allocation.cpp | 1026 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()
|