Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp635 InstructionCost InsertCost = in scalarizeBinopOrCmp() local
638 (IsConst0 ? 0 : InsertCost) + (IsConst1 ? 0 : InsertCost) + VectorOpCost; in scalarizeBinopOrCmp()
639 InstructionCost NewCost = ScalarOpCost + InsertCost + in scalarizeBinopOrCmp()
640 (IsConst0 ? 0 : !Ins0->hasOneUse() * InsertCost) + in scalarizeBinopOrCmp()
641 (IsConst1 ? 0 : !Ins1->hasOneUse() * InsertCost); in scalarizeBinopOrCmp()
H A DSLPVectorizer.cpp4592 InstructionCost InsertCost = TTI->getScalarizationOverhead( in getTreeCost() local
4596 Cost -= InsertCost; in getTreeCost()
4597 LLVM_DEBUG(dbgs() << "SLP: subtracting the cost " << InsertCost in getTreeCost()