Searched refs:ScalarCost (Results 1 – 4 of 4) sorted by relevance
610 unsigned ScalarCost = static_cast<T *>(this)->getIntrinsicInstrCost( in getIntrinsicInstrCost() local613 return ScalarCalls * ScalarCost + ScalarizationCost; in getIntrinsicInstrCost()732 unsigned ScalarCost = static_cast<T *>(this)->getIntrinsicInstrCost( in getIntrinsicInstrCost() local741 return ScalarCalls * ScalarCost + ScalarizationCost; in getIntrinsicInstrCost()
1521 int ScalarCost = VL.size() * TTI->getCastInstrCost(VL0->getOpcode(), in getEntryCost() local1526 return VecCost - ScalarCost; in getEntryCost()1550 int ScalarCost = 0; in getEntryCost() local1555 ScalarCost = VecTy->getNumElements() * in getEntryCost()1596 ScalarCost = VecTy->getNumElements() * in getEntryCost()1602 return VecCost - ScalarCost; in getEntryCost()1610 int ScalarCost = in getEntryCost() local1616 return VecCost - ScalarCost; in getEntryCost()1660 int ScalarCost = 0; in getEntryCost() local1666 ScalarCost += in getEntryCost()[all …]
4826 const float ScalarCost = Cost; in selectVectorizationFactor() local4829 DEBUG(dbgs() << "LV: Scalar loop costs: " << (int)ScalarCost << ".\n"); in selectVectorizationFactor()4851 DEBUG(if (ForceVectorization && Width > 1 && Cost >= ScalarCost) dbgs() in selectVectorizationFactor()
4833 uint64_t ScalarCost = in isProfitableToPromote() local4850 ScalarCost += TTI.getArithmeticInstrCost( in isProfitableToPromote()4856 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()4857 return ScalarCost > VectorCost; in isProfitableToPromote()