Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp217 int RolledDynamicCost; member
268 int RolledDynamicCost = 0; in analyzeLoopUnrollCost() local
417 RolledDynamicCost += TTI.getUserCost(&I); in analyzeLoopUnrollCost()
499 if (UnrolledCost == RolledDynamicCost) { in analyzeLoopUnrollCost()
524 << "RolledDynamicCost: " << RolledDynamicCost << "\n"); in analyzeLoopUnrollCost()
525 return {{UnrolledCost, RolledDynamicCost}}; in analyzeLoopUnrollCost()
642 uint64_t RolledDynamicCost) { in canUnrollCompletely() argument
655 assert(RolledDynamicCost >= UnrolledCost && in canUnrollCompletely()
663 (uint64_t)(RolledDynamicCost - UnrolledCost) * 100ull / RolledDynamicCost; in canUnrollCompletely()
684 DEBUG(dbgs() << " Rolled dynamic cost: " << RolledDynamicCost << "\n"); in canUnrollCompletely()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp296 unsigned RolledDynamicCost; member
349 unsigned RolledDynamicCost = 0; in analyzeLoopUnrollCost() local
503 RolledDynamicCost += TTI.getUserCost(&I); in analyzeLoopUnrollCost()
590 if (UnrolledCost == RolledDynamicCost) { in analyzeLoopUnrollCost()
615 << "RolledDynamicCost: " << RolledDynamicCost << "\n"); in analyzeLoopUnrollCost()
616 return {{UnrolledCost, RolledDynamicCost}}; in analyzeLoopUnrollCost()
696 if (Cost.RolledDynamicCost >= std::numeric_limits<unsigned>::max() / 100) in getFullUnrollBoostingFactor()
700 return std::min(100 * Cost.RolledDynamicCost / Cost.UnrolledCost, in getFullUnrollBoostingFactor()