Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp4330 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() local
5477 Discount += VectorCost - ScalarCost; in computePredInstDiscount()
6171 InstructionCost VectorCost = InstructionCost::getInvalid(); in setVectorizedCallDecision() local
6292 VectorCost = in setVectorizedCallDecision()
6304 if (VectorCost <= Cost) { in setVectorizedCallDecision()
6305 Cost = VectorCost; in setVectorizedCallDecision()
H A DSLPVectorizer.cpp3193 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()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1599 InstructionCost VectorCost = in getGatherScatterOpCost() local
1655 return VectorCost; in getGatherScatterOpCost()
1674 return VectorCost; in getGatherScatterOpCost()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7666 InstructionCost VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local
7683 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()
7688 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()
7689 return ScalarCost > VectorCost; in isProfitableToPromote()