/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | debug_info_manager_test.cpp | 69 %in_var_COLOR = OpVariable %_ptr_Input_float Input 125 %in_var_COLOR = OpVariable %_ptr_Input_float Input 330 %in_var_COLOR = OpVariable %_ptr_Input_float Input 341 %100 = OpVariable %_ptr_Function_float Function 387 %in_var_COLOR = OpVariable %_ptr_Input_float Input 397 %100 = OpVariable %_ptr_Function_float Function 443 %in_var_COLOR = OpVariable %_ptr_Input_float Input 453 %100 = OpVariable %_ptr_Function_float Function 535 %in_var_COLOR = OpVariable %_ptr_Input_v4float Input 536 %out_var_SV_Target0 = OpVariable [all...] |
H A D | ir_loader_test.cpp | 78 "%param = OpVariable %_ptr_Function_int Function\n" in TEST() 79 "%param_0 = OpVariable %_ptr_Function_int Function\n" in TEST() 175 "%gv1 = OpVariable %_ptr_Private_float Private\n" in TEST() 177 "%gv2 = OpVariable %_ptr_Private_float Private\n" in TEST() 182 "%lv1_0 = OpVariable %_ptr_Function_float Function\n" in TEST() 196 "%lv1 = OpVariable %_ptr_Function_float Function\n" in TEST() 197 "%lv2 = OpVariable %_ptr_Function_float Function\n" in TEST() 436 %pos = OpVariable %_ptr_Input_v4float Input in TEST() 438 %color = OpVariable %_ptr_Input_v4float Input in TEST() 440 %gl_Position = OpVariable in TEST() [all...] |
H A D | inline_test.cpp | 70 "%BaseColor = OpVariable %_ptr_Input_v4float Input", in TEST_F() 72 "%gl_FragColor = OpVariable %_ptr_Output_v4float Output", in TEST_F() 95 "%color = OpVariable %_ptr_Function_v4float Function", in TEST_F() 96 "%param = OpVariable %_ptr_Function_v4float Function", in TEST_F() 113 "%32 = OpVariable %_ptr_Function_float Function", in TEST_F() 114 "%color = OpVariable %_ptr_Function_v4float Function", in TEST_F() 115 "%param = OpVariable %_ptr_Function_v4float Function", in TEST_F() 192 "%BaseColor = OpVariable %_ptr_Input_v4float Input", in TEST_F() 194 "%gl_FragColor = OpVariable %_ptr_Output_v4float Output", in TEST_F() 212 "%param = OpVariable in TEST_F() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | debug_info_manager_test.cpp | 69 %in_var_COLOR = OpVariable %_ptr_Input_float Input 125 %in_var_COLOR = OpVariable %_ptr_Input_float Input 330 %in_var_COLOR = OpVariable %_ptr_Input_float Input 341 %100 = OpVariable %_ptr_Function_float Function 387 %in_var_COLOR = OpVariable %_ptr_Input_float Input 397 %100 = OpVariable %_ptr_Function_float Function 443 %in_var_COLOR = OpVariable %_ptr_Input_float Input 453 %100 = OpVariable %_ptr_Function_float Function 535 %in_var_COLOR = OpVariable %_ptr_Input_v4float Input 536 %out_var_SV_Target0 = OpVariable [all...] |
H A D | ir_loader_test.cpp | 78 "%param = OpVariable %_ptr_Function_int Function\n" in TEST() 79 "%param_0 = OpVariable %_ptr_Function_int Function\n" in TEST() 175 "%gv1 = OpVariable %_ptr_Private_float Private\n" in TEST() 177 "%gv2 = OpVariable %_ptr_Private_float Private\n" in TEST() 182 "%lv1_0 = OpVariable %_ptr_Function_float Function\n" in TEST() 196 "%lv1 = OpVariable %_ptr_Function_float Function\n" in TEST() 197 "%lv2 = OpVariable %_ptr_Function_float Function\n" in TEST() 436 %pos = OpVariable %_ptr_Input_v4float Input in TEST() 438 %color = OpVariable %_ptr_Input_v4float Input in TEST() 440 %gl_Position = OpVariable in TEST() [all...] |
H A D | inline_test.cpp | 70 "%BaseColor = OpVariable %_ptr_Input_v4float Input", in TEST_F() 72 "%gl_FragColor = OpVariable %_ptr_Output_v4float Output", in TEST_F() 95 "%color = OpVariable %_ptr_Function_v4float Function", in TEST_F() 96 "%param = OpVariable %_ptr_Function_v4float Function", in TEST_F() 113 "%32 = OpVariable %_ptr_Function_float Function", in TEST_F() 114 "%color = OpVariable %_ptr_Function_v4float Function", in TEST_F() 115 "%param = OpVariable %_ptr_Function_v4float Function", in TEST_F() 192 "%BaseColor = OpVariable %_ptr_Input_v4float Input", in TEST_F() 194 "%gl_FragColor = OpVariable %_ptr_Output_v4float Output", in TEST_F() 212 "%param = OpVariable in TEST_F() [all...] |
/third_party/spirv-tools/test/opt/ |
H A D | debug_info_manager_test.cpp | 66 %in_var_COLOR = OpVariable %_ptr_Input_float Input 122 %in_var_COLOR = OpVariable %_ptr_Input_float Input 327 %in_var_COLOR = OpVariable %_ptr_Input_float Input 338 %100 = OpVariable %_ptr_Function_float Function 384 %in_var_COLOR = OpVariable %_ptr_Input_float Input 394 %100 = OpVariable %_ptr_Function_float Function 440 %in_var_COLOR = OpVariable %_ptr_Input_float Input 450 %100 = OpVariable %_ptr_Function_float Function 532 %in_var_COLOR = OpVariable %_ptr_Input_v4float Input 533 %out_var_SV_Target0 = OpVariable [all...] |
H A D | ir_loader_test.cpp | 77 "%param = OpVariable %_ptr_Function_int Function\n" in TEST() 78 "%param_0 = OpVariable %_ptr_Function_int Function\n" in TEST() 174 "%gv1 = OpVariable %_ptr_Private_float Private\n" in TEST() 176 "%gv2 = OpVariable %_ptr_Private_float Private\n" in TEST() 181 "%lv1_0 = OpVariable %_ptr_Function_float Function\n" in TEST() 195 "%lv1 = OpVariable %_ptr_Function_float Function\n" in TEST() 196 "%lv2 = OpVariable %_ptr_Function_float Function\n" in TEST() 438 %pos = OpVariable %_ptr_Input_v4float Input in TEST() 440 %color = OpVariable %_ptr_Input_v4float Input in TEST() 442 %gl_Position = OpVariable in TEST() [all...] |
H A D | inline_test.cpp | 70 "%BaseColor = OpVariable %_ptr_Input_v4float Input", in TEST_F() 72 "%gl_FragColor = OpVariable %_ptr_Output_v4float Output", in TEST_F() 95 "%color = OpVariable %_ptr_Function_v4float Function", in TEST_F() 96 "%param = OpVariable %_ptr_Function_v4float Function", in TEST_F() 113 "%32 = OpVariable %_ptr_Function_float Function", in TEST_F() 114 "%color = OpVariable %_ptr_Function_v4float Function", in TEST_F() 115 "%param = OpVariable %_ptr_Function_v4float Function", in TEST_F() 192 "%BaseColor = OpVariable %_ptr_Input_v4float Input", in TEST_F() 194 "%gl_FragColor = OpVariable %_ptr_Output_v4float Output", in TEST_F() 212 "%param = OpVariable in TEST_F() [all...] |
/third_party/spirv-tools/source/reduce/ |
H A D | reduction_util.cpp | 29 if (inst.opcode() != spv::Op::OpVariable) { in FindOrCreateGlobalVariable() 38 context, spv::Op::OpVariable, pointer_type_id, variable_id, in FindOrCreateGlobalVariable() 65 if (iter->opcode() != spv::Op::OpVariable) { in FindOrCreateFunctionVariable() 77 context, spv::Op::OpVariable, pointer_type_id, variable_id, in FindOrCreateFunctionVariable()
|
/third_party/spirv-tools/source/opt/ |
H A D | dead_variable_elimination.cpp | 34 // Get the reference count for all of the global OpVariable instructions. in Process() 36 if (inst.opcode() != spv::Op::OpVariable) { in Process() 85 assert(inst->opcode() == spv::Op::OpVariable && in DeleteVariable() 86 "Should not be trying to delete anything other than an OpVariable."); in DeleteVariable() 97 if (initializer->opcode() == spv::Op::OpVariable) { in DeleteVariable()
|
H A D | local_single_block_elim_pass.cpp | 77 if (ptrInst->opcode() == spv::Op::OpVariable) { in LocalSingleBlockLoadStoreElim() 121 if (ptrInst->opcode() == spv::Op::OpVariable) { in LocalSingleBlockLoadStoreElim() 146 if (ptrInst->opcode() == spv::Op::OpVariable) in LocalSingleBlockLoadStoreElim()
|
H A D | mem_pass.cpp | 89 if (op == spv::Op::OpVariable || IsNonPtrAccessChain(op)) return true; in IsPtr() 106 if (ptrInst->opcode() != spv::Op::OpVariable && in GetPtr() 112 if (varInst->opcode() == spv::Op::OpVariable) { in GetPtr() 170 if (varInst->opcode() != spv::Op::OpVariable) return true; 270 if (varInst->opcode() != spv::Op::OpVariable) return false;
|
H A D | scalar_replacement_pass.cpp | 58 if (iter->opcode() != spv::Op::OpVariable) break; in ProcessFunction() 157 if (var->opcode() == spv::Op::OpVariable) { in ReplaceVariable() 181 while (insert_before->opcode() == spv::Op::OpVariable) in ReplaceWholeDebugDeclare() 238 if (var->opcode() != spv::Op::OpVariable) { in ReplaceWholeLoad() 297 if (var->opcode() != spv::Op::OpVariable) { in ReplaceWholeStore() 479 new Instruction(context(), spv::Op::OpVariable, ptr_id, id, in CreateVariable() 513 assert(source->opcode() == spv::Op::OpVariable); in GetOrCreateInitialValue() 595 assert(inst->opcode() == spv::Op::OpVariable); in GetStorageType() 605 assert(varInst->opcode() == spv::Op::OpVariable); in CanReplaceVariable() 931 assert(var_inst->opcode() == spv::Op::OpVariable in GetMaxLegalIndex() [all...] |
H A D | copy_prop_arrays.cpp | 50 var_inst->opcode() == spv::Op::OpVariable; ++var_inst) { in Process() 79 assert(var_inst->opcode() == spv::Op::OpVariable && "Expecting a variable."); in FindSourceObjectIfPossible() 135 assert(var_inst->opcode() == spv::Op::OpVariable && in PropagateObject() 208 return ptr_inst->opcode() == spv::Op::OpVariable && in HasValidReferencesOnly() 262 // If the address in the load is not constructed from an |OpVariable| 266 if (current_inst->opcode() != spv::Op::OpVariable) { 601 if (new_ptr_inst->opcode() == spv::Op::OpVariable || 607 // Based on the spec, we cannot use a pointer other than OpVariable
|
H A D | switch_descriptorset_pass.cpp | 28 if (var.opcode() != spv::Op::OpVariable) { in Process()
|
/third_party/spirv-tools/test/link/ |
H A D | global_values_amount_test.cpp | 67 binary.push_back(static_cast<uint32_t>(spv::Op::OpVariable) | 115 static_cast<uint32_t>(spv::Op::OpVariable) | 4u << spv::WordCountShift, in TEST_F() 120 static_cast<uint32_t>(spv::Op::OpVariable) | 4u << spv::WordCountShift, in TEST_F()
|
/third_party/spirv-tools/source/fuzz/ |
H A D | transformation_swap_function_variables.cpp | 46 if (instruction1->opcode() != spv::Op::OpVariable || in IsApplicable() 47 instruction2->opcode() != spv::Op::OpVariable) { in IsApplicable()
|
H A D | fuzzer_pass_outline_functions.cpp | 139 // If the entry block starts with OpPhi or OpVariable, try to split it. in MaybeGetEntryBlockSuitableForOutlining() 141 entry_block->begin()->opcode() == spv::Op::OpVariable) { in MaybeGetEntryBlockSuitableForOutlining() 142 // Find the first non-OpPhi and non-OpVariable instruction. in MaybeGetEntryBlockSuitableForOutlining() 145 non_phi_or_var_inst->opcode() == spv::Op::OpVariable) { in MaybeGetEntryBlockSuitableForOutlining()
|
H A D | added_function_reducer.cpp | 133 if (type_or_value.opcode() != spv::Op::OpVariable) { in InterestingnessFunctionForReducingAddedFunction() 205 if (type_or_value.opcode() != spv::Op::OpVariable) { in ReplayPrefixAndAddFunction()
|
/third_party/spirv-tools/test/fuzz/ |
H A D | available_instructions_test.cpp | 42 %17 = OpVariable %16 Private in TEST() 48 %23 = OpVariable %22 Private in TEST() 65 %55 = OpVariable %7 Function in TEST() 66 %56 = OpVariable %9 Function in TEST() 67 %65 = OpVariable %7 Function in TEST() 68 %68 = OpVariable %7 Function in TEST() 114 %29 = OpVariable %7 Function in TEST() 180 ASSERT_EQ(spv::Op::OpVariable, available[15]->opcode()); in TEST() 188 ASSERT_EQ(spv::Op::OpVariable, available[15]->opcode()); in TEST() 198 ASSERT_EQ(spv::Op::OpVariable, availabl in TEST() [all...] |
H A D | shrinker_test.cpp | 44 %8 = OpVariable %7 Private in TEST() 49 %11 = OpVariable %10 Function in TEST() 74 %47 = OpVariable %46 Private in TEST() 78 %49 = OpVariable %7 Function in TEST() 79 %50 = OpVariable %7 Function in TEST() 88 %16 = OpVariable %7 Function in TEST() 89 %18 = OpVariable %7 Function in TEST() 120 %37 = OpVariable %7 Function in TEST() 121 %38 = OpVariable %7 Function in TEST() 224 ASSERT_EQ(spv::Op::OpVariable, ins in TEST() [all...] |
/third_party/spirv-tools/test/reduce/ |
H A D | validation_during_reduction_test.cpp | 59 // first instruction is an OpVariable instruction. When applied, the OpVariable 70 return first_instruction->opcode() == spv::Op::OpVariable; 75 // Duplicate the first OpVariable instruction. 78 assert(first_instruction->opcode() == spv::Op::OpVariable && 79 "Expected first instruction to be OpVariable"); 108 if (first_instruction->opcode() == spv::Op::OpVariable) { 152 %18 = OpVariable %17 Uniform in TEST() 158 %27 = OpVariable %26 Uniform in TEST() 164 %60 = OpVariable in TEST() [all...] |
/third_party/spirv-tools/source/val/ |
H A D | validate_ray_tracing_reorder.cpp | 35 if (!variable || (var_opcode != spv::Op::OpVariable && in ValidateHitObjectPointer() 213 if (!variable || var_opcode != spv::Op::OpVariable || in ValidateHitObjectInstructionCommonParameters() 219 << "payload must be a OpVariable of storage " in ValidateHitObjectInstructionCommonParameters() 238 if (!variable || var_opcode != spv::Op::OpVariable || in ValidateHitObjectInstructionCommonParameters() 242 << "Hit Object Attributes id must be a OpVariable of storage " in ValidateHitObjectInstructionCommonParameters() 389 if (!variable || var_opcode != spv::Op::OpVariable || in RayReorderNVPass() 393 << "Hit Object Attributes id must be a OpVariable of storage " in RayReorderNVPass() 406 if (!variable || var_opcode != spv::Op::OpVariable || in RayReorderNVPass() 410 << "Hit Object Attributes id must be a OpVariable of storage " in RayReorderNVPass()
|
H A D | validate_ray_tracing.cpp | 112 if (payload->opcode() != spv::Op::OpVariable) { in RayTracingPass() 114 << "Payload must be the result of a OpVariable"; in RayTracingPass() 187 if (callable_data->opcode() != spv::Op::OpVariable) { in RayTracingPass() 189 << "Callable Data must be the result of a OpVariable"; in RayTracingPass()
|