LLVM 24.0.0git
SplitModuleCommon.h File Reference

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Functions

LLVM_ABI void llvm::nameUnnamedGlobalValue (GlobalValue &GV)
 Assign a stable name to GV if it is unnamed, so that it is named consistently across the split partitions.
LLVM_ABI void llvm::externalizeGlobal (GlobalValue &GV)
 If GV has local linkage, promote it to external + hidden visibility so it can be referenced across module partitions, and assign a stable name to unnamed entities (see nameUnnamedGlobalValue).