Searched refs:VectorCost (Results 1 – 2 of 2) sorted by relevance
4920 uint64_t VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local4937 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()4941 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()4942 return ScalarCost > VectorCost; in isProfitableToPromote()
5301 float VectorCost = C.first / (float)i; in selectVectorizationFactor() local5303 << " costs: " << (int)VectorCost << ".\n"); in selectVectorizationFactor()5310 if (VectorCost < Cost) { in selectVectorizationFactor()5311 Cost = VectorCost; in selectVectorizationFactor()