Home
last modified time | relevance | path

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

/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h610 unsigned ScalarCost = static_cast<T *>(this)->getIntrinsicInstrCost( in getIntrinsicInstrCost() local
613 return ScalarCalls * ScalarCost + ScalarizationCost; in getIntrinsicInstrCost()
732 unsigned ScalarCost = static_cast<T *>(this)->getIntrinsicInstrCost( in getIntrinsicInstrCost() local
741 return ScalarCalls * ScalarCost + ScalarizationCost; in getIntrinsicInstrCost()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp1521 int ScalarCost = VL.size() * TTI->getCastInstrCost(VL0->getOpcode(), in getEntryCost() local
1526 return VecCost - ScalarCost; in getEntryCost()
1550 int ScalarCost = 0; in getEntryCost() local
1555 ScalarCost = VecTy->getNumElements() * in getEntryCost()
1596 ScalarCost = VecTy->getNumElements() * in getEntryCost()
1602 return VecCost - ScalarCost; in getEntryCost()
1610 int ScalarCost = in getEntryCost() local
1616 return VecCost - ScalarCost; in getEntryCost()
1660 int ScalarCost = 0; in getEntryCost() local
1666 ScalarCost += in getEntryCost()
[all …]
DLoopVectorize.cpp4826 const float ScalarCost = Cost; in selectVectorizationFactor() local
4829 DEBUG(dbgs() << "LV: Scalar loop costs: " << (int)ScalarCost << ".\n"); in selectVectorizationFactor()
4851 DEBUG(if (ForceVectorization && Width > 1 && Cost >= ScalarCost) dbgs() in selectVectorizationFactor()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4833 uint64_t ScalarCost = in isProfitableToPromote() local
4850 ScalarCost += TTI.getArithmeticInstrCost( in isProfitableToPromote()
4856 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()
4857 return ScalarCost > VectorCost; in isProfitableToPromote()