Home
last modified time | relevance | path

Searched refs:const_inst (Results 1 – 5 of 5) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/opt/
Dfold.cpp653 Instruction* const_inst = in FoldInstructionToConstant() local
655 if (const_inst == nullptr) { in FoldInstructionToConstant()
658 assert(const_inst->type_id() == inst->type_id()); in FoldInstructionToConstant()
660 context_->UpdateDefUse(const_inst); in FoldInstructionToConstant()
661 return const_inst; in FoldInstructionToConstant()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfold.cpp653 Instruction* const_inst = in FoldInstructionToConstant() local
655 if (const_inst == nullptr) { in FoldInstructionToConstant()
658 assert(const_inst->type_id() == inst->type_id()); in FoldInstructionToConstant()
660 context_->UpdateDefUse(const_inst); in FoldInstructionToConstant()
661 return const_inst; in FoldInstructionToConstant()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_type.cpp246 const auto const_inst = length->words(); in ValidateTypeArray() local
248 const auto const_result_type = _.FindDef(const_inst[const_result_type_index]); in ValidateTypeArray()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_type.cpp246 const auto const_inst = length->words(); in ValidateTypeArray() local
248 const auto const_result_type = _.FindDef(const_inst[const_result_type_index]); in ValidateTypeArray()
/external/tensorflow/tensorflow/compiler/xla/service/
Dpattern_matcher.h1724 const auto* const_inst = DynCast<HloConstantInstruction>(inst);
1725 if (!const_inst) {
1742 auto const_inst_scalar_or = const_inst->literal().Reshape({});