Searched refs:InsertCost (Results 1 – 2 of 2) sorted by relevance
632 InstructionCost InsertCost = in scalarizeBinopOrCmp() local635 (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()
4491 InstructionCost InsertCost = TTI->getScalarizationOverhead( in getTreeCost() local4495 Cost -= InsertCost; in getTreeCost()4496 LLVM_DEBUG(dbgs() << "SLP: subtracting the cost " << InsertCost in getTreeCost()