OSDN Git Service

[XRAY] A Color Choosing helper for XRay Graph
authorDean Michael Berris <dberris@google.com>
Sat, 25 Feb 2017 00:26:42 +0000 (00:26 +0000)
committerDean Michael Berris <dberris@google.com>
Sat, 25 Feb 2017 00:26:42 +0000 (00:26 +0000)
commitde5a65f30aa424ff40b5d11aeb8db80f072e0cbb
treec0dff544ca7fcd9d4e0b496e64c578904a176c63
parentda9c4a6e9ac78a71227cc267b36fae9aab68d834
[XRAY] A Color Choosing helper for XRay Graph

Summary:
In Preparation for graph comparison, this patch breaks out the color
choice code from xray-graph into a library and adds polynomials for
the Sequential and Difference sets from ColorBrewer.

Depends on D29005

Reviewers: dblaikie, chandlerc, dberris

Reviewed By: dberris

Subscribers: chandlerc, llvm-commits, mgorny

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296210 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-xray/X86/graph-color-simple-case.yaml
tools/llvm-xray/CMakeLists.txt
tools/llvm-xray/xray-color-helper.cc [new file with mode: 0644]
tools/llvm-xray/xray-color-helper.h [new file with mode: 0644]
tools/llvm-xray/xray-graph.cc
tools/llvm-xray/xray-graph.h