Home
last modified time | relevance | path

Searched refs:VectorCost (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp4926 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() local
5968 Discount += VectorCost - ScalarCost; in computePredInstDiscount()
6702 InstructionCost VectorCost = InstructionCost::getInvalid(); in setVectorizedCallDecision() local
6823 VectorCost = in setVectorizedCallDecision()
6835 if (VectorCost <= Cost) { in setVectorizedCallDecision()
6836 Cost = VectorCost; in setVectorizedCallDecision()
H A DSLPVectorizer.cpp7831 function_ref<InstructionCost(InstructionCost)> VectorCost) { in getEntryCost() argument
7847 InstructionCost VecCost = VectorCost(CommonCost); in getEntryCost()
15087 InstructionCost VectorCost = 0, ScalarCost; in getReductionCost() local
15130 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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1587 InstructionCost VectorCost = in getGatherScatterOpCost() local
1643 return VectorCost; in getGatherScatterOpCost()
1662 return VectorCost; in getGatherScatterOpCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7552 InstructionCost VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local
7569 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()
7574 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()
7575 return ScalarCost > VectorCost; in isProfitableToPromote()