Searched refs:variable_inst (Results 1 – 6 of 6) sorted by relevance
37 auto variable_inst = MakeUnique<opt::Instruction>( in FindOrCreateGlobalVariable() local45 context->module()->AddGlobalValue(std::move(variable_inst)); in FindOrCreateGlobalVariable()76 auto variable_inst = MakeUnique<opt::Instruction>( in FindOrCreateFunctionVariable() local80 iter->InsertBefore(std::move(variable_inst)); in FindOrCreateFunctionVariable()
877 Instruction* variable_inst = in FindConditionVariable() local881 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()