Searched refs:VectorCost (Results 1 – 2 of 2) sorted by relevance
4819 float VectorCost = C.first / (float)i; in selectVectorizationFactor() local4821 << " costs: " << (int)VectorCost << ".\n"); in selectVectorizationFactor()4828 if (VectorCost < Cost) { in selectVectorizationFactor()4829 Cost = VectorCost; in selectVectorizationFactor()5339 unsigned VectorCost = getInstructionCost(I, VF).first; in computePredInstDiscount() local5375 Discount += VectorCost - ScalarCost; in computePredInstDiscount()
6115 uint64_t VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local6132 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()6137 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()6138 return ScalarCost > VectorCost; in isProfitableToPromote()