Searched refs:ScalarCost (Results 1 – 6 of 6) sorted by relevance
431 unsigned ScalarCost = in getArithmeticInstrCost() local433 unsigned Cost = (VF * ScalarCost) + getScalarizationOverhead(Ty, Args); in getArithmeticInstrCost()722 unsigned ScalarCost = getCastInstrCost(Opcode, Dst->getScalarType(), in getCastInstrCost() local724 unsigned TotCost = VF * ScalarCost; in getCastInstrCost()
1212 unsigned ScalarCost = variable1215 return ScalarCalls * ScalarCost + ScalarizationCost;1529 unsigned ScalarCost = ConcreteTTI->getIntrinsicInstrCost( variable1539 return ScalarCalls * ScalarCost + ScalarizationCost;
3364 int ScalarCost = VL.size() * ScalarEltCost; in getEntryCost() local3373 return VecCost - ScalarCost; in getEntryCost()3385 int ScalarCost = VecTy->getNumElements() * ScalarEltCost; in getEntryCost() local3387 return ReuseShuffleCost + VecCost - ScalarCost; in getEntryCost()3451 int ScalarCost = VecTy->getNumElements() * ScalarEltCost; in getEntryCost() local3454 return ReuseShuffleCost + VecCost - ScalarCost; in getEntryCost()3467 int ScalarCost = VecTy->getNumElements() * ScalarEltCost; in getEntryCost() local3470 return ReuseShuffleCost + VecCost - ScalarCost; in getEntryCost()3547 int ScalarCost = 0; in getEntryCost() local3563 ScalarCost += TTI->getInstructionCost( in getEntryCost()[all …]
5082 const float ScalarCost = Cost; in selectVectorizationFactor() local5084 LLVM_DEBUG(dbgs() << "LV: Scalar loop costs: " << (int)ScalarCost << ".\n"); in selectVectorizationFactor()5119 Cost = ScalarCost; in selectVectorizationFactor()5122 LLVM_DEBUG(if (ForceVectorization && Width > 1 && Cost >= ScalarCost) dbgs() in selectVectorizationFactor()5674 unsigned ScalarCost = VF * getInstructionCost(I, 1).first; in computePredInstDiscount() local5679 ScalarCost += TTI.getScalarizationOverhead(ToVectorTy(I->getType(), VF), in computePredInstDiscount()5681 ScalarCost += VF * TTI.getCFInstrCost(Instruction::PHI); in computePredInstDiscount()5695 ScalarCost += TTI.getScalarizationOverhead( in computePredInstDiscount()5700 ScalarCost /= getReciprocalPredBlockProb(); in computePredInstDiscount()5704 Discount += VectorCost - ScalarCost; in computePredInstDiscount()[all …]
6495 uint64_t ScalarCost = in isProfitableToPromote() local6512 ScalarCost += TTI.getArithmeticInstrCost( in isProfitableToPromote()6519 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()6520 return ScalarCost > VectorCost; in isProfitableToPromote()
879 int ScalarCost = getArithmeticInstrCost( in getArithmeticInstrCost() local882 return 20 * LT.first * LT.second.getVectorNumElements() * ScalarCost; in getArithmeticInstrCost()