Searched refs:VectorCost (Results 1 – 4 of 4) sorted by relevance
4330 InstructionCost VectorCost, in isMoreProfitable()4341 return VectorCost * divideCeil(MaxTripCount, VF); in isMoreProfitable()4342 return VectorCost * (MaxTripCount / VF) + ScalarCost * (MaxTripCount % VF); in isMoreProfitable()5433 InstructionCost VectorCost = getInstructionCost(I, VF); in computePredInstDiscount() local5477 Discount += VectorCost - ScalarCost; in computePredInstDiscount()6171 InstructionCost VectorCost = InstructionCost::getInvalid(); in setVectorizedCallDecision() local6292 VectorCost = in setVectorizedCallDecision()6304 if (VectorCost <= Cost) { in setVectorizedCallDecision()6305 Cost = VectorCost; in setVectorizedCallDecision()
3193 dbgs() << "SLP: VectorCost = " << VecCost << "\n"; in dumpTreeCosts() 9335 function_ref<InstructionCost(InstructionCost)> VectorCost) { in getEntryCost() argument 9351 InstructionCost VecCost = VectorCost(CommonCost); in getEntryCost() 17787 InstructionCost VectorCost = 0, ScalarCost; in getReductionCost() local 17830 VectorCost = in getReductionCost() 17847 VectorCost = TTI->getMinMaxReductionCost(Id, VectorTy, FMF, CostKind); in getReductionCost() 17858 LLVM_DEBUG(dbgs() << "SLP: Adding cost " << VectorCost - ScalarCost in getReductionCost() 17861 return VectorCost - ScalarCost; in getReductionCost()
1599 InstructionCost VectorCost = in getGatherScatterOpCost() local1655 return VectorCost; in getGatherScatterOpCost()1674 return VectorCost; in getGatherScatterOpCost()
7666 InstructionCost VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local7683 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()7688 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()7689 return ScalarCost > VectorCost; in isProfitableToPromote()