Displaying 6 results from an estimated 6 matches for "numloads".
2010 Aug 16
0
[LLVMdev] NumLoads/NumStores for linearscan?
On Aug 15, 2010, at 5:12 PM, Silvio Ricardo Cordeiro wrote:
> Is there a way for me to collect statistics about the number of loads/stores added by the "linearscan" register allocator (just like can be done with the "local" allocator)? I still haven't grokked very well the interaction between RALinScan and Spiller... Should I add those two statistics to the
2010 Aug 16
2
[LLVMdev] NumLoads/NumStores for linearscan?
Hi,
Is there a way for me to collect statistics about the number of loads/stores
added by the "linearscan" register allocator (just like can be done with the
"local" allocator)? I still haven't grokked very well the interaction
between RALinScan and Spiller... Should I add those two statistics to the
spiller's class?
Thanks,
-- Silvio Ricardo Cordeiro
--------------
2010 Aug 24
2
[LLVMdev] NumLoads/NumStores for linearscan?
...sing both *local* and
*linearscan* allocators
(I'm using LLVM 2.7). For *local*, I get a Load/Store count of 314/367. But
when I use *linearscan*, the counters at VirtRegRewriter.cpp end up being
0/0. I've also tried to compile a couple other source files, and
VirtRegRewriter.cpp
always has NumLoads=0 and NumStores=0 in the end.
I can't believe linearscan is *that *good! I've tried to add other variables
to the source code, but it seems to be spiling them without updating
NumLoads/NumStores...
Is there a source file that's commonly used to test this kind of thing?
We are workin...
2010 Aug 25
0
[LLVMdev] Register allocation marking spills (Re: NumLoads/NumStores for linearscan?)
On 25 Aug 2010, at 02:04, Silvio Ricardo Cordeiro wrote:
> On Sun, Aug 15, 2010 at 10:04 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote:
>
> On Aug 15, 2010, at 5:12 PM, Silvio Ricardo Cordeiro wrote:
>
> > Is there a way for me to collect statistics about the number of loads/stores added by the "linearscan" register allocator (just like can be done with
2008 Feb 07
1
[LLVMdev] [PATCH] fix warning: 'NumFolded' defined but not used
...n't have been folded,
so the first comment seems to be superfluous.
PhysReg = getReg(MBB, MI, VirtReg);
}
--- svn.llvm.orig/lib/CodeGen/RegAllocLocal.cpp
+++ svn.llvm/lib/CodeGen/RegAllocLocal.cpp
@@ -35,7 +35,6 @@
STATISTIC(NumStores, "Number of stores added");
STATISTIC(NumLoads , "Number of loads added");
-STATISTIC(NumFolded, "Number of loads/stores folded into instructions");
namespace {
static RegisterRegAlloc
@@ -500,12 +499,7 @@
if (PhysReg) { // Register is available, allocate it!
assignVirtToPhysReg(VirtReg, PhysReg);
} else {...
2015 Feb 04
6
[LLVMdev] llvm builtins
In the following example with gcc style builtins, in once case
llvm.powi.f64 is emitted
and in the other just a call to library function powf.
~/llvm/build/Debug+Asserts/bin/clang -S -emit-llvm pow1.c
Why is that?
Is there a way to force the call to an llvm style builtin?
Tia.
Reed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pow1.c
Type: text/x-csrc