Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp632 InstructionCost InsertCost = in scalarizeBinopOrCmp() local
635 (IsConst0 ? 0 : InsertCost) + (IsConst1 ? 0 : InsertCost) + VectorOpCost; in scalarizeBinopOrCmp()
636 InstructionCost NewCost = ScalarOpCost + InsertCost + in scalarizeBinopOrCmp()
637 (IsConst0 ? 0 : !Ins0->hasOneUse() * InsertCost) + in scalarizeBinopOrCmp()
638 (IsConst1 ? 0 : !Ins1->hasOneUse() * InsertCost); in scalarizeBinopOrCmp()
H A DSLPVectorizer.cpp4491 InstructionCost InsertCost = TTI->getScalarizationOverhead( in getTreeCost() local
4495 Cost -= InsertCost; in getTreeCost()
4496 LLVM_DEBUG(dbgs() << "SLP: subtracting the cost " << InsertCost in getTreeCost()