diff options
author | Eric Christopher <echristo@gmail.com> | 2015-07-29 22:09:48 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2015-07-29 22:09:48 +0000 |
commit | d566fb12a17120d95fcb5e0e1f335314014b1238 (patch) | |
tree | 8d8f13a2fc861df2ccfe76d70ccf190dc4460831 /llvm/lib/Analysis/TargetTransformInfo.cpp | |
parent | ba10f767051c68fb32afac36f6db605c2a7dc565 (diff) | |
download | bcm5719-llvm-d566fb12a17120d95fcb5e0e1f335314014b1238.tar.gz bcm5719-llvm-d566fb12a17120d95fcb5e0e1f335314014b1238.zip |
Rename hasCompatibleFunctionAttributes->areInlineCompatible based
on suggestions. Currently the function is only used for inline purposes
and this is more descriptive for the use.
llvm-svn: 243578
Diffstat (limited to 'llvm/lib/Analysis/TargetTransformInfo.cpp')
-rw-r--r-- | llvm/lib/Analysis/TargetTransformInfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/TargetTransformInfo.cpp b/llvm/lib/Analysis/TargetTransformInfo.cpp index b426b2f121c..731aae23a26 100644 --- a/llvm/lib/Analysis/TargetTransformInfo.cpp +++ b/llvm/lib/Analysis/TargetTransformInfo.cpp @@ -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() {} |