Home
last modified time | relevance | path

Searched refs:OpVariable (Results 1 - 25 of 159) sorted by relevance

1234567

/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Ddebug_info_manager_test.cpp69 %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 Dir_loader_test.cpp78 "%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 Dinline_test.cpp70 "%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 Ddebug_info_manager_test.cpp69 %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 Dir_loader_test.cpp78 "%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 Dinline_test.cpp70 "%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 Ddebug_info_manager_test.cpp66 %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 Dir_loader_test.cpp77 "%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 Dinline_test.cpp70 "%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 Dreduction_util.cpp29 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 Ddead_variable_elimination.cpp34 // 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 Dlocal_single_block_elim_pass.cpp77 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 Dmem_pass.cpp89 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 Dscalar_replacement_pass.cpp58 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 Dcopy_prop_arrays.cpp50 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 Dswitch_descriptorset_pass.cpp28 if (var.opcode() != spv::Op::OpVariable) { in Process()
/third_party/spirv-tools/test/link/
H A Dglobal_values_amount_test.cpp67 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 Dtransformation_swap_function_variables.cpp46 if (instruction1->opcode() != spv::Op::OpVariable || in IsApplicable()
47 instruction2->opcode() != spv::Op::OpVariable) { in IsApplicable()
H A Dfuzzer_pass_outline_functions.cpp139 // 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 Dadded_function_reducer.cpp133 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 Davailable_instructions_test.cpp42 %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 Dshrinker_test.cpp44 %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 Dvalidation_during_reduction_test.cpp59 // 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 Dvalidate_ray_tracing_reorder.cpp35 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 Dvalidate_ray_tracing.cpp112 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()

Completed in 14 milliseconds

1234567