Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp4525 VectorizationFactor ChosenFactor = ScalarCost; in selectVectorizationFactor() local
4533 ChosenFactor.Cost = InstructionCost::getMax(); in selectVectorizationFactor()
4573 if (isMoreProfitable(Candidate, ChosenFactor)) in selectVectorizationFactor()
4574 ChosenFactor = Candidate; in selectVectorizationFactor()
4585 ChosenFactor = ScalarCost; in selectVectorizationFactor()
4588 LLVM_DEBUG(if (ForceVectorization && !ChosenFactor.Width.isScalar() && in selectVectorizationFactor()
4589 !isMoreProfitable(ChosenFactor, ScalarCost)) dbgs() in selectVectorizationFactor()
4592 LLVM_DEBUG(dbgs() << "LV: Selecting VF: " << ChosenFactor.Width << ".\n"); in selectVectorizationFactor()
4593 return ChosenFactor; in selectVectorizationFactor()