Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4920 uint64_t VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local
4937 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()
4941 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()
4942 return ScalarCost > VectorCost; in isProfitableToPromote()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp5301 float VectorCost = C.first / (float)i; in selectVectorizationFactor() local
5303 << " costs: " << (int)VectorCost << ".\n"); in selectVectorizationFactor()
5310 if (VectorCost < Cost) { in selectVectorizationFactor()
5311 Cost = VectorCost; in selectVectorizationFactor()