Searched refs:inductions (Results 1 – 9 of 9) sorted by relevance
538 std::vector<Instruction*> inductions; in Unroll() local539 loop->GetInductionVariables(inductions); in Unroll()541 loop_condition_block_, std::move(inductions)}; in Unroll()560 std::vector<Instruction*> inductions; in ReplaceInductionUseWithFinalValue() local561 loop->GetInductionVariables(inductions); in ReplaceInductionUseWithFinalValue()563 for (size_t index = 0; index < inductions.size(); ++index) { in ReplaceInductionUseWithFinalValue()566 context_->ReplaceAllUsesWith(inductions[index]->result_id(), trip_step_id); in ReplaceInductionUseWithFinalValue()567 invalidated_instructions_.push_back(inductions[index]); in ReplaceInductionUseWithFinalValue()694 std::vector<Instruction*> inductions; in CopyBody() local695 loop->GetInductionVariables(inductions); in CopyBody()[all …]
455 std::vector<Instruction*> inductions{}; in IsSupportedLoop() local456 loop->GetInductionVariables(inductions); in IsSupportedLoop()457 if (inductions.size() != 1) { in IsSupportedLoop()460 Instruction* induction = inductions[0]; in IsSupportedLoop()
236 void GetInductionVariables(std::vector<Instruction*>& inductions) const;
539 std::vector<Instruction*> inductions; in Unroll() local540 loop->GetInductionVariables(inductions); in Unroll()542 loop_condition_block_, std::move(inductions)}; in Unroll()561 std::vector<Instruction*> inductions; in ReplaceInductionUseWithFinalValue() local562 loop->GetInductionVariables(inductions); in ReplaceInductionUseWithFinalValue()564 for (size_t index = 0; index < inductions.size(); ++index) { in ReplaceInductionUseWithFinalValue()567 context_->ReplaceAllUsesWith(inductions[index]->result_id(), trip_step_id); in ReplaceInductionUseWithFinalValue()568 invalidated_instructions_.push_back(inductions[index]); in ReplaceInductionUseWithFinalValue()695 std::vector<Instruction*> inductions; in CopyBody() local696 loop->GetInductionVariables(inductions); in CopyBody()[all …]