mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
b1e839beb3
Summary: This patch uses the lower 64-bits of the MD5 hash of a function name as a GUID in the function index, instead of storing function names. Any local functions are first given a global name by prepending the original source file name. This is the same naming scheme and GUID used by PGO in the indexed profile format. This change has a couple of benefits. The primary benefit is size reduction in the combined index file, for example 483.xalancbmk's combined index file was reduced by around 70%. It should also result in memory savings for the index file in memory, as the in-memory map is also indexed by the hash instead of the string. Second, this enables integration with indirect call promotion, since the indirect call profile targets are recorded using the same global naming convention and hash. This will enable the function importer to easily locate function summaries for indirect call profile targets to enable their import and subsequent promotion. The original source file name is recorded in the bitcode in a new module-level record for use in the ThinLTO backend pipeline. Reviewers: davidxl, joker.eph Subscribers: llvm-commits, joker.eph Differential Revision: http://reviews.llvm.org/D17028 llvm-svn: 260408 |
||
---|---|---|
.. | ||
Inputs | ||
2006-12-11-Cast-ConstExpr.ll | ||
2009-06-11-FirstClassAggregateConstant.ll | ||
aggregateInstructions.3.2.ll | ||
aggregateInstructions.3.2.ll.bc | ||
anon-functions.ll | ||
arm32_neon_vcnt_upgrade.ll | ||
atomic.ll | ||
attributes-3.3.ll | ||
attributes-3.3.ll.bc | ||
attributes.ll | ||
binaryFloatInstructions.3.2.ll | ||
binaryFloatInstructions.3.2.ll.bc | ||
binaryIntInstructions.3.2.ll | ||
binaryIntInstructions.3.2.ll.bc | ||
bitcode-wrapper-header-armv7m.ll | ||
bitcode-wrapper-header-x86_64.ll | ||
bitwiseInstructions.3.2.ll | ||
bitwiseInstructions.3.2.ll.bc | ||
blockaddress.ll | ||
calling-conventions.3.2.ll | ||
calling-conventions.3.2.ll.bc | ||
case-ranges-3.3.ll | ||
case-ranges-3.3.ll.bc | ||
cmpxchg-upgrade.ll | ||
cmpxchg-upgrade.ll.bc | ||
cmpxchg.3.6.ll | ||
cmpxchg.3.6.ll.bc | ||
compatibility-3.6.ll | ||
compatibility-3.6.ll.bc | ||
compatibility-3.7.ll | ||
compatibility-3.7.ll.bc | ||
compatibility.ll | ||
constantsTest.3.2.ll | ||
constantsTest.3.2.ll.bc | ||
conversionInstructions.3.2.ll | ||
conversionInstructions.3.2.ll.bc | ||
debug-loc-again.ll | ||
DICompileUnit-no-DWOId.ll | ||
DICompileUnit-no-DWOId.ll.bc | ||
DILocalVariable-explicit-tags.ll | ||
DILocalVariable-explicit-tags.ll.bc | ||
DISubprogram-distinct-definitions.ll | ||
DISubprogram-distinct-definitions.ll.bc | ||
drop-debug-info.3.5.ll | ||
drop-debug-info.3.5.ll.bc | ||
extractelement.ll | ||
fcmp-fast.ll | ||
flags.ll | ||
function-encoding-rel-operands.ll | ||
function-local-metadata.3.5.ll | ||
function-local-metadata.3.5.ll.bc | ||
global-variables.3.2.ll | ||
global-variables.3.2.ll.bc | ||
highLevelStructure.3.2.ll | ||
highLevelStructure.3.2.ll.bc | ||
identification.ll | ||
inalloca.ll | ||
invalid.ll | ||
invalid.ll.bc | ||
invalid.test | ||
linkage-types-3.2.ll | ||
linkage-types-3.2.ll.bc | ||
local-linkage-default-visibility.3.4.ll | ||
local-linkage-default-visibility.3.4.ll.bc | ||
mdstring-high-bits.ll | ||
memInstructions.3.2.ll | ||
memInstructions.3.2.ll.bc | ||
metadata-2.ll | ||
metadata.3.5.ll | ||
metadata.3.5.ll.bc | ||
metadata.ll | ||
miscInstructions.3.2.ll | ||
miscInstructions.3.2.ll.bc | ||
null-type.ll | ||
null-type.ll.bc | ||
old-aliases.ll | ||
old-aliases.ll.bc | ||
operand-bundles.ll | ||
padding.test | ||
pr18704.ll | ||
pr18704.ll.bc | ||
PR23310.test | ||
ptest-new.ll | ||
ptest-old.ll | ||
select.ll | ||
shuffle.ll | ||
source-filename.test | ||
ssse3_palignr.ll | ||
standardCIntrinsic.3.2.ll | ||
standardCIntrinsic.3.2.ll.bc | ||
tailcall.ll | ||
terminatorInstructions.3.2.ll | ||
terminatorInstructions.3.2.ll.bc | ||
thinlto-function-summary.ll | ||
thinlto-summary-linkage-types.ll | ||
upgrade-global-ctors.ll | ||
upgrade-global-ctors.ll.bc | ||
upgrade-loop-metadata.ll | ||
upgrade-loop-metadata.ll.bc | ||
upgrade-subprogram.ll | ||
upgrade-subprogram.ll.bc | ||
upgrade-tbaa.ll | ||
use-list-order2.ll | ||
use-list-order.ll | ||
variableArgumentIntrinsic.3.2.ll | ||
variableArgumentIntrinsic.3.2.ll.bc | ||
vectorInstructions.3.2.ll | ||
vectorInstructions.3.2.ll.bc | ||
visibility-styles.3.2.ll | ||
visibility-styles.3.2.ll.bc | ||
vst-forward-declaration.ll | ||
weak-cmpxchg-upgrade.ll | ||
weak-cmpxchg-upgrade.ll.bc | ||
weak-macho-3.5.ll | ||
weak-macho-3.5.ll.bc |