Searched refs:ScalarCost (Results 1 – 4 of 4) sorted by relevance
552 unsigned ScalarCost = static_cast<T *>(this)->getIntrinsicInstrCost( in getIntrinsicInstrCost() local555 return ScalarCalls * ScalarCost + ScalarizationCost; in getIntrinsicInstrCost()674 unsigned ScalarCost = static_cast<T *>(this)->getIntrinsicInstrCost( in getIntrinsicInstrCost() local683 return ScalarCalls * ScalarCost + ScalarizationCost; in getIntrinsicInstrCost()
1467 int ScalarCost = VL.size() * TTI->getCastInstrCost(VL0->getOpcode(), in getEntryCost() local1472 return VecCost - ScalarCost; in getEntryCost()1496 int ScalarCost = 0; in getEntryCost() local1501 ScalarCost = VecTy->getNumElements() * in getEntryCost()1542 ScalarCost = VecTy->getNumElements() * in getEntryCost()1548 return VecCost - ScalarCost; in getEntryCost()1556 int ScalarCost = in getEntryCost() local1562 return VecCost - ScalarCost; in getEntryCost()1606 int ScalarCost = 0; in getEntryCost() local1612 ScalarCost += in getEntryCost()[all …]
4545 const float ScalarCost = Cost; in selectVectorizationFactor() local4548 DEBUG(dbgs() << "LV: Scalar loop costs: " << (int)ScalarCost << ".\n"); in selectVectorizationFactor()4570 DEBUG(if (ForceVectorization && Width > 1 && Cost >= ScalarCost) dbgs() in selectVectorizationFactor()
4034 uint64_t ScalarCost = in isProfitableToPromote() local4051 ScalarCost += TTI.getArithmeticInstrCost( in isProfitableToPromote()4057 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()4058 return ScalarCost > VectorCost; in isProfitableToPromote()