Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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);
201 inline Function::Function(std::unique_ptr<Instruction> def_inst) in Function() argument
202 : def_inst_(std::move(def_inst)), end_inst_() {} in Function()
Dinstruction.cpp776 Instruction* def_inst = context()->get_def_use_mgr()->GetDef(*op_id); in IsFoldableByFoldScalar() local
778 context()->get_def_use_mgr()->GetDef(def_inst->type_id()); in IsFoldableByFoldScalar()
/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.h45 inline explicit Function(std::unique_ptr<Instruction> def_inst);
214 inline Function::Function(std::unique_ptr<Instruction> def_inst) in Function() argument
215 : def_inst_(std::move(def_inst)), end_inst_() {} in Function()
Dinstruction.cpp758 Instruction* def_inst = context()->get_def_use_mgr()->GetDef(*op_id); in IsFoldableByFoldScalar() local
760 context()->get_def_use_mgr()->GetDef(def_inst->type_id()); in IsFoldableByFoldScalar()
/third_party/skia/third_party/externals/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);
201 inline Function::Function(std::unique_ptr<Instruction> def_inst) in Function() argument
202 : def_inst_(std::move(def_inst)), end_inst_() {} in Function()
Dinstruction.cpp776 Instruction* def_inst = context()->get_def_use_mgr()->GetDef(*op_id); in IsFoldableByFoldScalar() local
778 context()->get_def_use_mgr()->GetDef(def_inst->type_id()); in IsFoldableByFoldScalar()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Deliminate_dead_constant_pass.cpp69 ir::Instruction* def_inst = def_use.GetDef(operand_id); in Process() local
72 if (!use_counts.count(def_inst)) { in Process()
77 SPIRV_ASSERT(consumer(), use_counts[def_inst] > 0); in Process()
78 --use_counts[def_inst]; in Process()
79 if (!use_counts[def_inst]) { in Process()
80 working_list.insert(def_inst); in Process()
Dfunction.h40 inline explicit Function(std::unique_ptr<Instruction> def_inst);
94 inline Function::Function(std::unique_ptr<Instruction> def_inst) in Function() argument
95 : module_(nullptr), def_inst_(std::move(def_inst)), end_inst_() {} in Function()
/third_party/skia/third_party/externals/spirv-tools/source/link/
Dlinker.cpp425 const Instruction* def_inst = def_use_manager.GetDef(id); in GetImportExportPairs() local
426 if (def_inst == nullptr) in GetImportExportPairs()
430 if (def_inst->opcode() == SpvOpVariable) { in GetImportExportPairs()
431 symbol_info.type_id = def_inst->type_id(); in GetImportExportPairs()
432 } else if (def_inst->opcode() == SpvOpFunction) { in GetImportExportPairs()
433 symbol_info.type_id = def_inst->GetSingleWordInOperand(1u); in GetImportExportPairs()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/link/
Dlinker.cpp425 const Instruction* def_inst = def_use_manager.GetDef(id); in GetImportExportPairs() local
426 if (def_inst == nullptr) in GetImportExportPairs()
430 if (def_inst->opcode() == SpvOpVariable) { in GetImportExportPairs()
431 symbol_info.type_id = def_inst->type_id(); in GetImportExportPairs()
432 } else if (def_inst->opcode() == SpvOpFunction) { in GetImportExportPairs()
433 symbol_info.type_id = def_inst->GetSingleWordInOperand(1u); in GetImportExportPairs()
/third_party/spirv-tools/source/link/
Dlinker.cpp445 const Instruction* def_inst = def_use_manager.GetDef(id); in GetImportExportPairs() local
446 if (def_inst == nullptr) in GetImportExportPairs()
450 if (def_inst->opcode() == SpvOpVariable) { in GetImportExportPairs()
451 symbol_info.type_id = def_inst->type_id(); in GetImportExportPairs()
452 } else if (def_inst->opcode() == SpvOpFunction) { in GetImportExportPairs()
453 symbol_info.type_id = def_inst->GetSingleWordInOperand(1u); in GetImportExportPairs()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dfunction.cc724 DefInfo::DefInfo(const spvtools::opt::Instruction& def_inst, in DefInfo() argument
727 : inst(def_inst), block_pos(the_block_pos), index(the_index) {} in DefInfo()
3408 const auto* def_inst = def_use_mgr_->GetDef(id); in EmitStatementsInBasicBlock() local
3409 TINT_ASSERT(Reader, def_inst); in EmitStatementsInBasicBlock()
3411 RemapStorageClass(parser_impl_.ConvertType(def_inst->type_id()), id); in EmitStatementsInBasicBlock()
3421 const auto* def_inst = def_use_mgr_->GetDef(id); in EmitStatementsInBasicBlock() local
3422 TINT_ASSERT(Reader, def_inst); in EmitStatementsInBasicBlock()
3427 parser_impl_.ConvertType(def_inst->type_id())->Build(builder_)); in EmitStatementsInBasicBlock()
Dfunction.h244 DefInfo(const spvtools::opt::Instruction& def_inst,