Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
HDLoopVectorize.cpp5099 float VectorCost = C.first / (float)i; in selectVectorizationFactor() local
5101 << " costs: " << (int)VectorCost << ".\n"); in selectVectorizationFactor()
5108 if (VectorCost < Cost) { in selectVectorizationFactor()
5109 Cost = VectorCost; in selectVectorizationFactor()
5668 unsigned VectorCost = getInstructionCost(I, VF).first; in computePredInstDiscount() local
5704 Discount += VectorCost - ScalarCost; in computePredInstDiscount()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
HDCodeGenPrepare.cpp6497 uint64_t VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local
6514 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()
6519 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()
6520 return ScalarCost > VectorCost; in isProfitableToPromote()