Displaying 10 results from an estimated 10 matches for "tmp35".
Did you mean:
tmp3
2011 Jan 28
3
[LLVMdev] Call to non-constant memset() being generated where libc is not available
I am compiling something without standard libraries, including no libc.
Somehow, this bitcode is being generated by plain array manipulation code:
%12 = add i8 %11, -19
%tmp35 = icmp sgt i32 %9, 1
%smax36 = select i1 %tmp35, i32 %9, i32 1
call void @llvm.memset.p0i8.i32(i8* getelementptr inbounds ([100 x i8]*
@global_array_char, i32 0, i32 0), i8 %12, i32 %smax36, i32 1, i1 false)
(global_array_char is an array of length 100, which only partially gets
used.)
This g...
2011 Jan 31
0
[LLVMdev] Call to non-constant memset() being generated where libc is not available
David Meyer wrote:
> I am compiling something without standard libraries, including no libc.
>
> Somehow, this bitcode is being generated by plain array manipulation code:
>
> %12 = add i8 %11, -19
> %tmp35 = icmp sgt i32 %9, 1
> %smax36 = select i1 %tmp35, i32 %9, i32 1
> call void @llvm.memset.p0i8.i32(i8* getelementptr inbounds ([100 x
> i8]* @global_array_char, i32 0, i32 0), i8 %12, i32 %smax36, i32 1, i1
> false)
>
> (global_array_char is an array of length 100, which onl...
2010 Sep 29
0
[LLVMdev] spilling & xmm register usage
...00000
> %tmp30.i.i = fadd float %tmp29.i.i, 0xBFFD23DD40000000
> %tmp31.i.i = fmul float %tmp7.i.i, %tmp30.i.i
> %tmp32.i.i = fadd float %tmp31.i.i, 0x3FFC80EF00000000
> %tmp33.i.i = fmul float %tmp7.i.i, %tmp32.i.i
> %tmp34.i.i = fadd float %tmp33.i.i, 0xBFD6D1F0E0000000
> %tmp35.i.i = fmul float %tmp7.i.i, %tmp34.i.i
> %tmp36.i.i = fadd float %tmp35.i.i, 0x3FD470BF40000000
> %tmp37.i.i = fmul float %tmp19.i.i, %tmp36.i.i
> %tmp38.i.i = fsub float 1.000000e+00, %tmp37.i.i
> %cmp.i.i = fcmp olt float %tmp53.i, 0.000000e+00
> br i1 %cmp.i.i, label %cond.th...
2010 Sep 29
3
[LLVMdev] spilling & xmm register usage
Hello everybody,
I have stumbled upon a test case (the attached module is a slightly
reduced version) that shows extremely reduced performance on linux
compared to windows when executed using LLVM's JIT.
We narrowed the problem down to the actual code being generated, the
source IR on both systems is the same.
Try compiling the attached module:
llc -O3 -filetype=asm -o BAD.s BAD.ll
Under
2008 May 07
1
[LLVMdev] bitcast function calls
We are seeing some behavior we don't understand. Some of our functions are not showing up in the Call Graph because their calls contain bitcasts. The Call Graph then considers them to be external nodes. The calls look as follows:
%tmp35 = call i32 (...)* bitcast (i32 (i32, i8*, i32*)* @convert to i32 (...)*)( i32 %tmp33, i8* %tmp34, i8* %tmp30 ) ; <i32> [#uses=1]
After looking deeper, we noticed that the 'convert' function above did not have a prototype in the actual c source code. After adding a prototype and ru...
2008 Dec 01
2
[LLVMdev] Question in LLVM IR
...0, %b.0
%tmp12 = icmp sgt i32 %tmp11, 10
br i1 %tmp12, label %bb15, label %bb32
bb15: ; preds = %entry
%tmp29.pn38 = shl i32 %b.0, 1
%tmp18 = sub i32 %i, %a.0
%y.039 = add i32 %tmp18, %b.0
%tmp3540 = sub i32 %y.039, %tmp29.pn38
ret i32 %tmp3540
bb32: ; preds = %entry
%tmp25 = shl i32 %a.0, 1
%tmp29.pn = shl i32 %i, 1
%y.0 = shl i32 %b.0, 1
%tmp27 = sub i32 %y.0, %tmp29.pn...
2008 Feb 10
2
[LLVMdev] Instrumenting virtual function calls
...* %tmp17.i, align 4 ; <
%"struct.Q::Function"*> [#uses=2]
%tmp33.i = getelementptr %"struct.Q::Function"* %tmp18.i, i32 0, i32
0, i32 0, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
%tmp34.i = load i32 (...)*** %tmp33.i, align 4 ; <i32 (...)**>
[#uses=1]
%tmp35.i = getelementptr i32 (...)** %tmp34.i, i32 9 ; <i32 (...)**>
[#uses=1]
%tmp36.i = load i32 (...)** %tmp35.i, align 4 ; <i32 (...)*> [#uses=1]
%tmp3637.i = bitcast i32 (...)* %tmp36.i to double
(%"struct.Q::Function"*)* ; <double (%"struct.Q::Function"*)*...
2008 Jan 12
1
[LLVMdev] Labels
...%yypos9 = load i32* @yypos
%yythunkpos9 = load i32* @yythunkpos
%tmp32 = call i32 @yymatchChar(i8 102)
%tmp33 = icmp ne i32 %tmp102, 0
br i1 %tmp33, label %StringNotEqualZero8, label %StringEqualZero8
StringNotEqualZero8:
br label %l10
StringEqualZero8:
%tmp34 = load i32* @yybegin, align 4
%tmp35 = load i32* @yyend, align 4
call void @yyDo(void (i8*, i32)* @yy_9_body, i32 %tmp34, i32 %tmp35)
%tmp36 = call i32 @yymatchChar(i8 103)
%tmp37 = icmp ne i32 %tmp103, 0
br i1 %tmp37, label %StringNotEqualZero9, label %StringEqualZero9
StringNotEqualZero9:
br label %l10
StringEqualZero9:
%tmp38...
2008 Mar 05
2
[LLVMdev] Error messages in llvm-test
...incompatible types in assignment
Output/multiplies.cbe.c:155: warning: return type of 'main' is not 'int'
make[3]: [Output/multiplies.cbe] Error 1 (ignored)
/home/jo/Delta/llvm/Release/bin/llc -march=c Output/simple.llvm.bc -o
Output/simple.cbe.c -f
C Writer does not know about %tmp35 = insertelement <4 x float> %
tmp34, float %X.0, i32 1 ; <<4 x float>> [#uses=3]
/home/jo/Delta/llvm/Release/bin/llc[0x878d8dc]
[0x6]
/lib32/libc.so.6(abort+0x101)[0x556f24b1]
/home/jo/Delta/llvm/Release/bin/llc[0x812a0f8]
make[3]: *** [Output/simple.cbe.c] Aborted (cor...
2008 Jun 10
3
[LLVMdev] DejaGNU test fixes
...19476735 ; <i64> [#uses=0]
%tmp31 = load i32* %a.0, align 4 ; <i32> [#uses=1]
%tmp32 = mul i32 %tmp31, 4 ; <i32> [#uses=0]
%tmp33 = getelementptr %struct..0anon* %c, i32 0, i32 0 ; <i32*> [#uses=1]
%tmp34 = getelementptr i32* %tmp33, i32 0 ; <i32*> [#uses=1]
%tmp35 = load i32* %tmp34, align 4 ; <i32> [#uses=1]
store i32 %tmp35, i32* %tmp, align 4
%tmp36 = load i32* %tmp, align 4 ; <i32> [#uses=1]
store i32 %tmp36, i32* %retval, align 4
br label %return
return: ; preds = %entry
%retval37 = load i32* %retval ; <i32> [#uses=1]
ret i3...