Searched refs:InsertCost (Results 1 – 2 of 2) sorted by relevance
635 InstructionCost InsertCost = in scalarizeBinopOrCmp() local638 (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()
4592 InstructionCost InsertCost = TTI->getScalarizationOverhead( in getTreeCost() local4596 Cost -= InsertCost; in getTreeCost()4597 LLVM_DEBUG(dbgs() << "SLP: subtracting the cost " << InsertCost in getTreeCost()