Searched refs:VectorCost (Results 1 – 2 of 2) sorted by relevance
5099 float VectorCost = C.first / (float)i; in selectVectorizationFactor() local5101 << " costs: " << (int)VectorCost << ".\n"); in selectVectorizationFactor()5108 if (VectorCost < Cost) { in selectVectorizationFactor()5109 Cost = VectorCost; in selectVectorizationFactor()5668 unsigned VectorCost = getInstructionCost(I, VF).first; in computePredInstDiscount() local5704 Discount += VectorCost - ScalarCost; in computePredInstDiscount()
6497 uint64_t VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local6514 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()6519 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()6520 return ScalarCost > VectorCost; in isProfitableToPromote()