Displaying 20 results from an estimated 7000 matches similar to: "[LLVMdev] data structure analysis"
2011 Aug 16
0
[LLVMdev] llvm-poolalloc DSA patch: code cleanups and thread safety
Hello,
I have a patch to DSA you may be interested in. I thought I'd post this to
llvmdev so it will be archived and googeable in case others need it, even if
you decide to not merge this into mainline :-) Here are the highlights:
* I refactored StdLibDataStructures::processFunction into processFunction
and processCallSite to remove a lot of copy/pasted code. I also moved the
libAction
2010 Jun 29
0
[LLVMdev] Queries of an invalidated AA ModulePass
On Jun 29, 2010, at 9:59 AM, Will Dietz wrote:
> Hi all,
>
> While working on a loadable Alias Analysis module pass, I'm running
> into the following issue:
>
> I'm finding my pass queried for results after it has had
> 'releaseMemory' called on it and its dependencies, but before
> runOnModule is called again (on my pass or its deps). As you might
>
2010 Jun 29
3
[LLVMdev] Queries of an invalidated AA ModulePass
Hi all,
While working on a loadable Alias Analysis module pass, I'm running
into the following issue:
I'm finding my pass queried for results after it has had
'releaseMemory' called on it and its dependencies, but before
runOnModule is called again (on my pass or its deps). As you might
expect, this makes my pass rather unhappy (and I think correctly so).
This happens with LICM
2009 Oct 09
1
[LLVMdev] DS-AA reports erroneous NoModRef
Hi,
I am using DataStructureAA.cpp (poolalloc project) for alias analysis
purposes and have noticed an error in getModRefInfo(). The situation
is that Mod/Ref info is called with a CallSite and GlobalVariable
argument, where the global is passed as an argument to the call.
Furthermore, the callee function does *nothing* with this global but
to pass it on to another callee function. In
2007 Jul 10
1
[LLVMdev] A question about LLVM and pool allocation
HI guys.
I'm trying to build the poolalloc on llvm-2.0 but there exist some errors.
Can you tell me which version of llvm is known to make the poolalloc build
and install successful?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070710/4ab5e155/attachment.html>
2009 Aug 28
1
[LLVMdev] bitcode file format
Hi all,
Has the bitcode file format changed between 2.3 and 2.6? That is,
could I have LLVM 2.6 read a bit code file written using LLVM 2.3?
Suhabe
2008 Apr 03
3
[LLVMdev] problem with using DSA for a side-effect analysis
Thanks guys!
I was looking into ModRef before, but I don't think that's exactly
what I need. ModRef API call getModRefInfo requires a Value to be
passed to it. However, some memory location M (which is a <DSNode,
offset> pair) visible to the caller can be modified in the callee
without any Value in the caller actually pointing to that location. I
also need to capture those...
I
2007 Aug 26
1
[LLVMdev] Data Structure Analysis
DSA should be current against head, but poolalloc isn't. I've changed
DSA a bit so it may not compile with poolalloc as is. I haven't had
time to tackle updating poolalloc (either to head or to the dsa
changes). If you want the version from the paper, try checking out
llvm 1.8 or 1.9 and a dsa from around then. The dsa as used on the
linux kernel and in the OS work is in a branch
2017 Oct 10
2
Expose aliasing information in getModRefInfo (or viceversa?)
I'm trying to understand what is the result we'd seek in the example
in D38569 (pasting here for quick access)
double f(double a)
{
double b;
double c,d;
double (*fp) (double) __attribute__ ((const));
/* Partially redundant call */
if (a < 2.0)
{
fp = sin;
c = fp (a);
}
else
{
c = 1.0;
fp = cos;
}
d = fp (a);
2007 Aug 24
0
[LLVMdev] Data Structure Analysis
Haifeng He wrote:
> I updated the latest "poolalloc" code and the problem seems to have been fixed.
> However, I am still having problem of running "poolalloc".
>
> After compilation finished, there are several dynamic libraries
> created (libpoolalloc_rt.so, libpoolalloc_fl_rt.so and
> LLVMDataStructure.so). I was not sure which one I should use so I just
2007 Aug 23
0
[LLVMdev] Data Structure Analysis
okay. I guess I figured it out. It seems "poolalloc" needs to be put
in llvm/projects/ directory.
Haifeng
On 8/23/07, Haifeng He <hehaifeng2nd at gmail.com> wrote:
> A following question about how to install "poolalloc". I checked out
> poolalloc from svn. But I had a problem of installing it. When I tried to run
> "configure" with options
2007 Aug 24
2
[LLVMdev] Data Structure Analysis
Hi!
Haifeng He wrote:
> okay. I guess I figured it out. It seems "poolalloc" needs to be put
> in llvm/projects/ directory.
Yes, it will compile then. However, it seems the resulting shared
library LLVMDataStructure.so (I haven't checked the others) has some
undefined symbols. Trying to load it into the opt tool produces an error:
undefined symbol:
2010 Aug 24
0
[LLVMdev] DSA Analysis
Kevin Streit wrote:
> Hi,
>
> I'm still using the release_26 version of Poolalloc/DSA with llvm 2.6 for my analyses and am currently trying to switch to llvm 2.7 for several reasons. I tried to use the trunk of the poolalloc svn repository with the llvm 2.7 release which is working fine for most of the programs I ran it on so far but for sqlite it's running into a stack overflow
2007 Aug 24
3
[LLVMdev] Data Structure Analysis
I updated the latest "poolalloc" code and the problem seems to have been fixed.
However, I am still having problem of running "poolalloc".
After compilation finished, there are several dynamic libraries
created (libpoolalloc_rt.so, libpoolalloc_fl_rt.so and
LLVMDataStructure.so). I was not sure which one I should use so I just
tried all of them with "opt -load".
2010 Dec 15
0
[LLVMdev] Interprocedural alias analysis
Hello,
I need interprocedural alias analysis while I'm using GVN for infeasible
path
analysis. So, I've tried "-steens-aa" from poolalloc project, but it doesn't
seem
to be working as I expected. For example,
int global;
int bar(void) {
return 5;
}
int foo(void) {
int a;
scanf("%d", &a);
if(global)
a = bar();
return a;
}
In this case, I
2007 Aug 23
2
[LLVMdev] Data Structure Analysis
A following question about how to install "poolalloc". I checked out
poolalloc from svn. But I had a problem of installing it. When I tried to run
"configure" with options "--with-llvmsrc" and "--with--llvmobj" pointing to
where the source of my llvm and objs dir are (/home/usr/Tools/llvm,
e.g.), "configure" complained error message
2006 Aug 28
0
[LLVMdev] -Woverloaded-virtual
All,
As of today, LLVM will be built with the -Woverloaded-virtual option
turned on. This means that warnings will be generated for ambiguous
overloads of C++ sub-classes. Typically this means you forgot to
override an overloaded virtual in a subclass. Currently, LLVM is
"overloaded virtual" clean. We intend to keep it that way. If you are
modifying LLVM and start to see warning
2015 Jan 30
0
[LLVMdev] How to install poolalloc?
Dear Qiuping,
If you use the release_32 branch of poolalloc, then you need to use LLVM
3.2.
For directions on compiling poolalloc with LLVM 3.2, please the SAFECode
build directions at http://safecode.cs.illinois.edu/docs/Install.html.
You can just skip the steps in the directions that compile SAFECode.
Regards,
John Criswell
On 1/30/15 10:05 AM, Qiuping Yi wrote:
> Hi, all
>
> I
2015 Jan 30
0
[LLVMdev] How to install poolalloc?
On 1/30/15 10:17 AM, Qiuping Yi wrote:
> Thank you. But now I am using LLVM 2.9, so which version of
> poolalloc I should use ?
Why are you using LLVM 2.9? That's an old version of LLVM (even by my
standards).
Is there some other LLVM-based tool that requires that you use LLVM 2.9?
Regards,
John Criswell
>
>
> --------------------------------------------
> Qiuping Yi
2015 Jan 30
2
[LLVMdev] How to install poolalloc?
Hi, all
I want to use the alias analysises in project poolalloc, but I encounter
some problem during installing it. I install poolalloc as follow:
1) cd llvm/projects
svn co http://llvm.org/svn/llvm-project/poolalloc/branches/release_32
poolalloc
3) cd LLVM-object-directory
make tools-only
cd projects/poolalloc
make
When I carried out "make", I get the next error