-Added API for retrieving the default FPU of a CPU from TargetParser.
[oota-llvm.git] / include / llvm / Support / TargetParser.h
index dab724895e8681c7dcf8c833f6adefbab232e23a..526ee4a1fcf410fcda5f9a3c5a3da5a334d57731 100644 (file)
@@ -178,6 +178,7 @@ public:
   static     unsigned getFPUVersion(unsigned FPUKind);
   static     unsigned getFPUNeonSupportLevel(unsigned FPUKind);
   static     unsigned getFPURestriction(unsigned FPUKind);
+  static     unsigned getDefaultFPU(StringRef CPU);
   // FIXME: This should be moved to TargetTuple once it exists
   static       bool   getFPUFeatures(unsigned FPUKind,
                                      std::vector<const char*> &Features);