Rename hasCompatibleFunctionAttributes->areInlineCompatible based
[oota-llvm.git] / include / llvm / Analysis / TargetTransformInfoImpl.h
index 2abe0a58b840749162895b81f219fe6916f23f77..9805f6bc663a15abbc7f1a25acffb3e15b14da84 100644 (file)
@@ -325,8 +325,8 @@ public:
     return nullptr;
   }
 
-  bool hasCompatibleFunctionAttributes(const Function *Caller,
-                                       const Function *Callee) const {
+  bool areInlineCompatible(const Function *Caller,
+                           const Function *Callee) const {
     return (Caller->getFnAttribute("target-cpu") ==
             Callee->getFnAttribute("target-cpu")) &&
            (Caller->getFnAttribute("target-features") ==