search for: thirdpr

Displaying 2 results from an estimated 2 matches for "thirdpr".

Did you mean: thirdpp
2009 Aug 08
0
[LLVMdev] Profiling in LLVM Patch Followup 1
...r killing this premature optimization. :) > + // the sum of the edge frequencies from the incoming edges. the -> The > std::set<const BasicBlock*> ProcessedPreds; > - ProcessedPreds.insert(FirstPred); > - ProcessedPreds.insert(SecondPred); > - ProcessedPreds.insert(ThirdPred); > + double Count = 0; > for (; PI != PE; ++PI) > - if (ProcessedPreds.insert(*PI).second) > - Count += getEdgeWeight(*PI, BB); > + if (ProcessedPreds.insert(*PI).second) { > + double w = getEdgeWeight(getEdge(*PI, BB)); > + if (w == MissingValue) {...
2009 Aug 08
6
[LLVMdev] Profiling in LLVM Patch Followup 1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Daniel Dunbar wrote: > Thanks, applied as r78247. Next? :) Oh my, first he is lagging and now it's all a hurry :-) Okay, here comes the next one. I'm taking a short vacation next week so I will try to prepare 1 or 2 of the next patches so that you can work on them as you have time. Greetings, Andi - --