Searched refs:VectorCost (Results 1 – 4 of 4) sorted by relevance
1585 InstructionCost VectorCost = in getGatherScatterOpCost() local1639 return VectorCost; in getGatherScatterOpCost()1658 return VectorCost; in getGatherScatterOpCost()
6934 function_ref<InstructionCost(InstructionCost)> VectorCost) { in getEntryCost() argument6947 InstructionCost VecCost = VectorCost(CommonCost); in getEntryCost()12900 InstructionCost VectorCost = 0, ScalarCost; in getReductionCost() local12914 VectorCost = in getReductionCost()12925 VectorCost = in getReductionCost()12946 VectorCost = TTI->getMinMaxReductionCost(VectorTy, VecCondTy, in getReductionCost()12962 LLVM_DEBUG(dbgs() << "SLP: Adding cost " << VectorCost - ScalarCost in getReductionCost()12965 return VectorCost - ScalarCost; in getReductionCost()
6237 InstructionCost VectorCost = getInstructionCost(I, VF).first; in computePredInstDiscount() local6282 Discount += VectorCost - ScalarCost; in computePredInstDiscount()
7390 InstructionCost VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local7407 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()7412 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()7413 return ScalarCost > VectorCost; in isProfitableToPromote()