Lines Matching refs:SchedPolicy
56 const SchedulingPolicy &SchedPolicy) { in computeCostFor() argument
57 if (SchedPolicy == SchedulingPolicy::SP_TRIVIAL) in computeCostFor()
63 switch (SchedPolicy) { in computeCostFor()
81 SchedulingPolicy &SchedPolicy) { in estimateTotalCost() argument
82 if (SchedPolicy == SchedulingPolicy::SP_TRIVIAL) in estimateTotalCost()
88 TotalCost += computeCostFor(BF, SkipPredicate, SchedPolicy); in estimateTotalCost()
96 SchedPolicy = SP_TRIVIAL; in estimateTotalCost()
113 void runOnEachFunction(BinaryContext &BC, SchedulingPolicy SchedPolicy, in runOnEachFunction() argument
141 const unsigned TotalCost = estimateTotalCost(BC, SkipPredicate, SchedPolicy); in runOnEachFunction()
154 CurrentCost += computeCostFor(BF, SkipPredicate, SchedPolicy); in runOnEachFunction()
167 BinaryContext &BC, SchedulingPolicy SchedPolicy, in runOnEachFunctionWithUniqueAllocId() argument
198 const unsigned TotalCost = estimateTotalCost(BC, SkipPredicate, SchedPolicy); in runOnEachFunctionWithUniqueAllocId()
211 CurrentCost += computeCostFor(BF, SkipPredicate, SchedPolicy); in runOnEachFunctionWithUniqueAllocId()