/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/vk-default/ |
D | spirv-assembly.txt | 1 dEQP-VK.spirv_assembly.instruction.compute.spirv_version.1_0_compute 2 dEQP-VK.spirv_assembly.instruction.compute.spirv_version.1_1_compute 3 dEQP-VK.spirv_assembly.instruction.compute.spirv_version.1_2_compute 4 dEQP-VK.spirv_assembly.instruction.compute.spirv_version.1_3_compute 5 dEQP-VK.spirv_assembly.instruction.compute.spirv_version.1_4_compute 6 dEQP-VK.spirv_assembly.instruction.compute.spirv_version.1_5_compute 7 dEQP-VK.spirv_assembly.instruction.compute.localsize.literal_localsize 8 dEQP-VK.spirv_assembly.instruction.compute.localsize.literal_and_specid_localsize 9 dEQP-VK.spirv_assembly.instruction.compute.localsize.specid_localsize 10 dEQP-VK.spirv_assembly.instruction.compute.localsize.literal_localsize_x [all …]
|
/third_party/pcre2/pcre2/src/ |
D | pcre2_jit_simd_inc.h | 104 sljit_u8 instruction[5]; in load_from_mem_sse2() local 110 instruction[0] = ((sljit_u8)offset & 0xf) == 0 ? 0x66 : 0xf3; in load_from_mem_sse2() 111 instruction[1] = 0x0f; in load_from_mem_sse2() 112 instruction[2] = 0x6f; in load_from_mem_sse2() 116 instruction[3] = (dst_xmm_reg << 3) | src_general_reg; in load_from_mem_sse2() 117 sljit_emit_op_custom(compiler, instruction, 4); in load_from_mem_sse2() 121 instruction[3] = 0x40 | (dst_xmm_reg << 3) | src_general_reg; in load_from_mem_sse2() 122 instruction[4] = (sljit_u8)offset; in load_from_mem_sse2() 123 sljit_emit_op_custom(compiler, instruction, 5); in load_from_mem_sse2() 129 sljit_u8 instruction[4]; in fast_forward_char_pair_sse2_compare() local [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_make_vector_operation_dynamic.cpp | 38 auto instruction = in IsApplicable() local 40 if (!IsVectorOperation(ir_context, instruction)) { in IsApplicable() 59 auto instruction = in Apply() local 65 if (instruction->opcode() == SpvOpCompositeInsert) { in Apply() 66 std::swap(instruction->GetInOperand(0), instruction->GetInOperand(1)); in Apply() 70 instruction->SetInOperand( in Apply() 71 instruction->opcode() == SpvOpCompositeExtract ? 1 : 2, in Apply() 75 instruction->SetOpcode(instruction->opcode() == SpvOpCompositeExtract in Apply() 88 opt::IRContext* ir_context, opt::Instruction* instruction) { in IsVectorOperation() argument 91 if (!instruction || (instruction->opcode() != SpvOpCompositeExtract && in IsVectorOperation() [all …]
|
D | transformation_set_memory_operands_mask.cpp | 60 auto instruction = in IsApplicable() local 62 if (!instruction) { in IsApplicable() 65 if (!IsMemoryAccess(*instruction)) { in IsApplicable() 70 *instruction, message_.memory_operands_mask_index()); in IsApplicable() 74 original_mask_in_operand_index < instruction->NumInOperands() in IsApplicable() 75 ? instruction->GetSingleWordInOperand(original_mask_in_operand_index) in IsApplicable() 98 auto instruction = in Apply() local 101 *instruction, message_.memory_operands_mask_index()); in Apply() 104 if (original_mask_in_operand_index >= instruction->NumInOperands()) { in Apply() 107 GetInOperandIndexForMask(*instruction, 0) >= in Apply() [all …]
|
D | fuzzer_pass_replace_opselects_with_conditional_branches.cpp | 53 for (auto& instruction : block) { in Apply() local 55 if (instruction.opcode() != SpvOpSelect) { in Apply() 71 GetIRContext(), instruction.GetSingleWordInOperand(0))) in Apply() 80 if (block.IsLoopHeader() && InstructionNeedsSplitBefore(&instruction)) { in Apply() 89 &block, &instruction)) { in Apply() 94 replaceable_opselect_instruction_ids.push_back(instruction.result_id()); in Apply() 102 auto instruction = in Apply() local 107 if (InstructionNeedsSplitBefore(instruction)) { in Apply() 109 MakeInstructionDescriptor(GetIRContext(), instruction), in Apply() 138 InstructionNeedsSplitBefore(opt::Instruction* instruction) { in InstructionNeedsSplitBefore() argument [all …]
|
D | transformation_expand_vector_reduction.cpp | 38 auto* instruction = in IsApplicable() local 42 if (!instruction) { in IsApplicable() 47 if (instruction->opcode() != SpvOpAny && instruction->opcode() != SpvOpAll) { in IsApplicable() 54 GetRequiredFreshIdCount(ir_context, instruction)) { in IsApplicable() 78 auto* instruction = in Apply() local 81 instruction->GetSingleWordInOperand(0)); in Apply() 96 ir_context, SpvOpCompositeExtract, instruction->type_id(), *fresh_id++, in Apply() 99 instruction->InsertBefore(MakeUnique<opt::Instruction>(vector_component)); in Apply() 107 instruction->opcode() == SpvOpAny ? SpvOpLogicalOr : SpvOpLogicalAnd, in Apply() 108 instruction->type_id(), *fresh_id++, in Apply() [all …]
|
D | transformation_wrap_vector_synonym.cpp | 46 const opt::Instruction* instruction = in IsApplicable() local 50 if (instruction == nullptr) { in IsApplicable() 54 if (!IsInstructionSupported(ir_context, *instruction)) { in IsApplicable() 61 *instruction)) { in IsApplicable() 78 if (!fuzzerutil::TypesAreCompatible(ir_context, instruction->opcode(), in IsApplicable() 94 if (!fuzzerutil::MaybeGetVectorType(ir_context, instruction->type_id(), in IsApplicable() 111 MakeDataDescriptor(instruction->GetSingleWordInOperand(0), {}))) { in IsApplicable() 118 MakeDataDescriptor(instruction->GetSingleWordInOperand(1), {}))) { in IsApplicable() 129 auto instruction = in Apply() local 131 auto destination_block = ir_context->get_instr_block(instruction); in Apply() [all …]
|
D | transformation_flatten_conditional_branch.cpp | 143 for (auto instruction : instructions_that_need_ids) { in IsApplicable() local 144 if (insts_to_wrapper_info.count(instruction) == 0 && in IsApplicable() 290 [&problematic_instructions](opt::Instruction* instruction) { in Apply() argument 291 if (instruction->opcode() != SpvOpLabel && in Apply() 292 instruction->opcode() != SpvOpBranch && in Apply() 293 !fuzzerutil::InstructionHasNoSideEffects(*instruction)) { in Apply() 294 problematic_instructions.push_back(instruction); in Apply() 303 for (auto instruction : problematic_instructions) { in Apply() local 308 if (insts_to_info.count(instruction) != 0) { in Apply() 310 wrapper_info = insts_to_info[instruction]; in Apply() [all …]
|
D | fuzzer_pass_replace_copy_objects_with_stores_loads.cpp | 35 GetIRContext()->module()->ForEachInst([this](opt::Instruction* instruction) { in Apply() argument 43 if (instruction->opcode() != SpvOpCopyObject) { in Apply() 50 ->GetDef(instruction->type_id()) in Apply() 57 instruction) || in Apply() 58 !fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpLoad, instruction)) { in Apply() 71 instruction->type_id())) { in Apply() 75 FindOrCreateZeroConstant(instruction->type_id(), false); in Apply() 78 FindOrCreatePointerType(instruction->type_id(), variable_storage_class); in Apply() 81 instruction->result_id(), GetFuzzerContext()->GetFreshId(), in Apply()
|
D | fuzzer_pass_replace_loads_stores_with_copy_memories.cpp | 51 for (auto& instruction : block) { in Apply() local 53 if (instruction.opcode() == SpvOpLoad) { in Apply() 54 current_op_loads[instruction.result_id()] = &instruction; in Apply() 55 } else if (instruction.opcode() == SpvOpStore) { in Apply() 56 if (current_op_loads.find(instruction.GetSingleWordOperand(1)) != in Apply() 61 current_op_loads[instruction.GetSingleWordOperand(1)], in Apply() 62 &instruction)); in Apply() 66 instruction.opcode())) { in Apply() 69 IsMemoryBarrierOpCode(instruction.opcode())) { in Apply()
|
D | transformation_replace_linear_algebra_instruction.h | 52 opt::Instruction* instruction); 59 opt::Instruction* instruction) const; 63 opt::Instruction* instruction) const; 67 opt::Instruction* instruction) const; 71 opt::Instruction* instruction) const; 75 opt::Instruction* instruction) const; 79 opt::Instruction* instruction) const; 83 opt::Instruction* instruction) const; 87 opt::Instruction* instruction) const;
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | transformation_make_vector_operation_dynamic.cpp | 38 auto instruction = in IsApplicable() local 40 if (!IsVectorOperation(ir_context, instruction)) { in IsApplicable() 59 auto instruction = in Apply() local 65 if (instruction->opcode() == SpvOpCompositeInsert) { in Apply() 66 std::swap(instruction->GetInOperand(0), instruction->GetInOperand(1)); in Apply() 70 instruction->SetInOperand( in Apply() 71 instruction->opcode() == SpvOpCompositeExtract ? 1 : 2, in Apply() 75 instruction->SetOpcode(instruction->opcode() == SpvOpCompositeExtract in Apply() 88 opt::IRContext* ir_context, opt::Instruction* instruction) { in IsVectorOperation() argument 91 if (!instruction || (instruction->opcode() != SpvOpCompositeExtract && in IsVectorOperation() [all …]
|
D | transformation_set_memory_operands_mask.cpp | 60 auto instruction = in IsApplicable() local 62 if (!instruction) { in IsApplicable() 65 if (!IsMemoryAccess(*instruction)) { in IsApplicable() 70 *instruction, message_.memory_operands_mask_index()); in IsApplicable() 74 original_mask_in_operand_index < instruction->NumInOperands() in IsApplicable() 75 ? instruction->GetSingleWordInOperand(original_mask_in_operand_index) in IsApplicable() 98 auto instruction = in Apply() local 101 *instruction, message_.memory_operands_mask_index()); in Apply() 104 if (original_mask_in_operand_index >= instruction->NumInOperands()) { in Apply() 107 GetInOperandIndexForMask(*instruction, 0) >= in Apply() [all …]
|
D | fuzzer_pass_replace_opselects_with_conditional_branches.cpp | 53 for (auto& instruction : block) { in Apply() local 55 if (instruction.opcode() != SpvOpSelect) { in Apply() 71 GetIRContext(), instruction.GetSingleWordInOperand(0))) in Apply() 80 if (block.IsLoopHeader() && InstructionNeedsSplitBefore(&instruction)) { in Apply() 89 &block, &instruction)) { in Apply() 94 replaceable_opselect_instruction_ids.push_back(instruction.result_id()); in Apply() 102 auto instruction = in Apply() local 107 if (InstructionNeedsSplitBefore(instruction)) { in Apply() 109 MakeInstructionDescriptor(GetIRContext(), instruction), in Apply() 138 InstructionNeedsSplitBefore(opt::Instruction* instruction) { in InstructionNeedsSplitBefore() argument [all …]
|
D | transformation_expand_vector_reduction.cpp | 38 auto* instruction = in IsApplicable() local 42 if (!instruction) { in IsApplicable() 47 if (instruction->opcode() != SpvOpAny && instruction->opcode() != SpvOpAll) { in IsApplicable() 54 GetRequiredFreshIdCount(ir_context, instruction)) { in IsApplicable() 78 auto* instruction = in Apply() local 81 instruction->GetSingleWordInOperand(0)); in Apply() 96 ir_context, SpvOpCompositeExtract, instruction->type_id(), *fresh_id++, in Apply() 99 instruction->InsertBefore(MakeUnique<opt::Instruction>(vector_component)); in Apply() 107 instruction->opcode() == SpvOpAny ? SpvOpLogicalOr : SpvOpLogicalAnd, in Apply() 108 instruction->type_id(), *fresh_id++, in Apply() [all …]
|
D | transformation_wrap_vector_synonym.cpp | 46 const opt::Instruction* instruction = in IsApplicable() local 50 if (instruction == nullptr) { in IsApplicable() 54 if (!IsInstructionSupported(ir_context, *instruction)) { in IsApplicable() 61 *instruction)) { in IsApplicable() 78 if (!fuzzerutil::TypesAreCompatible(ir_context, instruction->opcode(), in IsApplicable() 94 if (!fuzzerutil::MaybeGetVectorType(ir_context, instruction->type_id(), in IsApplicable() 111 MakeDataDescriptor(instruction->GetSingleWordInOperand(0), {}))) { in IsApplicable() 118 MakeDataDescriptor(instruction->GetSingleWordInOperand(1), {}))) { in IsApplicable() 129 auto instruction = in Apply() local 131 auto destination_block = ir_context->get_instr_block(instruction); in Apply() [all …]
|
D | transformation_flatten_conditional_branch.cpp | 143 for (auto instruction : instructions_that_need_ids) { in IsApplicable() local 144 if (insts_to_wrapper_info.count(instruction) == 0 && in IsApplicable() 290 [&problematic_instructions](opt::Instruction* instruction) { in Apply() argument 291 if (instruction->opcode() != SpvOpLabel && in Apply() 292 instruction->opcode() != SpvOpBranch && in Apply() 293 !fuzzerutil::InstructionHasNoSideEffects(*instruction)) { in Apply() 294 problematic_instructions.push_back(instruction); in Apply() 303 for (auto instruction : problematic_instructions) { in Apply() local 308 if (insts_to_info.count(instruction) != 0) { in Apply() 310 wrapper_info = insts_to_info[instruction]; in Apply() [all …]
|
D | fuzzer_pass_replace_copy_objects_with_stores_loads.cpp | 35 GetIRContext()->module()->ForEachInst([this](opt::Instruction* instruction) { in Apply() argument 43 if (instruction->opcode() != SpvOpCopyObject) { in Apply() 50 ->GetDef(instruction->type_id()) in Apply() 57 instruction) || in Apply() 58 !fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpLoad, instruction)) { in Apply() 71 instruction->type_id())) { in Apply() 75 FindOrCreateZeroConstant(instruction->type_id(), false); in Apply() 78 FindOrCreatePointerType(instruction->type_id(), variable_storage_class); in Apply() 81 instruction->result_id(), GetFuzzerContext()->GetFreshId(), in Apply()
|
D | fuzzer_pass_replace_loads_stores_with_copy_memories.cpp | 51 for (auto& instruction : block) { in Apply() local 53 if (instruction.opcode() == SpvOpLoad) { in Apply() 54 current_op_loads[instruction.result_id()] = &instruction; in Apply() 55 } else if (instruction.opcode() == SpvOpStore) { in Apply() 56 if (current_op_loads.find(instruction.GetSingleWordOperand(1)) != in Apply() 61 current_op_loads[instruction.GetSingleWordOperand(1)], in Apply() 62 &instruction)); in Apply() 66 instruction.opcode())) { in Apply() 69 IsMemoryBarrierOpCode(instruction.opcode())) { in Apply()
|
D | transformation_replace_linear_algebra_instruction.h | 52 opt::Instruction* instruction); 59 opt::Instruction* instruction) const; 63 opt::Instruction* instruction) const; 67 opt::Instruction* instruction) const; 71 opt::Instruction* instruction) const; 75 opt::Instruction* instruction) const; 79 opt::Instruction* instruction) const; 83 opt::Instruction* instruction) const; 87 opt::Instruction* instruction) const;
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
D | Optimizer.cpp | 44 void replace(Ice::Inst *instruction, Ice::Operand *newValue); 45 void deleteInstruction(Ice::Inst *instruction); 46 bool isDead(Ice::Inst *instruction); 50 static const Ice::InstIntrinsic *asLoadSubVector(const Ice::Inst *instruction); 51 static const Ice::InstIntrinsic *asStoreSubVector(const Ice::Inst *instruction); 52 static bool isLoad(const Ice::Inst &instruction); 53 static bool isStore(const Ice::Inst &instruction); 65 void insert(Ice::Operand *value, Ice::Inst *instruction); 66 void erase(Ice::Inst *instruction); 474 for(Ice::Inst &instruction : basicBlock->getInsts()) in analyzeUses() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
D | validate.cpp | 91 auto* instruction = _.AddOrderedInstruction(inst); in ProcessInstruction() local 92 _.RegisterDebugInstruction(instruction); in ProcessInstruction() 213 for (auto& instruction : vstate->ordered_instructions()) { in ValidateBinaryUsingContextAndValidationState() local 217 Instruction* inst = const_cast<Instruction*>(&instruction); in ValidateBinaryUsingContextAndValidationState() 256 return vstate->diag(SPV_ERROR_INVALID_LAYOUT, &instruction) in ValidateBinaryUsingContextAndValidationState() 276 if (auto error = CapabilityPass(*vstate, &instruction)) return error; in ValidateBinaryUsingContextAndValidationState() 277 if (auto error = ModuleLayoutPass(*vstate, &instruction)) return error; in ValidateBinaryUsingContextAndValidationState() 278 if (auto error = CfgPass(*vstate, &instruction)) return error; in ValidateBinaryUsingContextAndValidationState() 279 if (auto error = InstructionPass(*vstate, &instruction)) return error; in ValidateBinaryUsingContextAndValidationState() 283 Instruction* inst = const_cast<Instruction*>(&instruction); in ValidateBinaryUsingContextAndValidationState() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate.cpp | 91 auto* instruction = _.AddOrderedInstruction(inst); in ProcessInstruction() local 92 _.RegisterDebugInstruction(instruction); in ProcessInstruction() 213 for (auto& instruction : vstate->ordered_instructions()) { in ValidateBinaryUsingContextAndValidationState() local 217 Instruction* inst = const_cast<Instruction*>(&instruction); in ValidateBinaryUsingContextAndValidationState() 256 return vstate->diag(SPV_ERROR_INVALID_LAYOUT, &instruction) in ValidateBinaryUsingContextAndValidationState() 276 if (auto error = CapabilityPass(*vstate, &instruction)) return error; in ValidateBinaryUsingContextAndValidationState() 277 if (auto error = ModuleLayoutPass(*vstate, &instruction)) return error; in ValidateBinaryUsingContextAndValidationState() 278 if (auto error = CfgPass(*vstate, &instruction)) return error; in ValidateBinaryUsingContextAndValidationState() 279 if (auto error = InstructionPass(*vstate, &instruction)) return error; in ValidateBinaryUsingContextAndValidationState() 283 Instruction* inst = const_cast<Instruction*>(&instruction); in ValidateBinaryUsingContextAndValidationState() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
D | Shader.cpp | 1143 for(auto &inst : instruction) in ~Shader() 1169 instruction.resize(length); in parse() 1182 instruction[i] = new Instruction(token, tokenCount, majorVersion); in parse() 1437 return instruction.size(); in getLength() 1461 for(const auto &inst : instruction) in print() 1471 file << instruction[index]->string(shaderType, shaderModel) << std::endl; in printInstruction() 1474 void Shader::append(Instruction *instruction) in append() argument 1476 this->instruction.push_back(instruction); in append() 1489 ASSERT(i < instruction.size()); in getInstruction() 1491 return instruction[i]; in getInstruction() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | TargetOpcodes.def | 9 // This file defines the target independent instruction opcodes. 27 /// Every instruction defined here must also appear in Target.td. 37 /// KILL - This instruction is a noop that is used only to adjust the 42 /// EXTRACT_SUBREG - This instruction takes two operands: a register 48 /// INSERT_SUBREG - This instruction takes three operands: a register that 60 /// The result of this instruction is the value of the second operand inserted 63 /// first operand. This instruction just communicates information; No code 65 /// This is typically used after an instruction where the write to a subregister 69 /// COPY_TO_REGCLASS - This instruction is a placeholder for a plain 71 /// used between instruction selection and MachineInstr creation, before [all …]
|