search for: todr

Displaying 4 results from an estimated 4 matches for "todr".

Did you mean: todo
2017 Jul 31
3
[RFC] Profile guided section layout
Hi Rafael, On 07/31/2017 04:20 PM, Rafael Avila de Espindola via llvm-dev wrote: > However, do we need to start with instrumentation? The original paper > uses sampling with good results and current intel cpus can record every > branch in a program. > > I would propose starting with just an lld patch that reads the call > graph from a file. The format would be very similar to
2017 Jul 31
2
[RFC] Profile guided section layout
...urn Res.first->second; + }; + + // Create the graph. + for (const auto &C : Config->CFGProfile) { + if (C.second == 0) + continue; + DefinedRegular *FromDR = + dyn_cast_or_null<DefinedRegular>(Symtab->find(C.first.first)); + DefinedRegular *ToDR = + dyn_cast_or_null<DefinedRegular>(Symtab->find(C.first.second)); + if (!FromDR || !ToDR) + continue; + auto FromSB = dyn_cast_or_null<const InputSectionBase>(FromDR->Section); + auto ToSB = dyn_cast_or_null<const InputSectionBase>(ToDR->S...
2017 Jun 15
7
[RFC] Profile guided section layout
...t;second; + }; + + // Create the graph. + for (const auto &C : Config->CFGProfile) { + if (C.second == 0) + continue; + DefinedRegular *FromDR = dyn_cast_or_null<DefinedRegular>( + Symtab<ELFT>::X->find(C.first.first)); + DefinedRegular *ToDR = dyn_cast_or_null<DefinedRegular>( + Symtab<ELFT>::X->find(C.first.second)); + if (!FromDR || !ToDR) + continue; + auto FromSB = dyn_cast_or_null<const InputSectionBase>(FromDR->Section); + auto ToSB = dyn_cast_or_null<const InputSectionBas...
2017 Aug 01
2
[RFC] Profile guided section layout
...urn Res.first->second; + }; + + // Create the graph. + for (const auto &C : Config->CFGProfile) { + if (C.second == 0) + continue; + DefinedRegular *FromDR = + dyn_cast_or_null<DefinedRegular>(Symtab->find(C.first.first)); + DefinedRegular *ToDR = + dyn_cast_or_null<DefinedRegular>(Symtab->find(C.first.second)); + if (!FromDR || !ToDR) + continue; + auto FromSB = dyn_cast_or_null<const InputSectionBase>(FromDR->Section); + auto ToSB = dyn_cast_or_null<const InputSectionBase>(ToDR->S...