Home
last modified time | relevance | path

Searched refs:variable_inst (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/spirv-tools/source/reduce/
Dreduction_util.cpp37 auto variable_inst = MakeUnique<opt::Instruction>( in FindOrCreateGlobalVariable() local
45 context->module()->AddGlobalValue(std::move(variable_inst)); in FindOrCreateGlobalVariable()
76 auto variable_inst = MakeUnique<opt::Instruction>( in FindOrCreateFunctionVariable() local
80 iter->InsertBefore(std::move(variable_inst)); in FindOrCreateFunctionVariable()
/third_party/spirv-tools/source/reduce/
Dreduction_util.cpp37 auto variable_inst = MakeUnique<opt::Instruction>( in FindOrCreateGlobalVariable() local
45 context->module()->AddGlobalValue(std::move(variable_inst)); in FindOrCreateGlobalVariable()
76 auto variable_inst = MakeUnique<opt::Instruction>( in FindOrCreateFunctionVariable() local
80 iter->InsertBefore(std::move(variable_inst)); in FindOrCreateFunctionVariable()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dreduction_util.cpp37 auto variable_inst = MakeUnique<opt::Instruction>( in FindOrCreateGlobalVariable() local
45 context->module()->AddGlobalValue(std::move(variable_inst)); in FindOrCreateGlobalVariable()
76 auto variable_inst = MakeUnique<opt::Instruction>( in FindOrCreateFunctionVariable() local
80 iter->InsertBefore(std::move(variable_inst)); in FindOrCreateFunctionVariable()
/third_party/spirv-tools/source/opt/
Dloop_descriptor.cpp877 Instruction* variable_inst = in FindConditionVariable() local
881 if (!variable_inst || variable_inst->opcode() != SpvOpPhi) return nullptr; in FindConditionVariable()
889 if (variable_inst->NumInOperands() == max_supported_operands) { in FindConditionVariable()
898 variable_inst->GetSingleWordInOperand(operand_label_1)) && in FindConditionVariable()
900 variable_inst->GetSingleWordInOperand(operand_label_2))) { in FindConditionVariable()
905 if (variable_inst->GetSingleWordInOperand(operand_label_1) != in FindConditionVariable()
907 variable_inst->GetSingleWordInOperand(operand_label_2) != in FindConditionVariable()
915 if (!FindNumberOfIterations(variable_inst, &branch_inst, nullptr)) in FindConditionVariable()
917 induction = variable_inst; in FindConditionVariable()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dloop_descriptor.cpp877 Instruction* variable_inst = in FindConditionVariable() local
881 if (!variable_inst || variable_inst->opcode() != SpvOpPhi) return nullptr; in FindConditionVariable()
889 if (variable_inst->NumInOperands() == max_supported_operands) { in FindConditionVariable()
898 variable_inst->GetSingleWordInOperand(operand_label_1)) && in FindConditionVariable()
900 variable_inst->GetSingleWordInOperand(operand_label_2))) { in FindConditionVariable()
905 if (variable_inst->GetSingleWordInOperand(operand_label_1) != in FindConditionVariable()
907 variable_inst->GetSingleWordInOperand(operand_label_2) != in FindConditionVariable()
915 if (!FindNumberOfIterations(variable_inst, &branch_inst, nullptr)) in FindConditionVariable()
917 induction = variable_inst; in FindConditionVariable()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_descriptor.cpp877 Instruction* variable_inst = in FindConditionVariable() local
881 if (!variable_inst || variable_inst->opcode() != SpvOpPhi) return nullptr; in FindConditionVariable()
889 if (variable_inst->NumInOperands() == max_supported_operands) { in FindConditionVariable()
898 variable_inst->GetSingleWordInOperand(operand_label_1)) && in FindConditionVariable()
900 variable_inst->GetSingleWordInOperand(operand_label_2))) { in FindConditionVariable()
905 if (variable_inst->GetSingleWordInOperand(operand_label_1) != in FindConditionVariable()
907 variable_inst->GetSingleWordInOperand(operand_label_2) != in FindConditionVariable()
915 if (!FindNumberOfIterations(variable_inst, &branch_inst, nullptr)) in FindConditionVariable()
917 induction = variable_inst; in FindConditionVariable()