aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/IR/AutoUpgrade.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/IR/AutoUpgrade.h')
-rw-r--r--include/llvm/IR/AutoUpgrade.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/llvm/IR/AutoUpgrade.h b/include/llvm/IR/AutoUpgrade.h
index 017ad93d8a2a..66f38e5b55d1 100644
--- a/include/llvm/IR/AutoUpgrade.h
+++ b/include/llvm/IR/AutoUpgrade.h
@@ -54,9 +54,9 @@ namespace llvm {
/// module is modified.
bool UpgradeModuleFlags(Module &M);
- /// This checks for objc retain release marker which should be upgraded. It
- /// returns true if module is modified.
- bool UpgradeRetainReleaseMarker(Module &M);
+ /// Convert calls to ARC runtime functions to intrinsic calls and upgrade the
+ /// old retain release marker to new module flag format.
+ void UpgradeARCRuntime(Module &M);
void UpgradeSectionAttributes(Module &M);
@@ -87,6 +87,10 @@ namespace llvm {
/// Upgrade the loop attachment metadata node.
MDNode *upgradeInstructionLoopAttachment(MDNode &N);
+ /// Upgrade the datalayout string by adding a section for address space
+ /// pointers.
+ std::string UpgradeDataLayoutString(StringRef DL, StringRef Triple);
+
} // End llvm namespace
#endif