Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4036 uint64_t VectorCost = StoreExtractCombineCost; in isProfitableToPromote() local
4053 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()
4057 << ScalarCost << "\nVector: " << VectorCost << '\n'); in isProfitableToPromote()
4058 return ScalarCost > VectorCost; in isProfitableToPromote()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp4561 float VectorCost = expectedCost(i) / (float)i; in selectVectorizationFactor() local
4563 (int)VectorCost << ".\n"); in selectVectorizationFactor()
4564 if (VectorCost < Cost) { in selectVectorizationFactor()
4565 Cost = VectorCost; in selectVectorizationFactor()