Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp6500 InstructionCost ScalarCallCost = VecTy->getNumElements() * ScalarEltCost; in getEntryCost() local
6506 LLVM_DEBUG(dbgs() << "SLP: Call cost " << VecCallCost - ScalarCallCost in getEntryCost()
6507 << " (" << VecCallCost << "-" << ScalarCallCost << ")" in getEntryCost()
6510 return CommonCost + VecCallCost - ScalarCallCost; in getEntryCost()
H A DLoopVectorize.cpp3432 InstructionCost ScalarCallCost = in getVectorCallCost() local
3435 return ScalarCallCost; in getVectorCallCost()
3447 ScalarCallCost * VF.getKnownMinValue() + ScalarizationCost; in getVectorCallCost()