Displaying 5 results from an estimated 5 matches for "callanalyz".
Did you mean:
callanalyzer
2016 Mar 04
2
Use of branch weight metadata in enhanced inliner
...data is available. However, instructions such as __builtin_expect may set branch weight metadata as well, which is useful for inliner.
I think this problem can be addressed by letting llvm::getInlineCost function to use BlockFrequencyAnalysis regardless of availability of profile data, and making CallAnalyzer::updateThreshold to use callsite frequency instead of callsite count. Is there a reason that we allow inliner to use block frequency information only when profile data is given?
Thanks,
Taewook
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm....
2013 Jan 15
2
[LLVMdev] [cfe-dev] no-alias generated as result of restrict function arguments
...ret i1 %cmp
+ ; CHECK: external_compare
+ ; CHECK: ret i1 %cmp
+}
Index: lib/Analysis/InlineCost.cpp
===================================================================
--- lib/Analysis/InlineCost.cpp (revision 172366)
+++ lib/Analysis/InlineCost.cpp (working copy)
@@ -484,6 +484,8 @@
}
bool CallAnalyzer::visitICmp(ICmpInst &I) {
+ // Do not just call SimplifyICmpInst as it can result in undefined
+ // changes when the operands involve NoAlias or ByVal arguments.
Value *LHS = I.getOperand(0), *RHS = I.getOperand(1);
// First try to handle simplified comparisons.
if (!isa<Constan...
2013 Jan 16
0
[LLVMdev] [cfe-dev] no-alias generated as result of restrict function arguments
...with
too many copies.
Joerg
-------------- next part --------------
Index: lib/Analysis/InlineCost.cpp
===================================================================
--- lib/Analysis/InlineCost.cpp (revision 172366)
+++ lib/Analysis/InlineCost.cpp (working copy)
@@ -484,6 +484,8 @@
}
bool CallAnalyzer::visitICmp(ICmpInst &I) {
+ // Do not just call SimplifyICmpInst as it can result in undefined
+ // changes when the operands involve NoAlias or ByVal arguments.
Value *LHS = I.getOperand(0), *RHS = I.getOperand(1);
// First try to handle simplified comparisons.
if (!isa<Constan...
2012 Dec 12
0
[LLVMdev] [cfe-dev] no-alias generated as result of restrict function arguments
On Wed, Dec 12, 2012 at 1:26 PM, Joerg Sonnenberger
<joerg at britannica.bec.de> wrote:
> On Wed, Dec 12, 2012 at 11:01:01AM -0800, Dan Gohman wrote:
>> > Is that
>> > assumption violated if I explicitly cast away const and pass the result
>> > to a function with NoAlias argument?
>>
>> Not immediately, no. It means that you can't access the
2012 Dec 12
3
[LLVMdev] [cfe-dev] no-alias generated as result of restrict function arguments
On Wed, Dec 12, 2012 at 11:01:01AM -0800, Dan Gohman wrote:
> > Is that
> > assumption violated if I explicitly cast away const and pass the result
> > to a function with NoAlias argument?
>
> Not immediately, no. It means that you can't access the constant
> pointer's pointee directly within the noalias argument's scope. Access
> to that object must go