search for: obj_constr

Displaying 1 result from an estimated 1 matches for "obj_constr".

2010 Jun 19
1
[LLVMdev] Is alloca instruction allowed within the cycle?
...code --- %object = type { i8, i8, i8} @str2 = private constant [1 x i8] zeroinitializer define void @main() { for.init: %i = alloca i32 store i32 0, i32* %i br label %for.end for.body: %obj = alloca %object %str = getelementptr inbounds [1 x i8]* @str2, i32 0, i32 0 call void @obj_constr(%object* noalias sret %obj, i8* %str) call void @obj_destr(%object* %obj) br label %for.incr for.incr: %incr = load i32* %i %incr3 = add i32 %incr, store i32 %incr3, i32* %i br label %for.end for.end: %iload = load i32* %i %xcmp = icmp sge i32 %iload, 100000000 br i1 %x...