Home
last modified time | relevance | path

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

/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h552 unsigned ScalarCost = static_cast<T *>(this)->getIntrinsicInstrCost( in getIntrinsicInstrCost() local
555 return ScalarCalls * ScalarCost + ScalarizationCost; in getIntrinsicInstrCost()
674 unsigned ScalarCost = static_cast<T *>(this)->getIntrinsicInstrCost( in getIntrinsicInstrCost() local
683 return ScalarCalls * ScalarCost + ScalarizationCost; in getIntrinsicInstrCost()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp1467 int ScalarCost = VL.size() * TTI->getCastInstrCost(VL0->getOpcode(), in getEntryCost() local
1472 return VecCost - ScalarCost; in getEntryCost()
1496 int ScalarCost = 0; in getEntryCost() local
1501 ScalarCost = VecTy->getNumElements() * in getEntryCost()
1542 ScalarCost = VecTy->getNumElements() * in getEntryCost()
1548 return VecCost - ScalarCost; in getEntryCost()
1556 int ScalarCost = in getEntryCost() local
1562 return VecCost - ScalarCost; in getEntryCost()
1606 int ScalarCost = 0; in getEntryCost() local
1612 ScalarCost += in getEntryCost()
[all …]
DLoopVectorize.cpp4545 const float ScalarCost = Cost; in selectVectorizationFactor() local
4548 DEBUG(dbgs() << "LV: Scalar loop costs: " << (int)ScalarCost << ".\n"); in selectVectorizationFactor()
4570 DEBUG(if (ForceVectorization && Width > 1 && Cost >= ScalarCost) dbgs() in selectVectorizationFactor()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4034 uint64_t ScalarCost = in isProfitableToPromote() local
4051 ScalarCost += TTI.getArithmeticInstrCost( in isProfitableToPromote()
4057 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()
4058 return ScalarCost > VectorCost; in isProfitableToPromote()