Home
last modified time | relevance | path

Searched refs:ScalarCost (Results 1 – 6 of 6) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
HDSystemZTargetTransformInfo.cpp431 unsigned ScalarCost = in getArithmeticInstrCost() local
433 unsigned Cost = (VF * ScalarCost) + getScalarizationOverhead(Ty, Args); in getArithmeticInstrCost()
722 unsigned ScalarCost = getCastInstrCost(Opcode, Dst->getScalarType(), in getCastInstrCost() local
724 unsigned TotCost = VF * ScalarCost; in getCastInstrCost()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
HDBasicTTIImpl.h1212 unsigned ScalarCost = variable
1215 return ScalarCalls * ScalarCost + ScalarizationCost;
1529 unsigned ScalarCost = ConcreteTTI->getIntrinsicInstrCost( variable
1539 return ScalarCalls * ScalarCost + ScalarizationCost;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
HDSLPVectorizer.cpp3364 int ScalarCost = VL.size() * ScalarEltCost; in getEntryCost() local
3373 return VecCost - ScalarCost; in getEntryCost()
3385 int ScalarCost = VecTy->getNumElements() * ScalarEltCost; in getEntryCost() local
3387 return ReuseShuffleCost + VecCost - ScalarCost; in getEntryCost()
3451 int ScalarCost = VecTy->getNumElements() * ScalarEltCost; in getEntryCost() local
3454 return ReuseShuffleCost + VecCost - ScalarCost; in getEntryCost()
3467 int ScalarCost = VecTy->getNumElements() * ScalarEltCost; in getEntryCost() local
3470 return ReuseShuffleCost + VecCost - ScalarCost; in getEntryCost()
3547 int ScalarCost = 0; in getEntryCost() local
3563 ScalarCost += TTI->getInstructionCost( in getEntryCost()
[all …]
HDLoopVectorize.cpp5082 const float ScalarCost = Cost; in selectVectorizationFactor() local
5084 LLVM_DEBUG(dbgs() << "LV: Scalar loop costs: " << (int)ScalarCost << ".\n"); in selectVectorizationFactor()
5119 Cost = ScalarCost; in selectVectorizationFactor()
5122 LLVM_DEBUG(if (ForceVectorization && Width > 1 && Cost >= ScalarCost) dbgs() in selectVectorizationFactor()
5674 unsigned ScalarCost = VF * getInstructionCost(I, 1).first; in computePredInstDiscount() local
5679 ScalarCost += TTI.getScalarizationOverhead(ToVectorTy(I->getType(), VF), in computePredInstDiscount()
5681 ScalarCost += VF * TTI.getCFInstrCost(Instruction::PHI); in computePredInstDiscount()
5695 ScalarCost += TTI.getScalarizationOverhead( in computePredInstDiscount()
5700 ScalarCost /= getReciprocalPredBlockProb(); in computePredInstDiscount()
5704 Discount += VectorCost - ScalarCost; in computePredInstDiscount()
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
HDCodeGenPrepare.cpp6495 uint64_t ScalarCost = in isProfitableToPromote() local
6512 ScalarCost += TTI.getArithmeticInstrCost( in isProfitableToPromote()
6519 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()
6520 return ScalarCost > VectorCost; in isProfitableToPromote()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
HDX86TargetTransformInfo.cpp879 int ScalarCost = getArithmeticInstrCost( in getArithmeticInstrCost() local
882 return 20 * LT.first * LT.second.getVectorNumElements() * ScalarCost; in getArithmeticInstrCost()