projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb56e9b
)
Fix missing namespace in API implementation.
author
Mircea Trofin
<mtrofin@google.com>
Tue, 28 Apr 2020 04:05:33 +0000
(21:05 -0700)
committer
Mircea Trofin
<mtrofin@google.com>
Tue, 28 Apr 2020 04:05:33 +0000
(21:05 -0700)
llvm/lib/Analysis/InlineCost.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Analysis/InlineCost.cpp
b/llvm/lib/Analysis/InlineCost.cpp
index
c7894a9
..
0b58d69
100644
(file)
--- a/
llvm/lib/Analysis/InlineCost.cpp
+++ b/
llvm/lib/Analysis/InlineCost.cpp
@@
-2219,7
+2219,7
@@
InlineCost llvm::getInlineCost(
GetAssumptionCache, GetBFI, GetTLI, PSI, ORE);
}
-Optional<int> getInliningCostEstimate(
+Optional<int>
llvm::
getInliningCostEstimate(
CallBase &Call, TargetTransformInfo &CalleeTTI,
std::function<AssumptionCache &(Function &)> &GetAssumptionCache,
Optional<function_ref<BlockFrequencyInfo &(Function &)>> GetBFI,