projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simplify and rename function overrideFunctionAttributes. NFC.
[oota-llvm.git]
/
include
/
llvm
/
Target
/
TargetOptions.h
diff --git
a/include/llvm/Target/TargetOptions.h
b/include/llvm/Target/TargetOptions.h
index d70fe94a9bb280af58737a4030c8d8c985381f71..8180f5a0c3bb49b510cd2e47de8c950004d84dbb 100644
(file)
--- a/
include/llvm/Target/TargetOptions.h
+++ b/
include/llvm/Target/TargetOptions.h
@@
-222,6
+222,10
@@
namespace llvm {
MCTargetOptions MCOptions;
};
+/// \brief Set function attributes of functions in Module M based on CPU and
+/// Features.
+void setFunctionAttributes(StringRef CPU, StringRef Features, Module &M);
+
// Comparison operators: