Displaying 20 results from an estimated 26 matches for "libpoolalloc".
2008 Nov 19
2
[LLVMdev] poolallocation error
...ss. Though, I get assertion
failures for the pass dependencies.
This is when it in PointerCompress::getAnalysisUsage tries to register
the the BU pass as required. I.e. when
AU.addRequired<CompleteBUDataStructures>(); is called.
$ opt -f -load ~/Projects/llvmstuff/opt/poolalloc/lib/
libpoolalloc.dylib -raiseallocs -poolalloc-passing-all-pools -
pointercompress llist-noopt.bc -o llist-dp.bc
Assertion failed: ((P->getPotentialPassManagerType() < RequiredPass-
>getPotentialPassManagerType()) && "Unable to handle Pass that
requires lower level Analysis pass"),...
2009 Jan 16
1
[LLVMdev] poolallocation error
Hi all,
I too am getting this error for x86_64 when I am trying to use the
Data Structure Analysis ...I svn upped both the llvm main branch and
the poolalloc today in the morning and recompiled everything from
scratch :
$ opt -load /home/pprabhu/llvm/llvm-install-x86-64/lib/libpoolalloc.so
-ds-aa < o.bc
opt: /home/pprabhu/llvm/llvm/lib/VMCore/PassManager.cpp:1418: virtual
void llvm::MPPassManager::addLowerLevelRequiredPass(llvm::Pass*,
llvm::Pass*): Assertion `(P->getPotentialPassManagerType() <
RequiredPass->getPotentialPassManagerType()) && "Unable to h...
2009 Jan 19
0
[LLVMdev] poolallocation error
Dear Prakash,
Yes, DSA is still in active use, although nobody else uses the -ds-aa pass as far as I know.
I tried the below sample (although ds-aa should be in libLLVMDataStructure.so and not libpoolalloc.so), and I get the same error. I've seen similar problems with other passes in our work here. My guess is that -ds-aa is requiring two passes that claim to invalidate each other; this causes a circular dependency that the pass manager cannot resolve.
I'm busy with another task this week,...
2008 Apr 07
2
[LLVMdev] Problem Linking Analysis Group
...llocateSimple : public PoolAllocate {
...
}
When I compile the code into a dynamically linked library, everything is
fine. However, when I try to link that dynamic library into a program
in another project, I get the following error:
/localhome/criswell/llvm22/projects/llvm-poolalloc/Debug/lib/libpoolalloc.so:
undefined reference to `vtable for llvm::PoolAllocateGroup'
/mounts/maute/disks/0/criswell/llvm22/projects/safecode/Debug/lib/libpointerchecks.so:
undefined reference to `typeinfo for llvm::PoolAllocateGroup'
Does anyone know what I might be doing wrong?
Thanks in advance.
-- John...
2010 Apr 10
2
[LLVMdev] Question about using steensgaard's pointer analysis in poolalloc
...gt;
> > I loaded poolalloc module into opt program according to the poolalloc
> > "README" file:
> > /opt -load <path to pool allocator> -poolalloc <other opt options>/
> > Here's my command:
> > *opt -load=/home/cmchen/INSTALL/llvm-common/lib/libpoolalloc_rt.so
> > -poolalloc -analyze -print-alias-sets test.bc*
> > and here's the error message:
> > *opt: Unknown command line argument '-poolalloc' Try: 'opt --help' *
> > So, my questions are:
> > 1 Did I install the poolalloc module in a wrong way? or...
2010 Mar 23
0
[LLVMdev] Question about using steensgaard's pointer analysis in poolalloc
...es of the LLVM object tree.
> I loaded poolalloc module into opt program according to the poolalloc
> "README" file:
> /opt -load <path to pool allocator> -poolalloc <other opt options>/
> Here's my command:
> *opt -load=/home/cmchen/INSTALL/llvm-common/lib/libpoolalloc_rt.so
> -poolalloc -analyze -print-alias-sets test.bc*
> and here's the error message:
> *opt: Unknown command line argument '-poolalloc' Try: 'opt --help' *
> So, my questions are:
> 1 Did I install the poolalloc module in a wrong way? or I just did not
> comp...
2015 Oct 13
2
Compiling SAFECode poolalloc in cygwin create different libraries compared to linux.
Hi,
On Linux I observed
[root at localhost poolalloc]# find . -name *.a
./Release+Asserts/lib/LLVMDataStructure.a
./Release+Asserts/lib/poolalloc.a
./Release+Asserts/lib/AssistDS.a
./Release+Asserts/lib/libpoolalloc_fl_rt.a
./Release+Asserts/lib/libpoolalloc_rt.a
./Release+Asserts/lib/libpa_pre_rt.a
./Release+Asserts/lib/libcount.a
On cygwin I observed
kpawar at KPAWAR-LT ~/SAFECode/LLVM_SRC/llvm/projects/poolalloc
$ find . -name *.a
./Release+Asserts/lib/libAssistDS.a
./Release+Asserts/lib/libcount.a
./Rel...
2009 Jan 21
1
[LLVMdev] poolallocation error
...t;
> I too am getting this error for x86_64 when I am trying to use the
> Data Structure Analysis ...I svn upped both the llvm main branch and
> the poolalloc today in the morning and recompiled everything from
> scratch :
>
> $ opt -load /home/pprabhu/llvm/llvm-install-x86-64/lib/libpoolalloc.so
> -ds-aa < o.bc
>
> opt: /home/pprabhu/llvm/llvm/lib/VMCore/PassManager.cpp:1418: virtual
> void llvm::MPPassManager::addLowerLevelRequiredPass(llvm::Pass*,
> llvm::Pass*): Assertion `(P->getPotentialPassManagerType() <
> RequiredPass->getPotentialPassManagerType())...
2010 Mar 23
2
[LLVMdev] Question about using steensgaard's pointer analysis in poolalloc
...ut no binary files
generated.
I loaded poolalloc module into opt program according to the poolalloc
"README" file:
*opt -load <path to pool allocator> -poolalloc <other opt options>*
Here's my command:
*opt -load=/home/cmchen/INSTALL/llvm-common/lib/libpoolalloc_rt.so
-poolalloc -analyze -print-alias-sets test.bc*
and here's the error message:
*opt: Unknown command line argument '-poolalloc' Try: 'opt --help'
*
So, my questions are:
1 Did I install the poolalloc module in a wrong way? or I just did not
completely instal...
2010 Apr 12
0
[LLVMdev] Fwd: Question about using steensgaard's pointer analysis in poolalloc
...gt;
> > I loaded poolalloc module into opt program according to the poolalloc
> > "README" file:
> > /opt -load <path to pool allocator> -poolalloc <other opt options>/
> > Here's my command:
> > *opt -load=/home/cmchen/INSTALL/llvm-common/lib/libpoolalloc_rt.so
> > -poolalloc -analyze -print-alias-sets test.bc*
> > and here's the error message:
> > *opt: Unknown command line argument '-poolalloc' Try: 'opt --help' *
> > So, my questions are:
> > 1 Did I install the poolalloc module in a wrong way? or...
2010 Mar 09
2
[LLVMdev] Changed: Build errors for poolalloc using MinGW/gcc 4.4.0
...(revision 97995)
+++ tools/opt/Makefile (working copy)
@@ -12,3 +12,8 @@
LINK_COMPONENTS := bitreader bitwriter asmparser instrumentation scalaropts ipo
include $(LEVEL)/Makefile.common
+
+CPP.Flags += -I../../projects/poolalloc/include
+
+ExtraLibs := ../../projects/poolalloc/$(BuildMode)/lib/libpoolalloc.a \
+ ../../projects/poolalloc/$(BuildMode)/lib/libLLVMDataStructure.a
On Tue, Mar 9, 2010 at 11:13 AM, John Criswell <criswell at uiuc.edu> wrote:
> Dear Patrick and Antron,
>
> I've modified the Makefiles in the poolalloc module so that they do not
> build shared lib...
2005 Apr 03
1
[LLVMdev] Running Pool Allocated programs
...t; would recommend it, none of the others have any significant performance
>> benefit anyway.
Is that still right or you meant that only SelectivePA is the only substantially tested?
--Ricardo
P.S. BTW, SelectivePA does not appear as an option when you do
opt -load ~/llvmdbg/installed/lib/libpoolalloc.so --help
and I could not find any reference in the source code (Heuristic.{h,cpp})
May I assume that is a new heuristic or you are referring to one of the current ones?
-poolalloc-heuristic - Heuristic to choose which nodes to pool allocate
=AllNodes...
2009 Nov 13
1
[LLVMdev] Poolalloc asserts when passing in pool descriptors
Hi,
The poolalloc library fails in TransformFunctionBody.cpp, line 746
---
Value *ArgVal = ConstantAggregateZero::get(PoolAllocate::PoolDescPtrTy);
---
opt -load /path_to_lib/libpoolalloc.dylib -poolalloc constaggr.bc -o
opt.bc -f
triggers the problem (bc file attached).
Assertion failed: ((isa<StructType>(Ty) || isa<ArrayType>(Ty) ||
isa<VectorType>(Ty)) && "Cannot create an aggregate zero of
non-aggregate type!"), function get, file lib/VMC...
2008 Apr 07
0
[LLVMdev] Problem Linking Analysis Group
On Apr 7, 2008, at 1:54 PM, John Criswell wrote:
>
> /localhome/criswell/llvm22/projects/llvm-poolalloc/Debug/lib/
> libpoolalloc.so:
> undefined reference to `vtable for llvm::PoolAllocateGroup'
> Does anyone know what I might be doing wrong?
The usual answer, you need to define all virtual functions, in
particular, those in the PoolAllocateGroup hierarchy.
2005 Apr 03
2
[LLVMdev] Running Pool Allocated programs
...(int )/*UNDEF*/0);
}
==========================
My question is: why is this malloc necessary?
ltmp_2_5 = malloc(4u);
Shouldn't be the result a program with this malloc replaced by poolalloc?
Should I include a special flag to achieve this?
I am using this line:
opt -load ~/llvm/install/lib/libpoolalloc.so -poolalloc
and also with -pooloptimize
Thanks in advance
--- Chris Lattner <sabre at nondot.org> wrote:
> On Sat, 2 Apr 2005, Ricardo wrote:
> > Hello,
> > I am trying to run a program optimized with the Pool Allocation, but I am receiving this
> error:
> >...
2005 Apr 03
0
[LLVMdev] Running Pool Allocated programs
...nce pool allocation detected that there is
no point in putting a single allocation into a pool, it left it a malloc.
If you really want it to be a in a pool, pass
-poolalloc-heuristic=AllNodes to opt.
Sorry for the confusion!
-Chris
> I am using this line:
> opt -load ~/llvm/install/lib/libpoolalloc.so -poolalloc
> and also with -pooloptimize
>
> Thanks in advance
>
>
>
>
> --- Chris Lattner <sabre at nondot.org> wrote:
>
>> On Sat, 2 Apr 2005, Ricardo wrote:
>>> Hello,
>>> I am trying to run a program optimized with the Pool Allocation,...
2010 Apr 18
0
[LLVMdev] .so file creation for new passes
Thanks a lot for the reply guys. So, does that mean that I cant write my own
passes if I work on Windows side of the LLVM? Is there any other way to use
a new pass. How are windows users supposed to work?
Thanks again.
On Sun, Apr 18, 2010 at 7:16 AM, Anton Korobeynikov <anton at korobeynikov.info
> wrote:
> > If you compile llvm, the Hello library will be compiled too. It's
2010 Apr 18
2
[LLVMdev] .so file creation for new passes
> If you compile llvm, the Hello library will be compiled too. It's not
> installed but it's in build_directory/Debug/lib/LLVMHello.so (or in
> build_directory/Release/lib/LLVMHello.so)
Loadable passes are not supported on windows due to lack of OS dynamic
linking support (and I doubt they will be supported ever).
--
With best regards, Anton Korobeynikov
Faculty of Mathematics
2010 Mar 14
0
[LLVMdev] Changed: Build errors for poolalloc using MinGW/gcc 4.4.0
...ile (working copy)
> @@ -12,3 +12,8 @@
> LINK_COMPONENTS := bitreader bitwriter asmparser instrumentation scalaropts ipo
>
> include $(LEVEL)/Makefile.common
> +
> +CPP.Flags += -I../../projects/poolalloc/include
> +
> +ExtraLibs := ../../projects/poolalloc/$(BuildMode)/lib/libpoolalloc.a \
> + ../../projects/poolalloc/$(BuildMode)/lib/libLLVMDataStructure.a
>
>
> On Tue, Mar 9, 2010 at 11:13 AM, John Criswell <criswell at uiuc.edu> wrote:
> > Dear Patrick and Antron,
> >
> > I've modified the Makefiles in the poolalloc module so that they...
2015 Oct 14
2
Compiling SAFECode poolalloc in cygwin create different libraries compared to linux.
...IR)/$(BuildMode)/lib/AssistDS.a
>
> ... to:
>
> $(PROJ_OBJ_ROOT)/$(BuildMode)/lib/libAssistDS.a:
> $(POOLALLOC_OBJDIR)/$(BuildMode)/lib/libAssistDS.a
>
> You'll need to fix the problem for other libraries for which SAFECode
> creates links in its own object tree (such as libpoolalloc.a).
>
> That might fix the problem on Cygwin.
>
> Regards,
>
> John Criswell
>
>
> On 10/13/15 2:36 AM, kiran pawar via llvm-dev wrote:
>
> Hi,
> On Linux I observed
>
> [root at localhost poolalloc]# find . -name *.a
> ./Release+Asserts/lib/LLVMDataStru...