OSDN Git Service

[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)
commitf2403fe5b55fe2e48b2d3401e177a213cf3402f9
tree14bf46d1c6f62cbd259d766d79804160440ecc09
parenta27966ebf6c5985d27b8e0024e5f0ffcadce861c
[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.

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