Home
last modified time | relevance | path

Searched refs:VectorCost (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4835 uint64_t VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local
4852 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()
4856 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()
4857 return ScalarCost > VectorCost; in isProfitableToPromote()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp4842 float VectorCost = expectedCost(i) / (float)i; in selectVectorizationFactor() local
4844 (int)VectorCost << ".\n"); in selectVectorizationFactor()
4845 if (VectorCost < Cost) { in selectVectorizationFactor()
4846 Cost = VectorCost; in selectVectorizationFactor()