Displaying 2 results from an estimated 2 matches for "acquirelock".
Did you mean:
acquire_lock
2005 Dec 03
2
[LLVMdev] garbage collection
Hi,
We are working on a project to improve garbage collection
using pool allocation in llvm. Has anybody implemented any
garbage collection algorithm in llvm? There is an incomplete
semispace GC implementation in llvm. It will be of great help,
if somebody has a complete GC implementation.
Regards,
Swarup.
*************************************
Swarup Kumar Sahoo
Thomas M. Siebel Center for
2005 Dec 05
0
[LLVMdev] optimization question
I tried to optimize the following code using opt -load-vn -sccp -dcse, but no
effect. The loading and storing of unique should be removed, and branch should
be statically evaluated.
Any suggestions?
The code:
%tmp.0 = call int %acquireLock( ) ; <int> [#uses=0]
store int 1, int* %unique
%load = load int* %unique ; <int> [#uses=1]
%Set = seteq int 1, %load ; <bool> [#uses=1]
br bool %Set, label %Insertion, label %remaining
Insertion: ; preds = %entry
call int %releaseLock( ) ; <int>:0 [#uses=0]...