Searched refs:def_inst (Results 1 – 8 of 8) sorted by relevance
72 Instruction* def_inst = in Process() local76 if (!use_counts.count(def_inst)) { in Process()81 SPIRV_ASSERT(consumer(), use_counts[def_inst] > 0); in Process()82 --use_counts[def_inst]; in Process()83 if (!use_counts[def_inst]) { in Process()84 working_list.insert(def_inst); in Process()
44 inline explicit Function(std::unique_ptr<Instruction> def_inst);151 inline Function::Function(std::unique_ptr<Instruction> def_inst) in Function() argument152 : def_inst_(std::move(def_inst)), end_inst_() {} in Function()
44 inline explicit Function(std::unique_ptr<Instruction> def_inst);155 inline Function::Function(std::unique_ptr<Instruction> def_inst) in Function() argument156 : def_inst_(std::move(def_inst)), end_inst_() {} in Function()
419 const Instruction* def_inst = def_use_manager.GetDef(id); in GetImportExportPairs() local420 if (def_inst == nullptr) in GetImportExportPairs()424 if (def_inst->opcode() == SpvOpVariable) { in GetImportExportPairs()425 symbol_info.type_id = def_inst->type_id(); in GetImportExportPairs()426 } else if (def_inst->opcode() == SpvOpFunction) { in GetImportExportPairs()427 symbol_info.type_id = def_inst->GetSingleWordInOperand(1u); in GetImportExportPairs()
215 const val::Instruction* def_inst = FindDef(inst_.words[4]); in ProcessCurInstruction() local216 assert(def_inst); in ProcessCurInstruction()217 assert(def_inst->opcode() == SpvOpTypeFunction); in ProcessCurInstruction()218 for (uint32_t i = 3; i < def_inst->words().size(); ++i) { in ProcessCurInstruction()219 remaining_function_parameter_types_.push_back(def_inst->word(i)); in ProcessCurInstruction()