[ThinLTO] Add GraphTraits for FunctionSummaries
authorCharles Saternos <charles.saternos@gmail.com>
Sun, 11 Feb 2018 22:06:20 +0000 (22:06 +0000)
committerCharles Saternos <charles.saternos@gmail.com>
Sun, 11 Feb 2018 22:06:20 +0000 (22:06 +0000)
commitd3e7d19f5998822b229d8fdd633a53d101bd28d4
treed8fdcd87f76617cd5a9c6c641e6d85d50aa347f9
parent2328c589f1b29804a246974f24cbaf7d7c1a55bd
[ThinLTO] Add GraphTraits for FunctionSummaries

Add GraphTraits definitions to the FunctionSummary and ModuleSummaryIndex classes. These GraphTraits will be used to construct find SCC's in ThinLTO analysis passes.

llvm-svn: 324854
llvm/include/llvm/IR/ModuleSummaryIndex.h
llvm/lib/IR/ModuleSummaryIndex.cpp
llvm/lib/LTO/LTO.cpp
llvm/lib/Transforms/IPO/FunctionImport.cpp