Simplify and rename function overrideFunctionAttributes. NFC.
[oota-llvm.git] / include / llvm / Target / TargetOptions.h
index d70fe94a9bb280af58737a4030c8d8c985381f71..8180f5a0c3bb49b510cd2e47de8c950004d84dbb 100644 (file)
@@ -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: