Module pass that merges functions using stable function hashes.
Synopsis
Declared in <llvm/CodeGen/GlobalMergeFunctions.h>
class GlobalMergeFunc;
Description
Identifies and merges functions with matching hashes across modules to optimize binary size.
Member Functions
Name |
Description |
|
Construct a global merge function pass. |
Analyze module to create stable function into LocalFunctionMap. |
|
Emit LocalFunctionMap into __llvm_merge section. |
|
Initialize the merger mode from module |
|
Merge functions in the module using the given function map. |
|
Run analysis and merging on module |
Static Data Members
Name |
Description |
Suffix identifying the merged function that parameterizes constant values. |
Created with MrDocs