Searched refs:const_inst (Results 1 – 5 of 5) sorted by relevance
653 Instruction* const_inst = in FoldInstructionToConstant() local655 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()
246 const auto const_inst = length->words(); in ValidateTypeArray() local248 const auto const_result_type = _.FindDef(const_inst[const_result_type_index]); in ValidateTypeArray()
1724 const auto* const_inst = DynCast<HloConstantInstruction>(inst);1725 if (!const_inst) {1742 auto const_inst_scalar_or = const_inst->literal().Reshape({});