/third_party/mesa3d/src/compiler/glsl/ |
D | lower_instructions.cpp | 325 this->base_ir->insert_before(x); in mod_to_floor() 326 this->base_ir->insert_before(y); in mod_to_floor() 335 this->base_ir->insert_before(assign_x); in mod_to_floor() 336 this->base_ir->insert_before(assign_y); in mod_to_floor() 454 i.insert_before(x); in ldexp_to_arith() 455 i.insert_before(assign(x, ir->operands[0])); in ldexp_to_arith() 456 i.insert_before(exp); in ldexp_to_arith() 457 i.insert_before(assign(exp, ir->operands[1])); in ldexp_to_arith() 460 i.insert_before(extracted_biased_exp); in ldexp_to_arith() 461 i.insert_before(assign(extracted_biased_exp, in ldexp_to_arith() [all …]
|
D | lower_mat_op_to_vec.cpp | 152 base_ir->insert_before(assign); in do_mul_mat_mat() 182 base_ir->insert_before(assign); in do_mul_mat_vec() 206 base_ir->insert_before(column_assign); in do_mul_vec_mat() 227 base_ir->insert_before(column_assign); in do_mul_mat_scalar() 262 this->base_ir->insert_before(tmp_bvec); in do_equal_mat_mat() 276 this->base_ir->insert_before(assign); in do_equal_mat_mat() 291 base_ir->insert_before(assign); in do_equal_mat_mat() 349 base_ir->insert_before(var); in visit_leave() 356 base_ir->insert_before(assign); in visit_leave() 378 base_ir->insert_before(column_assign); in visit_leave() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_store.cpp | 70 auto insert_before = in IsApplicable() local 73 if (!insert_before) { in IsApplicable() 78 SpvOpStore, insert_before)) { in IsApplicable() 82 SpvOpAtomicStore, insert_before)) { in IsApplicable() 90 ir_context->get_instr_block(insert_before)->id()) && in IsApplicable() 108 if (!fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable() 137 ir_context, insert_before, message_.memory_scope_id())) { in IsApplicable() 141 ir_context, insert_before, message_.memory_semantics_id())) { in IsApplicable() 195 return fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable() 203 auto insert_before = in Apply() local [all …]
|
D | transformation_load.cpp | 70 auto insert_before = in IsApplicable() local 73 if (!insert_before) { in IsApplicable() 78 !fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpLoad, insert_before)) { in IsApplicable() 83 SpvOpAtomicLoad, insert_before)) { in IsApplicable() 111 ir_context, insert_before, message_.memory_scope_id())) { in IsApplicable() 115 ir_context, insert_before, message_.memory_semantics_id())) { in IsApplicable() 169 return fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable() 180 auto insert_before = in Apply() local 190 insert_before->InsertBefore(std::move(new_instruction)); in Apply() 195 ir_context->get_instr_block(insert_before)); in Apply() [all …]
|
D | transformation_function_call.cpp | 76 auto insert_before = in IsApplicable() local 78 if (!insert_before) { in IsApplicable() 82 insert_before)) { in IsApplicable() 86 auto block = ir_context->get_instr_block(insert_before); in IsApplicable() 141 if (!fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable()
|
D | transformation_equation_instruction.cpp | 48 auto insert_before = in IsApplicable() local 50 if (!insert_before) { in IsApplicable() 66 if (!fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable() 87 auto insert_before = in Apply() local 90 insert_before->InsertBefore(MakeUnique<opt::Instruction>( in Apply() 97 ir_context->get_instr_block(insert_before)); in Apply()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | transformation_store.cpp | 70 auto insert_before = in IsApplicable() local 73 if (!insert_before) { in IsApplicable() 78 SpvOpStore, insert_before)) { in IsApplicable() 82 SpvOpAtomicStore, insert_before)) { in IsApplicable() 90 ir_context->get_instr_block(insert_before)->id()) && in IsApplicable() 108 if (!fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable() 137 ir_context, insert_before, message_.memory_scope_id())) { in IsApplicable() 141 ir_context, insert_before, message_.memory_semantics_id())) { in IsApplicable() 195 return fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable() 203 auto insert_before = in Apply() local [all …]
|
D | transformation_load.cpp | 70 auto insert_before = in IsApplicable() local 73 if (!insert_before) { in IsApplicable() 78 !fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpLoad, insert_before)) { in IsApplicable() 83 SpvOpAtomicLoad, insert_before)) { in IsApplicable() 111 ir_context, insert_before, message_.memory_scope_id())) { in IsApplicable() 115 ir_context, insert_before, message_.memory_semantics_id())) { in IsApplicable() 169 return fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable() 180 auto insert_before = in Apply() local 190 insert_before->InsertBefore(std::move(new_instruction)); in Apply() 195 ir_context->get_instr_block(insert_before)); in Apply() [all …]
|
D | transformation_function_call.cpp | 76 auto insert_before = in IsApplicable() local 78 if (!insert_before) { in IsApplicable() 82 insert_before)) { in IsApplicable() 86 auto block = ir_context->get_instr_block(insert_before); in IsApplicable() 141 if (!fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable()
|
/third_party/spirv-tools/test/fuzz/ |
D | transformation_mutate_pointer_test.cpp | 89 const auto insert_before = MakeInstructionDescriptor(26, SpvOpReturn, 0); in TEST() local 92 ASSERT_FALSE(TransformationMutatePointer(20, 20, insert_before) in TEST() 106 ASSERT_FALSE(TransformationMutatePointer(70, 70, insert_before) in TEST() 110 ASSERT_FALSE(TransformationMutatePointer(11, 70, insert_before) in TEST() 114 ASSERT_FALSE(TransformationMutatePointer(32, 70, insert_before) in TEST() 118 ASSERT_FALSE(TransformationMutatePointer(33, 70, insert_before) in TEST() 122 ASSERT_FALSE(TransformationMutatePointer(8, 70, insert_before) in TEST() 126 ASSERT_FALSE(TransformationMutatePointer(24, 70, insert_before) in TEST() 130 ASSERT_FALSE(TransformationMutatePointer(22, 70, insert_before) in TEST() 134 ASSERT_FALSE(TransformationMutatePointer(20, 70, insert_before) in TEST() [all …]
|
D | transformation_add_synonym_test.cpp | 80 auto insert_before = MakeInstructionDescriptor(22, SpvOpReturn, 0); in TEST() local 86 40, insert_before) in TEST() 105 ASSERT_FALSE(TransformationAddSynonym(9, synonym_type, 9, insert_before) in TEST() 109 ASSERT_FALSE(TransformationAddSynonym(40, synonym_type, 40, insert_before) in TEST() 113 ASSERT_FALSE(TransformationAddSynonym(5, synonym_type, 40, insert_before) in TEST() 117 ASSERT_FALSE(TransformationAddSynonym(25, synonym_type, 40, insert_before) in TEST() 121 ASSERT_FALSE(TransformationAddSynonym(26, synonym_type, 40, insert_before) in TEST() 125 ASSERT_FALSE(TransformationAddSynonym(24, synonym_type, 40, insert_before) in TEST() 214 auto insert_before = MakeInstructionDescriptor(5, SpvOpReturn, 0); in TEST() local 226 TransformationAddSynonym(38, synonym_type, fresh_id, insert_before) in TEST() [all …]
|
D | transformation_equation_instruction_test.cpp | 562 auto insert_before = MakeInstructionDescriptor(13, SpvOpReturn, 0); in TEST() local 566 insert_before) in TEST() 571 TransformationEquationInstruction(50, SpvOpBitcast, {}, insert_before) in TEST() 576 TransformationEquationInstruction(50, SpvOpBitcast, {50}, insert_before) in TEST() 581 TransformationEquationInstruction(50, SpvOpBitcast, {13}, insert_before) in TEST() 587 TransformationEquationInstruction(50, SpvOpBitcast, {23}, insert_before) in TEST() 591 TransformationEquationInstruction(50, SpvOpBitcast, {24}, insert_before) in TEST() 596 TransformationEquationInstruction(50, SpvOpBitcast, {23}, insert_before) in TEST() 599 TransformationEquationInstruction(50, SpvOpBitcast, {24}, insert_before) in TEST() 606 fresh_id, SpvOpBitcast, {operand_id}, insert_before); in TEST() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/ |
D | transformation_mutate_pointer_test.cpp | 89 const auto insert_before = MakeInstructionDescriptor(26, SpvOpReturn, 0); in TEST() local 92 ASSERT_FALSE(TransformationMutatePointer(20, 20, insert_before) in TEST() 106 ASSERT_FALSE(TransformationMutatePointer(70, 70, insert_before) in TEST() 110 ASSERT_FALSE(TransformationMutatePointer(11, 70, insert_before) in TEST() 114 ASSERT_FALSE(TransformationMutatePointer(33, 70, insert_before) in TEST() 118 ASSERT_FALSE(TransformationMutatePointer(8, 70, insert_before) in TEST() 122 ASSERT_FALSE(TransformationMutatePointer(24, 70, insert_before) in TEST() 126 ASSERT_FALSE(TransformationMutatePointer(22, 70, insert_before) in TEST() 130 ASSERT_FALSE(TransformationMutatePointer(20, 70, insert_before) in TEST() 151 insert_before); in TEST() [all …]
|
D | transformation_add_synonym_test.cpp | 80 auto insert_before = MakeInstructionDescriptor(22, SpvOpReturn, 0); in TEST() local 86 40, insert_before) in TEST() 105 ASSERT_FALSE(TransformationAddSynonym(9, synonym_type, 9, insert_before) in TEST() 109 ASSERT_FALSE(TransformationAddSynonym(40, synonym_type, 40, insert_before) in TEST() 113 ASSERT_FALSE(TransformationAddSynonym(5, synonym_type, 40, insert_before) in TEST() 117 ASSERT_FALSE(TransformationAddSynonym(25, synonym_type, 40, insert_before) in TEST() 121 ASSERT_FALSE(TransformationAddSynonym(26, synonym_type, 40, insert_before) in TEST() 125 ASSERT_FALSE(TransformationAddSynonym(24, synonym_type, 40, insert_before) in TEST() 215 auto insert_before = MakeInstructionDescriptor(5, SpvOpReturn, 0); in TEST() local 227 TransformationAddSynonym(38, synonym_type, fresh_id, insert_before) in TEST() [all …]
|
D | transformation_equation_instruction_test.cpp | 562 auto insert_before = MakeInstructionDescriptor(13, SpvOpReturn, 0); in TEST() local 566 insert_before) in TEST() 571 TransformationEquationInstruction(50, SpvOpBitcast, {}, insert_before) in TEST() 576 TransformationEquationInstruction(50, SpvOpBitcast, {50}, insert_before) in TEST() 581 TransformationEquationInstruction(50, SpvOpBitcast, {13}, insert_before) in TEST() 587 TransformationEquationInstruction(50, SpvOpBitcast, {23}, insert_before) in TEST() 591 TransformationEquationInstruction(50, SpvOpBitcast, {24}, insert_before) in TEST() 596 TransformationEquationInstruction(50, SpvOpBitcast, {23}, insert_before) in TEST() 599 TransformationEquationInstruction(50, SpvOpBitcast, {24}, insert_before) in TEST() 606 fresh_id, SpvOpBitcast, {operand_id}, insert_before); in TEST() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
D | transformation_mutate_pointer_test.cpp | 89 const auto insert_before = MakeInstructionDescriptor(26, SpvOpReturn, 0); in TEST() local 92 ASSERT_FALSE(TransformationMutatePointer(20, 20, insert_before) in TEST() 106 ASSERT_FALSE(TransformationMutatePointer(70, 70, insert_before) in TEST() 110 ASSERT_FALSE(TransformationMutatePointer(11, 70, insert_before) in TEST() 114 ASSERT_FALSE(TransformationMutatePointer(33, 70, insert_before) in TEST() 118 ASSERT_FALSE(TransformationMutatePointer(8, 70, insert_before) in TEST() 122 ASSERT_FALSE(TransformationMutatePointer(24, 70, insert_before) in TEST() 126 ASSERT_FALSE(TransformationMutatePointer(22, 70, insert_before) in TEST() 130 ASSERT_FALSE(TransformationMutatePointer(20, 70, insert_before) in TEST() 151 insert_before); in TEST() [all …]
|
D | transformation_add_synonym_test.cpp | 80 auto insert_before = MakeInstructionDescriptor(22, SpvOpReturn, 0); in TEST() local 86 40, insert_before) in TEST() 105 ASSERT_FALSE(TransformationAddSynonym(9, synonym_type, 9, insert_before) in TEST() 109 ASSERT_FALSE(TransformationAddSynonym(40, synonym_type, 40, insert_before) in TEST() 113 ASSERT_FALSE(TransformationAddSynonym(5, synonym_type, 40, insert_before) in TEST() 117 ASSERT_FALSE(TransformationAddSynonym(25, synonym_type, 40, insert_before) in TEST() 121 ASSERT_FALSE(TransformationAddSynonym(26, synonym_type, 40, insert_before) in TEST() 125 ASSERT_FALSE(TransformationAddSynonym(24, synonym_type, 40, insert_before) in TEST() 215 auto insert_before = MakeInstructionDescriptor(5, SpvOpReturn, 0); in TEST() local 227 TransformationAddSynonym(38, synonym_type, fresh_id, insert_before) in TEST() [all …]
|
D | transformation_equation_instruction_test.cpp | 562 auto insert_before = MakeInstructionDescriptor(13, SpvOpReturn, 0); in TEST() local 566 insert_before) in TEST() 571 TransformationEquationInstruction(50, SpvOpBitcast, {}, insert_before) in TEST() 576 TransformationEquationInstruction(50, SpvOpBitcast, {50}, insert_before) in TEST() 581 TransformationEquationInstruction(50, SpvOpBitcast, {13}, insert_before) in TEST() 587 TransformationEquationInstruction(50, SpvOpBitcast, {23}, insert_before) in TEST() 591 TransformationEquationInstruction(50, SpvOpBitcast, {24}, insert_before) in TEST() 596 TransformationEquationInstruction(50, SpvOpBitcast, {23}, insert_before) in TEST() 599 TransformationEquationInstruction(50, SpvOpBitcast, {24}, insert_before) in TEST() 606 fresh_id, SpvOpBitcast, {operand_id}, insert_before); in TEST() [all …]
|
/third_party/spirv-tools/source/fuzz/ |
D | transformation_store.cpp | 66 auto insert_before = in IsApplicable() local 69 if (!insert_before) { in IsApplicable() 74 insert_before)) { in IsApplicable() 82 ir_context->get_instr_block(insert_before)->id()) && in IsApplicable() 100 if (!fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable() 106 return fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable() 112 auto insert_before = in Apply() local 120 insert_before->InsertBefore(std::move(new_instruction)); in Apply() 125 ir_context->get_instr_block(insert_before)); in Apply()
|
D | transformation_load.cpp | 65 auto insert_before = in IsApplicable() local 68 if (!insert_before) { in IsApplicable() 72 if (!fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpLoad, insert_before)) { in IsApplicable() 77 return fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable() 86 auto insert_before = in Apply() local 93 insert_before->InsertBefore(std::move(new_instruction)); in Apply() 98 ir_context->get_instr_block(insert_before)); in Apply()
|
D | transformation_function_call.cpp | 76 auto insert_before = in IsApplicable() local 78 if (!insert_before) { in IsApplicable() 82 insert_before)) { in IsApplicable() 86 auto block = ir_context->get_instr_block(insert_before); in IsApplicable() 141 if (!fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable()
|
D | transformation_add_synonym.cpp | 33 const protobufs::InstructionDescriptor& insert_before) { in TransformationAddSynonym() argument 37 *message_.mutable_insert_before() = insert_before; in TransformationAddSynonym() 66 FindInstruction(message_.insert_before(), ir_context); in IsApplicable() 108 auto insert_before = FindInstruction(message_.insert_before(), ir_context); in Apply() local 109 insert_before->InsertBefore(std::move(new_instruction)); in Apply() 117 ir_context->get_instr_block(insert_before)); in Apply()
|
D | transformation_equation_instruction.cpp | 48 auto insert_before = in IsApplicable() local 50 if (!insert_before) { in IsApplicable() 66 if (!fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable() 87 auto insert_before = in Apply() local 90 insert_before->InsertBefore(MakeUnique<opt::Instruction>( in Apply() 97 ir_context->get_instr_block(insert_before)); in Apply()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | debug_info_manager.cpp | 435 Instruction* insert_before) { in CloneDebugInlinedAt() argument 443 if (insert_before != nullptr) in CloneDebugInlinedAt() 444 return insert_before->InsertBefore(std::move(new_inlined_at)); in CloneDebugInlinedAt() 567 Instruction* insert_before = insert_pos->NextNode(); in AddDebugValueIfVarDeclIsVisible() local 568 while (insert_before->opcode() == SpvOpPhi || in AddDebugValueIfVarDeclIsVisible() 569 insert_before->opcode() == SpvOpVariable) { in AddDebugValueIfVarDeclIsVisible() 570 insert_before = insert_before->NextNode(); in AddDebugValueIfVarDeclIsVisible() 572 modified |= AddDebugValueForDecl(dbg_decl_or_val, value_id, insert_before, in AddDebugValueIfVarDeclIsVisible() 579 Instruction* dbg_decl, uint32_t value_id, Instruction* insert_before, in AddDebugValueForDecl() argument 591 auto* added_dbg_val = insert_before->InsertBefore(std::move(dbg_val)); in AddDebugValueForDecl() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | debug_info_manager.cpp | 435 Instruction* insert_before) { in CloneDebugInlinedAt() argument 443 if (insert_before != nullptr) in CloneDebugInlinedAt() 444 return insert_before->InsertBefore(std::move(new_inlined_at)); in CloneDebugInlinedAt() 567 Instruction* insert_before = insert_pos->NextNode(); in AddDebugValueIfVarDeclIsVisible() local 568 while (insert_before->opcode() == SpvOpPhi || in AddDebugValueIfVarDeclIsVisible() 569 insert_before->opcode() == SpvOpVariable) { in AddDebugValueIfVarDeclIsVisible() 570 insert_before = insert_before->NextNode(); in AddDebugValueIfVarDeclIsVisible() 572 modified |= AddDebugValueForDecl(dbg_decl_or_val, value_id, insert_before, in AddDebugValueIfVarDeclIsVisible() 579 Instruction* dbg_decl, uint32_t value_id, Instruction* insert_before, in AddDebugValueForDecl() argument 591 auto* added_dbg_val = insert_before->InsertBefore(std::move(dbg_val)); in AddDebugValueForDecl() [all …]
|