Displaying 7 results from an estimated 7 matches for "pooloptim".
2005 Apr 03
2
[LLVMdev] Running Pool Allocated programs
...===
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
...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, but I am receiving this
>> error:
>...
2005 Apr 02
0
[LLVMdev] Running Pool Allocated programs
...stic for that is AllNodes? But if I want to use it, what is the right heuristic?
The AllNodes heuristic is the only one that is substantially tested. I
would recommend it, none of the others have any significant performance
benefit anyway.
The bump pointer and other opts are a seperate option -pooloptimize, which
can be run after -poolalloc. It does not work with -pointercompress
though.
> Also, if I want to use the Pointer Compression, I suppose that I have to
> use the -pointercompress switch with opt or what?
Yes, if you use it, don't specify -poolalloc manually.
-Chris
--
ht...
2005 Apr 02
2
[LLVMdev] Running Pool Allocated programs
Hello,
I am trying to run a program optimized with the Pool Allocation, but I am receiving this error:
====================
libpoolalloc.so: undefined symbol: _ZTIN4llvm16EquivClassGraphsE -load request ignored.
*** 4 DYNAMIC POOLS INITIALIZED ***
*** 4 DYNAMIC POOLS ALLOCATED FROM ***
MaxHeapSize = 0.062500KB HeapSizeAtExit = 0.062500KB NOTE: only valid if using
Heuristic=AllPools and no
2005 Apr 03
1
[LLVMdev] Running Pool Allocated programs
...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...
2015 Jul 29
0
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...VM_SRC/projects/poolalloc/lib/PoolAllocate/PoolAllocate.cpp:403:16:
> error: ‘class llvm::Constant’ has no member named
> ‘replaceUsesOfWithOnConstant’
> C->replaceUsesOfWithOnConstant(F, CEnew,
> ReplaceWorklist[index]);
> ^
> llvm[4]: Compiling PoolOptimize.cpp for Release+Asserts build
> llvm[4]: Compiling RunTimeAssociate.cpp for Release+Asserts build
> /usr/bin/rm: cannot remove
> ‘/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate/Release+Asserts/PoolAllocate.d.tmp’:
> No such file or directory
> /home/NIKHILRE...
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...amp;)’:
/home/NIKHILREDDY/WORK/LLVM_SRC/projects/poolalloc/lib/PoolAllocate/PoolAllocate.cpp:403:16:
error: ‘class llvm::Constant’ has no member named
‘replaceUsesOfWithOnConstant’
C->replaceUsesOfWithOnConstant(F, CEnew,
ReplaceWorklist[index]);
^
llvm[4]: Compiling PoolOptimize.cpp for Release+Asserts build
llvm[4]: Compiling RunTimeAssociate.cpp for Release+Asserts build
/usr/bin/rm: cannot remove
‘/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate/Release+Asserts/PoolAllocate.d.tmp’:
No such file or directory
/home/NIKHILREDDY/WORK/LLVM_SRC/Makefile....