/dports/devel/intel-graphics-compiler/SPIRV-Tools/source/fuzz/ |
H A D | fuzzer_pass_apply_id_synonyms.cpp | 53 [&uses](opt::Instruction* use_inst, uint32_t use_index) -> void { in Apply() argument 56 if (use_inst->GetOperand(use_index).type == SPV_OPERAND_TYPE_ID) { in Apply() 63 auto use_inst = use.first; in Apply() local 77 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply() 96 use_inst->opcode(), use_in_operand_index, in Apply() 111 use_inst) && in Apply() 112 use_inst->opcode() != SpvOpPhi) { in Apply() 118 if (!fuzzerutil::IdIsAvailableAtUse(GetIRContext(), use_inst, in Apply() 135 if (use_inst->opcode() != SpvOpPhi) { in Apply() 136 instruction_to_insert_before = use_inst; in Apply() [all …]
|
H A D | fuzzer_pass_replace_irrelevant_ids.cpp | 96 &transformations_to_apply](opt::Instruction* use_inst, in Apply() 105 if (use_index < use_inst->NumOperands() - use_inst->NumInOperands()) { in Apply() 114 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply() 119 use_inst, in_index)) { in Apply() 135 *use_inst, *GetIRContext()->get_def_use_mgr()->GetDef( in Apply() 148 if (GetIRContext()->get_instr_block(use_inst) && in Apply() 149 fuzzerutil::IdIsAvailableAtUse(GetIRContext(), use_inst, in Apply() 169 MakeIdUseDescriptorFromUse(GetIRContext(), use_inst, in Apply()
|
H A D | transformation_add_loop_preheader.cpp | 106 &back_edge_block_id](opt::Instruction* use_inst, uint32_t use_index) { in Apply() argument 108 use_inst)) { in Apply() 111 if (use_inst->IsBranch()) { in Apply() 114 back_edge_block_id = ir_context->get_instr_block(use_inst)->id(); in Apply() 122 if (!use_inst->IsBranch() && in Apply() 123 use_inst->opcode() != SpvOpSelectionMerge && in Apply() 124 use_inst->opcode() != SpvOpLoopMerge) { in Apply() 129 use_inst->SetOperand(use_index, {message_.fresh_id()}); in Apply()
|
H A D | fuzzer_pass_interchange_zero_like_constants.cpp | 96 [this, toggled_id, &uses_to_replace](opt::Instruction* use_inst, in Apply() 101 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | fuzzer_pass_apply_id_synonyms.cpp | 54 [&uses](opt::Instruction* use_inst, uint32_t use_index) -> void { in Apply() argument 57 if (use_inst->GetOperand(use_index).type == SPV_OPERAND_TYPE_ID) { in Apply() 64 auto use_inst = use.first; in Apply() local 78 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply() 97 use_inst->opcode(), use_in_operand_index, in Apply() 112 use_inst) && in Apply() 113 use_inst->opcode() != SpvOpPhi) { in Apply() 119 if (!fuzzerutil::IdIsAvailableAtUse(GetIRContext(), use_inst, in Apply() 136 if (use_inst->opcode() != SpvOpPhi) { in Apply() 137 instruction_to_insert_before = use_inst; in Apply() [all …]
|
H A D | fuzzer_pass_replace_irrelevant_ids.cpp | 97 &transformations_to_apply](opt::Instruction* use_inst, in Apply() 106 if (use_index < use_inst->NumOperands() - use_inst->NumInOperands()) { in Apply() 115 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply() 120 use_inst, in_index)) { in Apply() 136 *use_inst, *GetIRContext()->get_def_use_mgr()->GetDef( in Apply() 149 if (GetIRContext()->get_instr_block(use_inst) && in Apply() 150 fuzzerutil::IdIsAvailableAtUse(GetIRContext(), use_inst, in Apply() 170 MakeIdUseDescriptorFromUse(GetIRContext(), use_inst, in Apply()
|
H A D | transformation_add_loop_preheader.cpp | 106 &back_edge_block_id](opt::Instruction* use_inst, uint32_t use_index) { in Apply() argument 108 use_inst)) { in Apply() 111 if (use_inst->IsBranch()) { in Apply() 114 back_edge_block_id = ir_context->get_instr_block(use_inst)->id(); in Apply() 122 if (!use_inst->IsBranch() && in Apply() 123 use_inst->opcode() != SpvOpSelectionMerge && in Apply() 124 use_inst->opcode() != SpvOpLoopMerge) { in Apply() 129 use_inst->SetOperand(use_index, {message_.fresh_id()}); in Apply()
|
H A D | fuzzer_pass_interchange_zero_like_constants.cpp | 98 [this, toggled_id, &uses_to_replace](opt::Instruction* use_inst, in Apply() 103 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
|
H A D | fuzzer_pass_interchange_signedness_of_integer_operands.cpp | 74 [this, toggled_id, &uses_to_replace](opt::Instruction* use_inst, in Apply() 79 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
|
/dports/graphics/spirv-tools/SPIRV-Tools-2021.4/source/fuzz/ |
H A D | fuzzer_pass_apply_id_synonyms.cpp | 53 [&uses](opt::Instruction* use_inst, uint32_t use_index) -> void { in Apply() argument 56 if (use_inst->GetOperand(use_index).type == SPV_OPERAND_TYPE_ID) { in Apply() 63 auto use_inst = use.first; in Apply() local 77 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply() 96 use_inst->opcode(), use_in_operand_index, in Apply() 111 use_inst) && in Apply() 112 use_inst->opcode() != SpvOpPhi) { in Apply() 118 if (!fuzzerutil::IdIsAvailableAtUse(GetIRContext(), use_inst, in Apply() 135 if (use_inst->opcode() != SpvOpPhi) { in Apply() 136 instruction_to_insert_before = use_inst; in Apply() [all …]
|
H A D | fuzzer_pass_replace_irrelevant_ids.cpp | 96 &transformations_to_apply](opt::Instruction* use_inst, in Apply() 105 if (use_index < use_inst->NumOperands() - use_inst->NumInOperands()) { in Apply() 114 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply() 119 use_inst, in_index)) { in Apply() 135 *use_inst, *GetIRContext()->get_def_use_mgr()->GetDef( in Apply() 148 if (GetIRContext()->get_instr_block(use_inst) && in Apply() 149 fuzzerutil::IdIsAvailableAtUse(GetIRContext(), use_inst, in Apply() 169 MakeIdUseDescriptorFromUse(GetIRContext(), use_inst, in Apply()
|
H A D | transformation_add_loop_preheader.cpp | 106 &back_edge_block_id](opt::Instruction* use_inst, uint32_t use_index) { in Apply() argument 108 use_inst)) { in Apply() 111 if (use_inst->IsBranch()) { in Apply() 114 back_edge_block_id = ir_context->get_instr_block(use_inst)->id(); in Apply() 122 if (!use_inst->IsBranch() && in Apply() 123 use_inst->opcode() != SpvOpSelectionMerge && in Apply() 124 use_inst->opcode() != SpvOpLoopMerge) { in Apply() 129 use_inst->SetOperand(use_index, {message_.fresh_id()}); in Apply()
|
H A D | fuzzer_pass_interchange_zero_like_constants.cpp | 96 [this, toggled_id, &uses_to_replace](opt::Instruction* use_inst, in Apply() 101 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/SPIRV-Tools/src/source/fuzz/ |
H A D | fuzzer_pass_apply_id_synonyms.cpp | 54 [&uses](opt::Instruction* use_inst, uint32_t use_index) -> void { in Apply() argument 57 if (use_inst->GetOperand(use_index).type == SPV_OPERAND_TYPE_ID) { in Apply() 64 auto use_inst = use.first; in Apply() local 78 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply() 97 use_inst->opcode(), use_in_operand_index, in Apply() 112 use_inst) && in Apply() 113 use_inst->opcode() != SpvOpPhi) { in Apply() 119 if (!fuzzerutil::IdIsAvailableAtUse(GetIRContext(), use_inst, in Apply() 136 if (use_inst->opcode() != SpvOpPhi) { in Apply() 137 instruction_to_insert_before = use_inst; in Apply() [all …]
|
H A D | fuzzer_pass_replace_irrelevant_ids.cpp | 97 &transformations_to_apply](opt::Instruction* use_inst, in Apply() 106 if (use_index < use_inst->NumOperands() - use_inst->NumInOperands()) { in Apply() 115 fuzzerutil::InOperandIndexFromOperandIndex(*use_inst, use_index); in Apply() 120 use_inst, in_index)) { in Apply() 136 *use_inst, *GetIRContext()->get_def_use_mgr()->GetDef( in Apply() 149 if (GetIRContext()->get_instr_block(use_inst) && in Apply() 150 fuzzerutil::IdIsAvailableAtUse(GetIRContext(), use_inst, in Apply() 170 MakeIdUseDescriptorFromUse(GetIRContext(), use_inst, in Apply()
|
H A D | transformation_add_loop_preheader.cpp | 106 &back_edge_block_id](opt::Instruction* use_inst, uint32_t use_index) { in Apply() argument 108 use_inst)) { in Apply() 111 if (use_inst->IsBranch()) { in Apply() 114 back_edge_block_id = ir_context->get_instr_block(use_inst)->id(); in Apply() 122 if (!use_inst->IsBranch() && in Apply() 123 use_inst->opcode() != SpvOpSelectionMerge && in Apply() 124 use_inst->opcode() != SpvOpLoopMerge) { in Apply() 129 use_inst->SetOperand(use_index, {message_.fresh_id()}); in Apply()
|
H A D | fuzzer_pass_interchange_zero_like_constants.cpp | 98 [this, toggled_id, &uses_to_replace](opt::Instruction* use_inst, in Apply() 103 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
|
H A D | fuzzer_pass_interchange_signedness_of_integer_operands.cpp | 74 [this, toggled_id, &uses_to_replace](opt::Instruction* use_inst, in Apply() 79 MaybeAddUseToReplace(use_inst, use_index, toggled_id, in Apply()
|
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_apply_id_synonyms.cpp | 39 opt::Instruction* use_inst, uint32_t use_index) -> void { in Apply() argument 40 auto block_containing_use = GetIRContext()->get_instr_block(use_inst); in Apply() 54 use_index - use_inst->NumOperands() + use_inst->NumInOperands(); in Apply() 68 ReplacingUseWithSynonymIsOk(GetIRContext(), use_inst, in Apply() 88 MakeIdUseDescriptorFromUse(GetIRContext(), use_inst, in Apply()
|
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_apply_id_synonyms.cpp | 39 opt::Instruction* use_inst, uint32_t use_index) -> void { in Apply() argument 40 auto block_containing_use = GetIRContext()->get_instr_block(use_inst); in Apply() 54 use_index - use_inst->NumOperands() + use_inst->NumInOperands(); in Apply() 68 ReplacingUseWithSynonymIsOk(GetIRContext(), use_inst, in Apply() 88 MakeIdUseDescriptorFromUse(GetIRContext(), use_inst, in Apply()
|
/dports/emulators/yuzu/yuzu-0b47f7a46/externals/dynarmic/src/backend/x64/ |
H A D | reg_alloc.cpp | 326 const IR::Inst* use_inst = use_value.GetInst(); in UseImpl() local 327 const HostLoc current_location = *ValueLocation(use_inst); in UseImpl() 358 const IR::Inst* use_inst = use_value.GetInst(); in UseScratchImpl() local 359 const HostLoc current_location = *ValueLocation(use_inst); in UseScratchImpl() 360 const size_t bit_width = GetBitWidth(use_inst->GetType()); in UseScratchImpl() 486 void RegAlloc::DefineValueImpl(IR::Inst* def_inst, const IR::Value& use_inst) { in DefineValueImpl() argument 489 if (use_inst.IsImmediate()) { in DefineValueImpl() 492 LoadImmediate(use_inst, location); in DefineValueImpl() 496 ASSERT_MSG(ValueLocation(use_inst.GetInst()), "use_inst must already be defined"); in DefineValueImpl() 497 const HostLoc location = *ValueLocation(use_inst.GetInst()); in DefineValueImpl()
|
/dports/emulators/citra/citra-ac98458e0/externals/dynarmic/src/backend/A64/ |
H A D | reg_alloc.cpp | 322 const IR::Inst* use_inst = use_value.GetInst(); in UseImpl() local 323 const HostLoc current_location = *ValueLocation(use_inst); in UseImpl() 354 const IR::Inst* use_inst = use_value.GetInst(); in UseScratchImpl() local 355 const HostLoc current_location = *ValueLocation(use_inst); in UseScratchImpl() 356 const size_t bit_width = GetBitWidth(use_inst->GetType()); in UseScratchImpl() 467 void RegAlloc::DefineValueImpl(IR::Inst* def_inst, const IR::Value& use_inst) { in DefineValueImpl() argument 470 if (use_inst.IsImmediate()) { in DefineValueImpl() 473 LoadImmediate(use_inst, location); in DefineValueImpl() 477 ASSERT_MSG(ValueLocation(use_inst.GetInst()), "use_inst must already be defined"); in DefineValueImpl() 478 HostLoc location = *ValueLocation(use_inst.GetInst()); in DefineValueImpl()
|
/dports/emulators/citra-qt5/citra-ac98458e0/externals/dynarmic/src/backend/x64/ |
H A D | reg_alloc.cpp | 326 const IR::Inst* use_inst = use_value.GetInst(); in UseImpl() local 327 const HostLoc current_location = *ValueLocation(use_inst); in UseImpl() 358 const IR::Inst* use_inst = use_value.GetInst(); in UseScratchImpl() local 359 const HostLoc current_location = *ValueLocation(use_inst); in UseScratchImpl() 360 const size_t bit_width = GetBitWidth(use_inst->GetType()); in UseScratchImpl() 486 void RegAlloc::DefineValueImpl(IR::Inst* def_inst, const IR::Value& use_inst) { in DefineValueImpl() argument 489 if (use_inst.IsImmediate()) { in DefineValueImpl() 492 LoadImmediate(use_inst, location); in DefineValueImpl() 496 ASSERT_MSG(ValueLocation(use_inst.GetInst()), "use_inst must already be defined"); in DefineValueImpl() 497 const HostLoc location = *ValueLocation(use_inst.GetInst()); in DefineValueImpl()
|
/dports/emulators/citra-qt5/citra-ac98458e0/externals/dynarmic/src/backend/A64/ |
H A D | reg_alloc.cpp | 322 const IR::Inst* use_inst = use_value.GetInst(); in UseImpl() local 323 const HostLoc current_location = *ValueLocation(use_inst); in UseImpl() 354 const IR::Inst* use_inst = use_value.GetInst(); in UseScratchImpl() local 355 const HostLoc current_location = *ValueLocation(use_inst); in UseScratchImpl() 356 const size_t bit_width = GetBitWidth(use_inst->GetType()); in UseScratchImpl() 467 void RegAlloc::DefineValueImpl(IR::Inst* def_inst, const IR::Value& use_inst) { in DefineValueImpl() argument 470 if (use_inst.IsImmediate()) { in DefineValueImpl() 473 LoadImmediate(use_inst, location); in DefineValueImpl() 477 ASSERT_MSG(ValueLocation(use_inst.GetInst()), "use_inst must already be defined"); in DefineValueImpl() 478 HostLoc location = *ValueLocation(use_inst.GetInst()); in DefineValueImpl()
|
/dports/emulators/citra/citra-ac98458e0/externals/dynarmic/src/backend/x64/ |
H A D | reg_alloc.cpp | 326 const IR::Inst* use_inst = use_value.GetInst(); in UseImpl() local 327 const HostLoc current_location = *ValueLocation(use_inst); in UseImpl() 358 const IR::Inst* use_inst = use_value.GetInst(); in UseScratchImpl() local 359 const HostLoc current_location = *ValueLocation(use_inst); in UseScratchImpl() 360 const size_t bit_width = GetBitWidth(use_inst->GetType()); in UseScratchImpl() 486 void RegAlloc::DefineValueImpl(IR::Inst* def_inst, const IR::Value& use_inst) { in DefineValueImpl() argument 489 if (use_inst.IsImmediate()) { in DefineValueImpl() 492 LoadImmediate(use_inst, location); in DefineValueImpl() 496 ASSERT_MSG(ValueLocation(use_inst.GetInst()), "use_inst must already be defined"); in DefineValueImpl() 497 const HostLoc location = *ValueLocation(use_inst.GetInst()); in DefineValueImpl()
|