[ThinLTO] Renaming of function index to module summary index (NFC)
authorTeresa Johnson <tejohnson@google.com>
Tue, 15 Mar 2016 00:04:37 +0000 (00:04 +0000)
committerTeresa Johnson <tejohnson@google.com>
Tue, 15 Mar 2016 00:04:37 +0000 (00:04 +0000)
commit26ab5772b058fcddabfecb6736a3b78c67bc1751
tree89b82d60f6e4ef3d7970cf1dc620c4f3a78bad2e
parentda8b3f1914e0cc4eb25af376583a23e660718115
[ThinLTO] Renaming of function index to module summary index (NFC)

(Resubmitting after fixing missing file issue)

With the changes in r263275, there are now more than just functions in
the summary. Completed the renaming of data structures (started in
r263275) to reflect the wider scope. In particular, changed the
FunctionIndex* data structures to ModuleIndex*, and renamed related
variables and comments. Also renamed the files to reflect the changes.

A companion clang patch will immediately succeed this patch to reflect
this renaming.

llvm-svn: 263513
47 files changed:
llvm/include/llvm/Bitcode/BitcodeWriterPass.h
llvm/include/llvm/Bitcode/LLVMBitCodes.h
llvm/include/llvm/Bitcode/ReaderWriter.h
llvm/include/llvm/IR/ModuleSummaryIndex.h [moved from llvm/include/llvm/IR/FunctionInfo.h with 93% similarity]
llvm/include/llvm/LTO/ThinLTOCodeGenerator.h
llvm/include/llvm/Linker/Linker.h
llvm/include/llvm/Object/Binary.h
llvm/include/llvm/Object/ModuleSummaryIndexObjectFile.h [moved from llvm/include/llvm/Object/FunctionIndexObjectFile.h with 56% similarity]
llvm/include/llvm/Transforms/IPO.h
llvm/include/llvm/Transforms/IPO/FunctionImport.h
llvm/include/llvm/Transforms/IPO/PassManagerBuilder.h
llvm/include/llvm/Transforms/Utils/FunctionImportUtils.h
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
llvm/lib/IR/CMakeLists.txt
llvm/lib/IR/ModuleSummaryIndex.cpp [moved from llvm/lib/IR/FunctionInfo.cpp with 88% similarity]
llvm/lib/LTO/ThinLTOCodeGenerator.cpp
llvm/lib/Linker/LinkModules.cpp
llvm/lib/Object/CMakeLists.txt
llvm/lib/Object/ModuleSummaryIndexObjectFile.cpp [moved from llvm/lib/Object/FunctionIndexObjectFile.cpp with 56% similarity]
llvm/lib/Transforms/IPO/FunctionImport.cpp
llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
llvm/lib/Transforms/Utils/FunctionImportUtils.cpp
llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll
llvm/test/Bitcode/thinlto-function-summary-callgraph.ll
llvm/test/Bitcode/thinlto-function-summary-refgraph.ll
llvm/test/Bitcode/thinlto-function-summary.ll
llvm/test/Bitcode/thinlto-summary-linkage-types.ll
llvm/test/Linker/funcimport.ll
llvm/test/Linker/funcimport2.ll
llvm/test/Linker/funcimport_appending_global.ll
llvm/test/Linker/funcimport_comdat.ll
llvm/test/Linker/thinlto_funcimport_debug.ll
llvm/test/ThinLTO/X86/funcimport.ll
llvm/test/Transforms/FunctionImport/adjustable_threshold.ll
llvm/test/Transforms/FunctionImport/funcimport.ll
llvm/test/Transforms/FunctionImport/funcimport_alias.ll
llvm/test/Transforms/FunctionImport/funcimport_debug.ll
llvm/test/tools/gold/X86/pr19901_thinlto.ll
llvm/test/tools/gold/X86/thinlto.ll
llvm/test/tools/gold/X86/thinlto_linkonceresolution.ll
llvm/test/tools/llvm-lto/thinlto.ll
llvm/tools/gold/gold-plugin.cpp
llvm/tools/llvm-as/llvm-as.cpp
llvm/tools/llvm-link/llvm-link.cpp
llvm/tools/llvm-lto/llvm-lto.cpp