[ThinLTO] Remove GlobalValueInfo class from index
authorTeresa Johnson <tejohnson@google.com>
Sun, 24 Apr 2016 14:57:11 +0000 (14:57 +0000)
committerTeresa Johnson <tejohnson@google.com>
Sun, 24 Apr 2016 14:57:11 +0000 (14:57 +0000)
commit28e457bccd6d1dd6ba91d36253073372a1bb5d75
tree5368e89d5262e31ef567218d31c72a894cde3f5c
parent9f5697ef6803acededad77a51b40a3fbec905c81
[ThinLTO] Remove GlobalValueInfo class from index

Summary:
Remove the GlobalValueInfo and change the ModuleSummaryIndex to directly
reference summary objects. The info structure was there to support lazy
parsing of the combined index summary objects, which is no longer
needed and not supported.

Reviewers: joker.eph

Subscribers: joker.eph, llvm-commits

Differential Revision: http://reviews.llvm.org/D19462

llvm-svn: 267344
llvm/include/llvm/Analysis/ModuleSummaryAnalysis.h
llvm/include/llvm/IR/ModuleSummaryIndex.h
llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
llvm/lib/IR/ModuleSummaryIndex.cpp
llvm/lib/LTO/ThinLTOCodeGenerator.cpp
llvm/lib/Transforms/IPO/FunctionImport.cpp