A patch to enable the llvm-xray graph subcommand to color edges and
vertices based on statistics and to annotate vertices with statistics.
Depends on D27243
Paths
| Differential D28225
Implemented color coding and Vertex labels in XRay Graph ClosedPublic Authored by varno on Jan 2 2017, 10:35 PM.
Details Summary A patch to enable the llvm-xray graph subcommand to color edges and Depends on D27243
Diff Detail
Event Timelinevarno updated this object. Comment Actions Needs test coverage for the color functionality, I think? (I don't see any colors being tested in the tests)
Comment Actions In general I think this could do with a bit more documentation, about the semantics of what we're trying to do (as opposed to how we're doing it).
Comment Actions Also, I think you'd want to rebase this given that llvm-xray graph has landed upstream. This revision now requires changes to proceed.Jan 22 2017, 7:33 PM varno edited edge metadata. Comment Actions
varno added a child revision: D29005: [XRay] A graph Class for the llvm-xray graph.Jan 22 2017, 10:23 PM dberris added inline comments.
This revision now requires changes to proceed.Jan 22 2017, 10:38 PM dberris added inline comments.
This revision now requires changes to proceed.Jan 23 2017, 9:37 PM Comment Actions LGTM -- we can probably use some more user-facing documentation explaining a bit what this tool actually does (probably time to update docs/XRay.rst) but something to be done for later.
This revision is now accepted and ready to land.Jan 24 2017, 3:54 PM Closed by commit rL293031: Implemented color coding and Vertex labels in XRay Graph (authored by dberris). · Explain WhyJan 24 2017, 11:26 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 85507 test/tools/llvm-xray/X86/Inputs/simple-instrmap.yaml
test/tools/llvm-xray/X86/graph-color-simple-case.yaml
test/tools/llvm-xray/X86/graph-deduce-tail-call.yaml
test/tools/llvm-xray/X86/graph-simple-case.yaml
tools/llvm-xray/xray-graph.h
tools/llvm-xray/xray-graph.cc
|
Empty line after this?