Rename hasCompatibleFunctionAttributes->areInlineCompatible based
[oota-llvm.git] / lib / Analysis / TargetTransformInfo.cpp
index b426b2f121ca20321627e6d39f01eb7b97204d19..731aae23a26bd6148c749be66a2ebd7e2eb0770d 100644 (file)
@@ -288,9 +288,9 @@ Value *TargetTransformInfo::getOrCreateResultFromMemIntrinsic(
   return TTIImpl->getOrCreateResultFromMemIntrinsic(Inst, ExpectedType);
 }
 
-bool TargetTransformInfo::hasCompatibleFunctionAttributes(
-    const Function *Caller, const Function *Callee) const {
-  return TTIImpl->hasCompatibleFunctionAttributes(Caller, Callee);
+bool TargetTransformInfo::areInlineCompatible(const Function *Caller,
+                                              const Function *Callee) const {
+  return TTIImpl->areInlineCompatible(Caller, Callee);
 }
 
 TargetTransformInfo::Concept::~Concept() {}