Lines Matching defs:RetI
5804 Instruction *RetI = I;
5805 if (match(RetI, m_ZExtOrSExt(m_Value()))) {
5806 if (!RetI->hasOneUser())
5808 RetI = RetI->user_back();
5811 if (match(RetI, m_OneUse(m_Mul(m_Value(), m_Value()))) &&
5812 RetI->user_back()->getOpcode() == Instruction::Add) {
5813 RetI = RetI->user_back();
5818 if (!InLoopReductionImmediateChains.count(RetI))
5823 Instruction *LastChain = InLoopReductionImmediateChains.at(RetI);
5856 Instruction *RedOp = RetI->getOperand(1) == LastChain
5857 ? dyn_cast<Instruction>(RetI->getOperand(0))
5858 : dyn_cast<Instruction>(RetI->getOperand(1));
5894 return I == RetI ? RedCost : 0;
5908 return I == RetI ? RedCost : 0;
5947 return I == RetI ? RedCost : 0;
5957 return I == RetI ? RedCost : 0;
5961 return I == RetI ? std::optional<InstructionCost>(BaseCost) : std::nullopt;