Home
last modified time | relevance | path

Searched refs:use_instruction (Results 1 – 22 of 22) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_replace_irrelevant_id.cpp46 auto use_instruction = in IsApplicable() local
48 if (!use_instruction) { in IsApplicable()
82 use_instruction, use_in_operand_index)) { in IsApplicable()
87 *use_instruction, *replacement_id_def)) { in IsApplicable()
93 ir_context, use_instruction, in IsApplicable()
128 const opt::Instruction& use_instruction, in AttemptsToReplaceVariableInitializerWithNonConstant() argument
130 return use_instruction.opcode() == SpvOpVariable && in AttemptsToReplaceVariableInitializerWithNonConstant()
Dtransformation_replace_id_with_synonym.cpp54 auto use_instruction = in IsApplicable() local
56 if (!use_instruction) { in IsApplicable()
69 if (!TypesAreCompatible(ir_context, use_instruction->opcode(), in IsApplicable()
77 ir_context, transformation_context, use_instruction, in IsApplicable()
85 ir_context, use_instruction, in IsApplicable()
Dfuzzer_util.cpp483 [&result](const opt::Instruction* use_instruction, in IsMergeOrContinue()
485 switch (use_instruction->opcode()) { in IsMergeOrContinue()
502 [ir_context, &result](opt::Instruction* use_instruction, in GetLoopFromMergeBlock()
504 switch (use_instruction->opcode()) { in GetLoopFromMergeBlock()
508 result = ir_context->get_instr_block(use_instruction)->id(); in GetLoopFromMergeBlock()
583 opt::Instruction* use_instruction, in IdIsAvailableAtUse() argument
585 assert(context->get_instr_block(use_instruction) && in IdIsAvailableAtUse()
590 context->get_instr_block(use_instruction)->GetParent(); in IdIsAvailableAtUse()
601 if (defining_instruction == use_instruction) { in IdIsAvailableAtUse()
607 context->get_instr_block(use_instruction)) || in IdIsAvailableAtUse()
[all …]
Dtransformation_inline_function.cpp208 opt::Instruction* use_instruction, uint32_t operand_index) { in Apply() argument
209 if (use_instruction->opcode() == SpvOpPhi && in Apply()
210 ir_context->get_instr_block(use_instruction) == successor_block) { in Apply()
211 use_instruction->SetOperand(operand_index, {new_return_block_id}); in Apply()
Dtransformation_replace_irrelevant_id.h58 const opt::Instruction& use_instruction,
Dtransformation_merge_function_returns.cpp534 [this](opt::Instruction* use_instruction, uint32_t use_operand_index) { in Apply() argument
535 if (use_instruction->opcode() == SpvOpPhi) { in Apply()
536 use_instruction->SetOperand(use_operand_index, in Apply()
Dfuzzer_util.h213 opt::Instruction* use_instruction,
558 opt::Instruction* use_instruction,
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_replace_irrelevant_id.cpp46 auto use_instruction = in IsApplicable() local
48 if (!use_instruction) { in IsApplicable()
82 use_instruction, use_in_operand_index)) { in IsApplicable()
87 *use_instruction, *replacement_id_def)) { in IsApplicable()
93 ir_context, use_instruction, in IsApplicable()
128 const opt::Instruction& use_instruction, in AttemptsToReplaceVariableInitializerWithNonConstant() argument
130 return use_instruction.opcode() == SpvOpVariable && in AttemptsToReplaceVariableInitializerWithNonConstant()
Dtransformation_replace_id_with_synonym.cpp54 auto use_instruction = in IsApplicable() local
56 if (!use_instruction) { in IsApplicable()
69 if (!TypesAreCompatible(ir_context, use_instruction->opcode(), in IsApplicable()
77 ir_context, transformation_context, use_instruction, in IsApplicable()
85 ir_context, use_instruction, in IsApplicable()
Dfuzzer_util.cpp483 [&result](const opt::Instruction* use_instruction, in IsMergeOrContinue()
485 switch (use_instruction->opcode()) { in IsMergeOrContinue()
502 [ir_context, &result](opt::Instruction* use_instruction, in GetLoopFromMergeBlock()
504 switch (use_instruction->opcode()) { in GetLoopFromMergeBlock()
508 result = ir_context->get_instr_block(use_instruction)->id(); in GetLoopFromMergeBlock()
583 opt::Instruction* use_instruction, in IdIsAvailableAtUse() argument
585 assert(context->get_instr_block(use_instruction) && in IdIsAvailableAtUse()
590 context->get_instr_block(use_instruction)->GetParent(); in IdIsAvailableAtUse()
601 if (defining_instruction == use_instruction) { in IdIsAvailableAtUse()
607 context->get_instr_block(use_instruction)) || in IdIsAvailableAtUse()
[all …]
Dtransformation_inline_function.cpp208 opt::Instruction* use_instruction, uint32_t operand_index) { in Apply() argument
209 if (use_instruction->opcode() == SpvOpPhi && in Apply()
210 ir_context->get_instr_block(use_instruction) == successor_block) { in Apply()
211 use_instruction->SetOperand(operand_index, {new_return_block_id}); in Apply()
Dtransformation_replace_irrelevant_id.h58 const opt::Instruction& use_instruction,
Dtransformation_merge_function_returns.cpp534 [this](opt::Instruction* use_instruction, uint32_t use_operand_index) { in Apply() argument
535 if (use_instruction->opcode() == SpvOpPhi) { in Apply()
536 use_instruction->SetOperand(use_operand_index, in Apply()
Dfuzzer_util.h213 opt::Instruction* use_instruction,
558 opt::Instruction* use_instruction,
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_replace_irrelevant_id.cpp46 auto use_instruction = in IsApplicable() local
48 if (!use_instruction) { in IsApplicable()
82 use_instruction, use_in_operand_index)) { in IsApplicable()
87 *use_instruction, *replacement_id_def)) { in IsApplicable()
93 ir_context, use_instruction, in IsApplicable()
131 const opt::Instruction& use_instruction, in AttemptsToReplaceVariableInitializerWithNonConstant() argument
133 return use_instruction.opcode() == SpvOpVariable && in AttemptsToReplaceVariableInitializerWithNonConstant()
Dtransformation_replace_id_with_synonym.cpp53 auto use_instruction = in IsApplicable() local
55 if (!use_instruction) { in IsApplicable()
68 if (!TypesAreCompatible(ir_context, use_instruction->opcode(), in IsApplicable()
76 ir_context, transformation_context, use_instruction, in IsApplicable()
84 ir_context, use_instruction, in IsApplicable()
Dfuzzer_util.cpp534 [&result](const opt::Instruction* use_instruction, in IsMergeOrContinue()
536 switch (use_instruction->opcode()) { in IsMergeOrContinue()
553 [ir_context, &result](opt::Instruction* use_instruction, in GetLoopFromMergeBlock()
555 switch (use_instruction->opcode()) { in GetLoopFromMergeBlock()
559 result = ir_context->get_instr_block(use_instruction)->id(); in GetLoopFromMergeBlock()
634 opt::Instruction* use_instruction, in IdIsAvailableAtUse() argument
636 assert(context->get_instr_block(use_instruction) && in IdIsAvailableAtUse()
641 context->get_instr_block(use_instruction)->GetParent(); in IdIsAvailableAtUse()
652 if (defining_instruction == use_instruction) { in IdIsAvailableAtUse()
656 if (!context->IsReachable(*context->get_instr_block(use_instruction)) || in IdIsAvailableAtUse()
[all …]
Dtransformation_inline_function.cpp208 opt::Instruction* use_instruction, uint32_t operand_index) { in Apply() argument
209 if (use_instruction->opcode() == SpvOpPhi && in Apply()
210 ir_context->get_instr_block(use_instruction) == successor_block) { in Apply()
211 use_instruction->SetOperand(operand_index, {new_return_block_id}); in Apply()
Dtransformation_replace_irrelevant_id.h58 const opt::Instruction& use_instruction,
Dtransformation_merge_function_returns.cpp533 [this](opt::Instruction* use_instruction, uint32_t use_operand_index) { in Apply() argument
534 if (use_instruction->opcode() == SpvOpPhi) { in Apply()
535 use_instruction->SetOperand(use_operand_index, in Apply()
Dfuzzer_util.h228 opt::Instruction* use_instruction,
554 opt::Instruction* use_instruction,
/external/tensorflow/tensorflow/compiler/xla/service/
Dmemory_space_assignment.cc3347 split_conditional_buffer = [&](const HloInstruction* use_instruction, in VerifyAndExportHeapSimulatorTrace()
3360 use_instruction->called_computations()) { in VerifyAndExportHeapSimulatorTrace()