Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp3979 InstructionCost VectorCost, in isMoreProfitable()
3990 return VectorCost * (MaxTripCount / VF) + in isMoreProfitable()
3992 return VectorCost * divideCeil(MaxTripCount, VF); in isMoreProfitable()
5015 InstructionCost VectorCost = getInstructionCost(I, VF); in computePredInstDiscount() local
5064 Discount += VectorCost - ScalarCost; in computePredInstDiscount()
5777 InstructionCost VectorCost = InstructionCost::getInvalid(); in setVectorizedCallDecision() local
5895 VectorCost = TTI.getCallInstrCost(nullptr, RetTy, Tys, CostKind); in setVectorizedCallDecision()
5906 if (VectorCost <= Cost) { in setVectorizedCallDecision()
5907 Cost = VectorCost; in setVectorizedCallDecision()
H A DSLPVectorizer.cpp12973 InstructionCost VectorCost = 0; in getEntryCost() local
12975 VectorCost = ::getShuffleCost( in getEntryCost()
12988 VectorCost = ::getShuffleCost(*TTI, TTI::SK_PermuteTwoSrc, in getEntryCost()
12992 LLVM_DEBUG(dumpTreeCosts(E, 0, VectorCost, 0, "Calculated costs for Tree")); in getEntryCost()
12993 return VectorCost; in getEntryCost()
13050 function_ref<InstructionCost(InstructionCost)> VectorCost) { in getEntryCost() argument
13066 InstructionCost VecCost = VectorCost(CommonCost); in getEntryCost()
22962 InstructionCost VectorCost = 0, ScalarCost; in getReductionCost() local
23016 VectorCost += TTI->getShuffleCost( in getReductionCost()
23022 VectorCost += TTI->getArithmeticReductionCost(RdxOpcode, VecTy, in getReductionCost()
[all …]
H A DVectorCombine.cpp1793 InstructionCost VectorCost = in scalarizeExtExtract() local
1806 VectorCost += TTI.getVectorInstrCost(Instruction::ExtractElement, DstTy, in scalarizeExtExtract()
1820 if (ScalarCost > VectorCost) in scalarizeExtExtract()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1682 InstructionCost VectorCost = in getGatherScatterOpCost() local
1738 return VectorCost; in getGatherScatterOpCost()
1757 return VectorCost; in getGatherScatterOpCost()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp8058 InstructionCost VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local
8075 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()
8080 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()
8081 return ScalarCost > VectorCost; in isProfitableToPromote()