Searched refs:VectorCost (Results 1 – 4 of 4) sorted by relevance
4926 InstructionCost VectorCost, in isMoreProfitable()4928 return CM.foldTailByMasking() ? VectorCost * divideCeil(MaxTripCount, VF) in isMoreProfitable()4929 : VectorCost * (MaxTripCount / VF) + in isMoreProfitable()5923 InstructionCost VectorCost = getInstructionCost(I, VF).first; in computePredInstDiscount() local5968 Discount += VectorCost - ScalarCost; in computePredInstDiscount()6702 InstructionCost VectorCost = InstructionCost::getInvalid(); in setVectorizedCallDecision() local6823 VectorCost = in setVectorizedCallDecision()6835 if (VectorCost <= Cost) { in setVectorizedCallDecision()6836 Cost = VectorCost; in setVectorizedCallDecision()
7831 function_ref<InstructionCost(InstructionCost)> VectorCost) { in getEntryCost() argument7847 InstructionCost VecCost = VectorCost(CommonCost); in getEntryCost()15087 InstructionCost VectorCost = 0, ScalarCost; in getReductionCost() local15130 VectorCost = in getReductionCost()15147 VectorCost = TTI->getMinMaxReductionCost(Id, VectorTy, FMF, CostKind); in getReductionCost()15158 LLVM_DEBUG(dbgs() << "SLP: Adding cost " << VectorCost - ScalarCost in getReductionCost()15161 return VectorCost - ScalarCost; in getReductionCost()
1587 InstructionCost VectorCost = in getGatherScatterOpCost() local1643 return VectorCost; in getGatherScatterOpCost()1662 return VectorCost; in getGatherScatterOpCost()
7552 InstructionCost VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local7569 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()7574 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()7575 return ScalarCost > VectorCost; in isProfitableToPromote()