Searched refs:VectorCost (Results 1 – 2 of 2) sorted by relevance
4835 uint64_t VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local4852 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()4856 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()4857 return ScalarCost > VectorCost; in isProfitableToPromote()
4842 float VectorCost = expectedCost(i) / (float)i; in selectVectorizationFactor() local4844 (int)VectorCost << ".\n"); in selectVectorizationFactor()4845 if (VectorCost < Cost) { in selectVectorizationFactor()4846 Cost = VectorCost; in selectVectorizationFactor()