Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp4819 float VectorCost = C.first / (float)i; in selectVectorizationFactor() local
4821 << " costs: " << (int)VectorCost << ".\n"); in selectVectorizationFactor()
4828 if (VectorCost < Cost) { in selectVectorizationFactor()
4829 Cost = VectorCost; in selectVectorizationFactor()
5339 unsigned VectorCost = getInstructionCost(I, VF).first; in computePredInstDiscount() local
5375 Discount += VectorCost - ScalarCost; in computePredInstDiscount()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6115 uint64_t VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local
6132 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()
6137 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()
6138 return ScalarCost > VectorCost; in isProfitableToPromote()