OSDN Git Service

[ThinLTO] Include linkage type in function summary
authorTeresa Johnson <tejohnson@google.com>
Sat, 6 Feb 2016 16:07:35 +0000 (16:07 +0000)
committerTeresa Johnson <tejohnson@google.com>
Sat, 6 Feb 2016 16:07:35 +0000 (16:07 +0000)
commit74409a0b8aeb0f79656d28940e48960550ac5d83
treed9870d89fa717af6bb9a98c098d7182a676560bd
parent6c6df98e8f519cc363054c1cd7006fe4612f99fb
[ThinLTO] Include linkage type in function summary

Summary:
Adds the linkage type to both the per-module and combined function
summaries, which subsumes the current islocal bit. This will eventually
be used to optimized linkage types based on global summary-based
analysis.

Reviewers: joker.eph

Subscribers: joker.eph, davidxl, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259993 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/LLVMBitCodes.h
include/llvm/IR/FunctionInfo.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/IR/FunctionInfo.cpp
test/Bitcode/thinlto-function-summary.ll
test/Bitcode/thinlto-summary-linkage-types.ll [new file with mode: 0644]