Displaying 5 results from an estimated 5 matches for "ltmp_2_5".
Did you mean:
ltmp_2_2
2005 Apr 02
0
[LLVMdev] Running Pool Allocated programs
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:
>
> ====================
>
> *** 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
2
[LLVMdev] Running Pool Allocated programs
...ew = malloc ( sizeof ( struct list ) );
New->Next = Num ? makeList (Num-1) : 0;
return New;
}
int main() {
struct list *X = makeList(10);
}
==========================
After applying the PA to it, the output is something like this:
==========================
int main(void) {
signed char *ltmp_2_5;
struct l_struct_2E_list *l6_tmp_2E_7_2E_i2;
#if defined(__GNUC__) && !defined(__llvm__)
#if defined(i386) || defined(__i386__) || defined(__i386)
{short FPCW;__asm__ ("fnstcw %0" : "=m" (*&FPCW));
FPCW=(FPCW&~0x300)|0x200;__asm__("fldcw %0" :: "...
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
0
[LLVMdev] Running Pool Allocated programs
On Sat, 2 Apr 2005, Ricardo wrote:
> After applying the PA to it, the output is something like this:
...
> 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?
Ah, sorry, my memory was wrong. The default is to perform the
"SelectivePA" optimization. Since pool allocation detected that there i...
2005 Apr 03
1
[LLVMdev] Running Pool Allocated programs
...- Do not pool allocate anything
--- Chris Lattner <sabre at nondot.org> wrote:
> On Sat, 2 Apr 2005, Ricardo wrote:
> > After applying the PA to it, the output is something like this:
> ...
>
> > 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?
>
> Ah, sorry, my memory was wrong. The default is to perform the
> "SelectivePA" optimization. Since pool al...