Searched refs:VectorCost (Results 1 – 2 of 2) sorted by relevance
4036 uint64_t VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local4053 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()4057 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()4058 return ScalarCost > VectorCost; in isProfitableToPromote()
4561 float VectorCost = expectedCost(i) / (float)i; in selectVectorizationFactor() local4563 (int)VectorCost << ".\n"); in selectVectorizationFactor()4564 if (VectorCost < Cost) { in selectVectorizationFactor()4565 Cost = VectorCost; in selectVectorizationFactor()