Displaying 5 results from an estimated 5 matches for "l6_tmp_2e_7_2e_i2".
2005 Apr 03
2
[LLVMdev] Running Pool Allocated programs
...);
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" :: "m" (*&FPCW));}
#endif
#endif
pooli...
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 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
Thanks Chris! That was causing me some confusion. Now it's producing a more meaningful output:
poolinit((&l2_GlobalPool), 4u, 4u);
poolinit((&l2_GlobalPool1), 4u, 4u);
l5_tmp_2E_0_2E_i = poolalloc((&l2_GlobalPool), 4u);
l6_tmp_2E_7_2E_i2 = l1_makeList((&l2_GlobalPool1), 0);
*(&((struct l_struct_2E_list *)l5_tmp_2E_0_2E_i)->field0) = l6_tmp_2E_7_2E_i2;
However, if I am understanding correctly, the first node is being allocated in one pool (that was
malloc with the other heuristic) and the rest are being allocated in a...
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