diff options
author | Eli Bendersky <eliben@google.com> | 2014-06-25 15:41:00 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2014-06-25 15:41:00 +0000 |
commit | bb167336b33024022c78cbc1d679758282c5b608 (patch) | |
tree | 32c8686f243c717441f4e62277c7eb225b987236 /include | |
parent | a9d13b157f39979b8e2d4e53684c5ebe20a3f152 (diff) | |
download | llvm-bb167336b33024022c78cbc1d679758282c5b608.tar.gz llvm-bb167336b33024022c78cbc1d679758282c5b608.tar.bz2 llvm-bb167336b33024022c78cbc1d679758282c5b608.tar.xz |
Rename loop unrolling and loop vectorizer metadata to have a common prefix.
[LLVM part]
These patches rename the loop unrolling and loop vectorizer metadata
such that they have a common 'llvm.loop.' prefix. Metadata name
changes:
llvm.vectorizer.* => llvm.loop.vectorizer.*
llvm.loopunroll.* => llvm.loop.unroll.*
This was a suggestion from an earlier review
(http://reviews.llvm.org/D4090) which added the loop unrolling
metadata.
Patch by Mark Heffernan.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211710 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/IR/AutoUpgrade.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/IR/AutoUpgrade.h b/include/llvm/IR/AutoUpgrade.h index 076ed4acff..a4b3c410c4 100644 --- a/include/llvm/IR/AutoUpgrade.h +++ b/include/llvm/IR/AutoUpgrade.h @@ -14,6 +14,8 @@ #ifndef LLVM_IR_AUTOUPGRADE_H #define LLVM_IR_AUTOUPGRADE_H +#include <string> + namespace llvm { class CallInst; class Constant; @@ -61,6 +63,9 @@ namespace llvm { /// Check the debug info version number, if it is out-dated, drop the debug /// info. Return true if module is modified. bool UpgradeDebugInfo(Module &M); + + /// Upgrade a metadata string constant in place. + void UpgradeMDStringConstant(std::string &String); } // End llvm namespace #endif |