Searched refs:ScalarCost (Results 1 – 4 of 4) sorted by relevance
734 unsigned ScalarCost = static_cast<T *>(this)->getIntrinsicInstrCost( in getIntrinsicInstrCost() local737 return ScalarCalls * ScalarCost + ScalarizationCost; in getIntrinsicInstrCost()882 unsigned ScalarCost = static_cast<T *>(this)->getIntrinsicInstrCost( in getIntrinsicInstrCost() local891 return ScalarCalls * ScalarCost + ScalarizationCost; in getIntrinsicInstrCost()
1587 int ScalarCost = VL.size() * TTI->getCastInstrCost(VL0->getOpcode(), in getEntryCost() local1592 return VecCost - ScalarCost; in getEntryCost()1599 int ScalarCost = VecTy->getNumElements() * in getEntryCost() local1602 return VecCost - ScalarCost; in getEntryCost()1659 int ScalarCost = VecTy->getNumElements() * in getEntryCost() local1664 return VecCost - ScalarCost; in getEntryCost()1672 int ScalarCost = in getEntryCost() local1678 return VecCost - ScalarCost; in getEntryCost()1730 int ScalarCost = 0; in getEntryCost() local1736 ScalarCost += in getEntryCost()[all …]
5284 const float ScalarCost = Cost; in selectVectorizationFactor() local5287 DEBUG(dbgs() << "LV: Scalar loop costs: " << (int)ScalarCost << ".\n"); in selectVectorizationFactor()5316 DEBUG(if (ForceVectorization && Width > 1 && Cost >= ScalarCost) dbgs() in selectVectorizationFactor()
4918 uint64_t ScalarCost = in isProfitableToPromote() local4935 ScalarCost += TTI.getArithmeticInstrCost( in isProfitableToPromote()4941 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()4942 return ScalarCost > VectorCost; in isProfitableToPromote()