This checks for global variables which should be upgraded. If it requires upgrading, returns a pointer to the upgraded variable.
Declared in <llvm/IR/AutoUpgrade.h>
GlobalVariable*
UpgradeGlobalVariable(GlobalVariable* GV);
A pointer to the upgraded variable, or null if no upgrade is needed.
| Name | Description |
|---|---|
| GV | Global variable to inspect. |