/third_party/spirv-tools/test/fuzz/ |
H A D | transformation_set_memory_operands_mask_test.cpp | 79 OpCopyMemory %12 %21 Aligned 16 in TEST() 80 OpCopyMemory %133 %12 Volatile in TEST() 81 OpCopyMemory %133 %12 in TEST() 84 OpCopyMemory %138 %136 None in TEST() 109 MakeInstructionDescriptor(21, spv::Op::OpCopyMemory, 3), in TEST() 147 MakeInstructionDescriptor(21, spv::Op::OpCopyMemory, 0), in TEST() 153 MakeInstructionDescriptor(21, spv::Op::OpCopyMemory, 0), in TEST() 160 MakeInstructionDescriptor(21, spv::Op::OpCopyMemory, 0), in TEST() 173 MakeInstructionDescriptor(21, spv::Op::OpCopyMemory, 1), in TEST() 179 MakeInstructionDescriptor(21, spv::Op::OpCopyMemory, in TEST() [all...] |
H A D | transformation_move_instruction_down_test.cpp | 528 OpCopyMemory %21 %22 in TEST() 532 OpCopyMemory %22 %21 in TEST() 535 OpCopyMemory %21 %22 in TEST() 538 OpCopyMemory %22 %21 in TEST() 559 OpCopyMemory %21 %21 in TEST() 560 OpCopyMemory %21 %21 in TEST() 562 OpCopyMemory %21 %22 in TEST() 563 OpCopyMemory %21 %21 in TEST() 565 OpCopyMemory %21 %21 in TEST() 566 OpCopyMemory in TEST() [all...] |
H A D | transformation_replace_copy_memory_with_load_store_test.cpp | 61 OpCopyMemory %8 %10 in TEST() 62 OpCopyMemory %16 %14 in TEST() 80 MakeInstructionDescriptor(5, spv::Op::OpCopyMemory, 0); in TEST() 82 MakeInstructionDescriptor(5, spv::Op::OpCopyMemory, 0); in TEST()
|
/third_party/spirv-tools/test/ |
H A D | text_to_binary.memory_test.cpp | 157 // OpCopyMemory 160 std::string spirv = "OpCopyMemory %1 %2\n"; in TEST_F() 162 Eq(MakeInstruction(spv::Op::OpCopyMemory, {1, 2}))); in TEST_F() 169 std::string spirv = "OpCopyMemory %1\n"; in TEST_F() 171 EXPECT_THAT(err, HasSubstr("Expected operand for OpCopyMemory instruction, " in TEST_F() 176 std::string spirv = "OpCopyMemory %1 %2 %3\n"; in TEST_F() 182 std::string spirv = "OpCopyMemory %1 %2 None\n"; in TEST_F() 184 Eq(MakeInstruction(spv::Op::OpCopyMemory, {1, 2, 0}))); in TEST_F() 191 std::string spirv = "OpCopyMemory %1 %2 Volatile\n"; in TEST_F() 193 Eq(MakeInstruction(spv::Op::OpCopyMemory, { in TEST_F() [all...] |
/third_party/spirv-tools/source/fuzz/ |
H A D | transformation_set_memory_operands_mask.cpp | 54 spv::Op::OpCopyMemory || in IsApplicable() 137 case spv::Op::OpCopyMemory: in IsMemoryAccess() 157 case spv::Op::OpCopyMemory: in GetInOperandIndexForMask()
|
H A D | transformation_replace_copy_memory_with_load_store.cpp | 44 // OpCopyMemory. in IsApplicable() 48 copy_memory_instruction->opcode() != spv::Op::OpCopyMemory) { in IsApplicable() 60 copy_memory_instruction->opcode() == spv::Op::OpCopyMemory && in Apply() 61 "The required OpCopyMemory instruction must be defined."); in Apply() 98 // First, insert the OpStore instruction before the OpCopyMemory instruction in Apply() 112 // Remove the OpCopyMemory instruction. in Apply()
|
H A D | transformation_replace_load_store_with_copy_memory.cpp | 122 // Insert the OpCopyMemory instruction before the OpStore instruction. in Apply() 124 ir_context, spv::Op::OpCopyMemory, 0, 0, in Apply() 142 case spv::Op::OpCopyMemory: in IsMemoryWritingOpCode()
|
H A D | fuzzer_pass_replace_copy_memories_with_loads_stores.cpp | 36 // Randomly decide whether to replace the OpCopyMemory. in Apply() 43 // The instruction must be OpCopyMemory. in Apply() 44 if (instruction->opcode() != spv::Op::OpCopyMemory) { in Apply() 48 // Apply the transformation replacing OpCopyMemory with OpLoad and OpStore. in Apply()
|
H A D | transformation_add_copy_memory.cpp | 53 // Check that we can insert OpCopyMemory before |instruction_descriptor|. in IsApplicable() 56 if (!fuzzerutil::CanInsertOpcodeBeforeInstruction(spv::Op::OpCopyMemory, in IsApplicable() 101 // Insert OpCopyMemory before |instruction_descriptor|. in Apply() 136 ir_context, spv::Op::OpCopyMemory, 0, 0, in Apply()
|
H A D | transformation_move_instruction_down.cpp | 350 case spv::Op::OpCopyMemory: in IsMemoryReadInstruction() 466 case spv::Op::OpCopyMemory: in GetMemoryReadTarget() 497 case spv::Op::OpCopyMemory: in IsMemoryWriteInstruction() 541 case spv::Op::OpCopyMemory: in GetMemoryWriteTarget()
|
H A D | fuzzer_pass_add_copy_memory.cpp | 38 // Check that we can insert an OpCopyMemory before this instruction. in Apply() 39 if (!fuzzerutil::CanInsertOpcodeBeforeInstruction(spv::Op::OpCopyMemory, in Apply()
|
H A D | fuzzer_pass_adjust_memory_operands_masks.cpp | 47 // From SPIR-V 1.4 onwards, OpCopyMemory and OpCopyMemorySized have a in Apply() 50 case spv::Op::OpCopyMemory: in Apply()
|
/third_party/spirv-tools/source/opt/ |
H A D | upgrade_memory_model.cpp | 82 // In SPIR-V 1.4 or later, normalize OpCopyMemory* access operands. in UpgradeInstructions() 95 if (inst->opcode() == spv::Op::OpCopyMemory || in UpgradeInstructions() 98 inst->opcode() == spv::Op::OpCopyMemory ? 2u : 3u; in UpgradeInstructions() 151 case spv::Op::OpCopyMemory: in UpgradeMemoryAndImages() 171 case spv::Op::OpCopyMemory: in UpgradeMemoryAndImages() 173 start_operand = inst->opcode() == spv::Op::OpCopyMemory ? 2u : 3u; in UpgradeMemoryAndImages() 212 start_operand = inst->opcode() == spv::Op::OpCopyMemory ? 2u : 3u; in UpgradeMemoryAndImages()
|
H A D | fix_storage_class.cpp | 98 case spv::Op::OpCopyMemory: in PropagateStorageClass() 240 case spv::Op::OpCopyMemory: in PropagateType()
|
H A D | aggressive_dead_code_elim_pass.cpp | 130 case spv::Op::OpCopyMemory: in AddStores() 415 case spv::Op::OpCopyMemory: in GetLoadedVariableFromNonFunctionCalls() 545 case spv::Op::OpCopyMemory: in InitializeWorkList()
|
H A D | eliminate_dead_io_components_pass.cpp | 155 use_opcode == spv::Op::OpCopyMemory || in FindMaxIndex()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SpirvShaderInstructions.cpp | 48 case spv::OpCopyMemory: in IsStatement()
|
/third_party/spirv-tools/source/val/ |
H A D | validate_memory.cpp | 251 case spv::Op::OpCopyMemory: in GetStorageClass() 280 // This function is only called for OpLoad, OpStore, OpCopyMemory and 292 // This function is only called for OpLoad, OpStore, OpCopyMemory, 1114 assert(inst->opcode() == spv::Op::OpCopyMemory || in ValidateCopyMemoryMemoryAccess() 1117 inst->opcode() == spv::Op::OpCopyMemory ? 2 : 3; in ValidateCopyMemoryMemoryAccess() 1195 if (inst->opcode() == spv::Op::OpCopyMemory) { in ValidateCopyMemory() 1860 case spv::Op::OpCopyMemory: in MemoryPass()
|
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.0/ |
H A D | spirv.cs | 725 OpCopyMemory = 63, enumerator
|
H A D | spirv.hpp | 720 OpCopyMemory = 63, enumerator
|
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.1/ |
H A D | spirv.cs | 737 OpCopyMemory = 63, enumerator
|
H A D | spirv.hpp | 732 OpCopyMemory = 63, enumerator
|
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.2/ |
H A D | spirv.cs | 742 OpCopyMemory = 63, enumerator
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.0/ |
H A D | spirv.cs | 725 OpCopyMemory = 63, enumerator
|
H A D | spirv.hpp | 720 OpCopyMemory = 63, enumerator
|