Home
last modified time | relevance | path

Searched refs:condition_inst (Results 1 – 9 of 9) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_swap_conditional_branch_operands.cpp67 const auto* condition_inst = ir_context->get_def_use_mgr()->GetDef( in Apply() local
69 assert(condition_inst); in Apply()
74 ir_context, SpvOpLogicalNot, condition_inst->type_id(), in Apply()
77 {SPV_OPERAND_TYPE_ID, {condition_inst->result_id()}}})); in Apply()
Dfuzzer_util.cpp148 auto condition_inst = context->get_def_use_mgr()->GetDef(bool_id); in AddUnreachableEdgeAndUpdateOpPhis() local
149 assert(condition_inst && in AddUnreachableEdgeAndUpdateOpPhis()
150 (condition_inst->opcode() == SpvOpConstantTrue || in AddUnreachableEdgeAndUpdateOpPhis()
151 condition_inst->opcode() == SpvOpConstantFalse) && in AddUnreachableEdgeAndUpdateOpPhis()
154 auto condition_value = condition_inst->opcode() == SpvOpConstantTrue; in AddUnreachableEdgeAndUpdateOpPhis()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_swap_conditional_branch_operands.cpp67 const auto* condition_inst = ir_context->get_def_use_mgr()->GetDef( in Apply() local
69 assert(condition_inst); in Apply()
74 ir_context, SpvOpLogicalNot, condition_inst->type_id(), in Apply()
77 {SPV_OPERAND_TYPE_ID, {condition_inst->result_id()}}})); in Apply()
Dfuzzer_util.cpp148 auto condition_inst = context->get_def_use_mgr()->GetDef(bool_id); in AddUnreachableEdgeAndUpdateOpPhis() local
149 assert(condition_inst && in AddUnreachableEdgeAndUpdateOpPhis()
150 (condition_inst->opcode() == SpvOpConstantTrue || in AddUnreachableEdgeAndUpdateOpPhis()
151 condition_inst->opcode() == SpvOpConstantFalse) && in AddUnreachableEdgeAndUpdateOpPhis()
154 auto condition_value = condition_inst->opcode() == SpvOpConstantTrue; in AddUnreachableEdgeAndUpdateOpPhis()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_swap_conditional_branch_operands.cpp66 const auto* condition_inst = ir_context->get_def_use_mgr()->GetDef( in Apply() local
68 assert(condition_inst); in Apply()
73 ir_context, SpvOpLogicalNot, condition_inst->type_id(), in Apply()
76 {SPV_OPERAND_TYPE_ID, {condition_inst->result_id()}}}); in Apply()
Dfuzzer_util.cpp196 auto condition_inst = ir_context->get_def_use_mgr()->GetDef(bool_id); in CreateUnreachableEdgeInstruction() local
197 assert(condition_inst && in CreateUnreachableEdgeInstruction()
198 (condition_inst->opcode() == SpvOpConstantTrue || in CreateUnreachableEdgeInstruction()
199 condition_inst->opcode() == SpvOpConstantFalse) && in CreateUnreachableEdgeInstruction()
202 auto condition_value = condition_inst->opcode() == SpvOpConstantTrue; in CreateUnreachableEdgeInstruction()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dloop_descriptor.cpp158 Instruction* condition_inst = context_->get_def_use_mgr()->GetDef( in GetConditionInst() local
160 if (IsSupportedCondition(condition_inst->opcode())) { in GetConditionInst()
161 return condition_inst; in GetConditionInst()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_descriptor.cpp158 Instruction* condition_inst = context_->get_def_use_mgr()->GetDef( in GetConditionInst() local
160 if (IsSupportedCondition(condition_inst->opcode())) { in GetConditionInst()
161 return condition_inst; in GetConditionInst()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dloop_descriptor.cpp158 Instruction* condition_inst = context_->get_def_use_mgr()->GetDef( in GetConditionInst() local
160 if (IsSupportedCondition(condition_inst->opcode())) { in GetConditionInst()
161 return condition_inst; in GetConditionInst()