Searched refs:VectorCost (Results 1 – 4 of 4) sorted by relevance
5049 float VectorCost = C.first / (float)i; in selectVectorizationFactor() local5051 << " costs: " << (int)VectorCost << ".\n"); in selectVectorizationFactor()5058 if (VectorCost < Cost) { in selectVectorizationFactor()5059 Cost = VectorCost; in selectVectorizationFactor()5568 unsigned VectorCost = getInstructionCost(I, VF).first; in computePredInstDiscount() local5604 Discount += VectorCost - ScalarCost; in computePredInstDiscount()
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()
5965 uint64_t VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local5982 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()5987 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()5988 return ScalarCost > VectorCost; in isProfitableToPromote()