OSDN Git Service

Implemented color coding and Vertex labels in XRay Graph
authorDean Michael Berris <dberris@google.com>
Wed, 25 Jan 2017 07:14:43 +0000 (07:14 +0000)
committerDean Michael Berris <dberris@google.com>
Wed, 25 Jan 2017 07:14:43 +0000 (07:14 +0000)
commit420c0701f8b0792803b96e1be894e27476abc3aa
treefbf2a509eff4e8cc819fe62f85cb08983bb66f17
parent4cfd2ebb6d7af63995af261b788d48c8f7cab14d
Implemented color coding and Vertex labels in XRay Graph

Summary:
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

Reviewers: dblaikie, dberris

Reviewed By: dberris

Subscribers: mgorny, llvm-commits

Differential Revision: https://reviews.llvm.org/D28225

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293031 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-xray/X86/Inputs/simple-instrmap.yaml
test/tools/llvm-xray/X86/graph-color-simple-case.yaml [new file with mode: 0644]
test/tools/llvm-xray/X86/graph-deduce-tail-call.yaml
test/tools/llvm-xray/X86/graph-simple-case.yaml
tools/llvm-xray/xray-graph.cc
tools/llvm-xray/xray-graph.h