Home
last modified time | relevance | path

Searched refs:def_inst (Results 1 – 8 of 8) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/opt/
Deliminate_dead_constant_pass.cpp72 Instruction* def_inst = in Process() local
76 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()
Dfunction.h44 inline explicit Function(std::unique_ptr<Instruction> def_inst);
151 inline Function::Function(std::unique_ptr<Instruction> def_inst) in Function() argument
152 : def_inst_(std::move(def_inst)), end_inst_() {} in Function()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Deliminate_dead_constant_pass.cpp72 Instruction* def_inst = in Process() local
76 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()
Dfunction.h44 inline explicit Function(std::unique_ptr<Instruction> def_inst);
155 inline Function::Function(std::unique_ptr<Instruction> def_inst) in Function() argument
156 : def_inst_(std::move(def_inst)), end_inst_() {} in Function()
/external/swiftshader/third_party/SPIRV-Tools/source/link/
Dlinker.cpp419 const Instruction* def_inst = def_use_manager.GetDef(id); in GetImportExportPairs() local
420 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()
/external/deqp-deps/SPIRV-Tools/source/link/
Dlinker.cpp419 const Instruction* def_inst = def_use_manager.GetDef(id); in GetImportExportPairs() local
420 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()
/external/deqp-deps/SPIRV-Tools/source/comp/
Dmarkv_codec.cpp215 const val::Instruction* def_inst = FindDef(inst_.words[4]); in ProcessCurInstruction() local
216 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()
/external/swiftshader/third_party/SPIRV-Tools/source/comp/
Dmarkv_codec.cpp215 const val::Instruction* def_inst = FindDef(inst_.words[4]); in ProcessCurInstruction() local
216 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()