search for: setbranchweightmetadata

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

2012 Aug 03
2
[LLVMdev] Profile Based Branch Weight Metadata
...-insert-edge-profiling inserts counters that have no relation to branch probabilities. The patch was initially based on the ProfileInfoLoader code, though has been stripped down and rewritten quite significantly. For review purposes it can be treated as new code. The key function is probably setBranchWeightMetadata(...) near the end of the patch. Regards, Alastair. -------------- next part -------------- A non-text attachment was scrubbed... Name: profile_branch_weight_metadata.patch Type: text/x-patch Size: 21582 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/201208...
2012 Aug 09
0
[LLVMdev] Profile Based Branch Weight Metadata
Hi Alastair, Your patch looks great. I am new on this part of llvm. Why do we want to get rid of ProfileInfo? Is there any email thread related to this? I understand that we want to setBranchWeightMetadata from the profiling data generated by -insert-edge-profiling. I thought the existing loader can parse the profiling data and map the data to the IR, and only the setting of metadata is missing. Thanks, Manman On Aug 3, 2012, at 12:28 PM, Alastair Murray wrote: > Hi all, > > Attached is...