Searched refs:TotalCost (Results 1 – 6 of 6) sorted by relevance
822 TotalCost -= PCost; in updateScore()824 TotalCost += PCost; in updateScore()833 CostType TotalCost = 0; member in llvm::__anon00e757230111::SplitProposal844 OS << "[proposal] " << Name << ", total cost:" << TotalCost in print()880 CodeSizeScore = double(TotalCost) / ModuleCost; in calculateScores()930 CostType TotalCost = 0; member1039 Entry.TotalCost += Cost; in setupWorkList()1048 if (A.TotalCost != B.TotalCost) in setupWorkList()1049 return A.TotalCost > B.TotalCost; in setupWorkList()1066 dbgs() << "(total_cost:" << Entry.TotalCost in setupWorkList()
111 int64_t TotalCost = 0; in run() local116 TotalCost += Edge.Cost * Edge.Flow; in run()124 << " of " << TotalCost << " cost\n"); in run()127 return TotalCost; in run()
365 int TotalCost = TotalSecondaryCost + IC.getCost() * NumCallerUsers; in shouldBeDeferred() local367 return TotalCost < Allowance; in shouldBeDeferred()
209 auto TotalCost = Scaled64::get(Cost.getValue()); in getOpCostOnBranch() local213 TotalCost += It->second.NonPredCost; in getOpCostOnBranch()215 return TotalCost; in getOpCostOnBranch()
2598 InstructionCost TotalCost = ComparisonCost * BranchCost * DifferentBlocks; in findCostForOutputBlocks() local2600 LLVM_DEBUG(dbgs() << "Adding: " << TotalCost in findCostForOutputBlocks()2603 OutputCost += TotalCost * NumOutputBranches; in findCostForOutputBlocks()
9558 InstructionCost TotalCost = Checks.getCost(); in isOutsideLoopWorkProfitable() local9559 if (!TotalCost.isValid()) in isOutsideLoopWorkProfitable()9564 TotalCost += calculateEarlyExitCost(CostCtx, Plan, VF.Width); in isOutsideLoopWorkProfitable()9570 if (TotalCost > VectorizeMemoryCheckThreshold) { in isOutsideLoopWorkProfitable()9616 uint64_t RtC = TotalCost.getValue(); in isOutsideLoopWorkProfitable()