Lines Matching defs:VecCost
3579 InstructionCost VecCost, InstructionCost ScalarCost,
3585 dbgs() << "SLP: VectorCost = " << VecCost << "\n";
3587 dbgs() << "SLP: ReuseShuffleCost + VecCost - ScalarCost = "
3588 << ReuseShuffleCost + VecCost - ScalarCost << "\n";
9507 InstructionCost VecCost = 0;
9546 VecCost = TTI.getPointersChainCost(PtrsRetainedInVecCode, BasePtr,
9574 VecCost = TTI.getGEPCost(BaseGEP->getSourceElementType(),
9580 return std::make_pair(ScalarCost, VecCost);
11175 InstructionCost VecCost = VectorCost(CommonCost);
11205 VecCost += TTI->getCastInstrCost(VecOpcode, UserVecTy, VecTy, CCH,
11210 LLVM_DEBUG(dumpTreeCosts(E, CommonCost, VecCost - CommonCost,
11212 return VecCost - ScalarCost;
11221 InstructionCost VecCost = 0;
11222 std::tie(ScalarCost, VecCost) = getGEPCosts(
11224 LLVM_DEBUG(dumpTreeCosts(E, 0, VecCost, ScalarCost,
11227 return VecCost - ScalarCost;
11550 InstructionCost VecCost =
11565 VecCost += ::getShuffleCost(
11571 return VecCost + CommonCost;
11580 InstructionCost VecCost = GetMinMaxCost(VecTy);
11581 return VecCost + CommonCost;
11806 // VecCost is equal to sum of the cost of creating 2 vectors
11808 InstructionCost VecCost = 0;
11817 VecCost =
11819 VecCost +=
11823 VecCost = TTIRef.getCmpSelInstrCost(
11827 VecCost += TTIRef.getCmpSelInstrCost(
11847 VecCost =
11855 return VecCost;
11858 VecCost = TTIRef.getCastInstrCost(E->getOpcode(), VecTy, SrcTy,
11860 VecCost +=
11872 VecCost += ::getShuffleCost(TTIRef, TargetTransformInfo::SK_PermuteTwoSrc,
11886 return AltVecCost < VecCost ? AltVecCost : VecCost;
11889 return VecCost;