aboutsummaryrefslogtreecommitdiff
path: root/llvm/include/llvm/IR/AutoUpgrade.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/IR/AutoUpgrade.h')
-rw-r--r--llvm/include/llvm/IR/AutoUpgrade.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm/IR/AutoUpgrade.h b/llvm/include/llvm/IR/AutoUpgrade.h
index 66f38e5b55d1..42f50cc991de 100644
--- a/llvm/include/llvm/IR/AutoUpgrade.h
+++ b/llvm/include/llvm/IR/AutoUpgrade.h
@@ -16,6 +16,7 @@
#include "llvm/ADT/StringRef.h"
namespace llvm {
+ class AttrBuilder;
class CallInst;
class Constant;
class Function;
@@ -91,6 +92,10 @@ namespace llvm {
/// pointers.
std::string UpgradeDataLayoutString(StringRef DL, StringRef Triple);
+ /// Upgrade function attributes "no-frame-pointer-elim" and
+ /// "no-frame-pointer-elim-non-leaf" to "frame-pointer".
+ void UpgradeFramePointerAttributes(AttrBuilder &B);
+
} // End llvm namespace
#endif