search for: tmp25

Displaying 20 results from an estimated 20 matches for "tmp25".

Did you mean: tmp2
2014 May 22
2
[LLVMdev] RFC: Indexing of structs vs arrays in getelementpointer
...bb3: ; preds = %bb2, %bb1 %phi = phi %struct1* [ %tmp10, %bb1 ], [ %tmp20, %bb2 ] %tmp24 = getelementptr inbounds %struct1* %phi, i64 0, i32 1 %tmp25 = load i32* %tmp24, align 4 ret i32 %tmp25 }...
2007 Jun 12
3
[LLVMdev] ARM backend problem ?
...load i32* %f %tmp22 = alloca i32 store i32 1 , i32* %tmp22 %tmp23 = load i32* %tmp22 %tmp24 = load i32* %i %tmp21 = add i32 %tmp24, %tmp23 store i32 %tmp21, i32* %i %tmp19 = mul i32 %tmp20, %tmp21 store i32 %tmp19, i32* %f br label %then4 else12: %tmp25 = load i32* %f %tmp335 = getelementptr [4 x i8]* @.str1, i32 0, i32 0 %tmp336 = call i32 (i8*, ...)* @printf( i8* %tmp335, i32 %tmp25 ) ret i32 %tmp25 } -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.o...
2007 Jun 12
0
[LLVMdev] ARM backend problem ?
...> %tmp23 = load i32* %tmp22 > > %tmp24 = load i32* %i > > %tmp21 = add i32 %tmp24, %tmp23 > > store i32 %tmp21, i32* %i > > %tmp19 = mul i32 %tmp20, %tmp21 > > store i32 %tmp19, i32* %f > > br label %then4 > > > > else12: > > %tmp25 = load i32* %f > > %tmp335 = getelementptr [4 x i8]* @.str1, i32 0, i32 0 > > %tmp336 = call i32 (i8*, ...)* @printf( i8* %tmp335, i32 %tmp25 ) > > > ret i32 %tmp25 > > } > > > _______________________________________________ > LLVM Developers mailing li...
2014 May 23
2
[LLVMdev] RFC: Indexing of structs vs arrays in getelementpointer
...t; > bb2: ; preds = %.lr.ph.i.i > %tmp20 = getelementptr inbounds %struct2* %dm, i64 %tmp9, i32 1 > br label %bb3 > > bb3: ; preds = %bb2, %bb1 > %phi = phi %struct1* [ %tmp10, %bb1 ], [ %tmp20, %bb2 ] > %tmp24 = getelementptr inbounds %struct1* %phi, i64 0, i32 1 > > %tmp25 = load i32* %tmp24, align 4 > ret i32 %tmp25 > } > > > %array1 = type [2 x i32] > %array2 = type [2 x %array1] > > ; Function Attrs: ssp uwtable > define i32 @test2(%array2* %dm, i1 %tmp4, i64 %tmp9, i64 %tmp19) { > bb: > br i1 %tmp4, label %bb1, label %bb2 >...
2008 Jan 12
1
[LLVMdev] Labels
...mp10, 512 br i1 %tmp11, label %bb, label %bb13 bb13: %tmp15 = load %struct._IO_FILE** @stdin, align 4 %tmp16 = tail call i32 @_IO_getc( %struct._IO_FILE* %tmp15 ) %tmp21 = icmp eq i32 %tmp16, -1 br i1 %tmp21, label %cond_next, label %cond_true cond_true: %tmp24 = load i8** @yybuf, align 4 %tmp25 = load i32* @yypos, align 4 %tmp2627 = trunc i32 %tmp16 to i8 %tmp28 = getelementptr i8* %tmp24, i32 %tmp25 store i8 %tmp2627, i8* %tmp28, align 1 br label %cond_next cond_next: %iftmp.29.0 = phi i32 [ 1, %cond_true ], [ 0, %bb13 ] %tmp31 = icmp eq i32 %iftmp.29.0, 0 br i1 %tmp31, label %Un...
2010 Oct 13
4
[LLVMdev] Values have no names when generating *.ll files in clang and llvm 2.8 ?
...release notes it is indicated to use "--show-annotations" to print the number of uses. Is there something similar for assigning names to values, as in the previous llvm versions? I prefer the version from llvm 2.7 : do.cond24: ; preds = %if.end %tmp25 = load i32* %i ; <i32> [#uses=1] %cmp26 = icmp ult i32 %tmp25, 20 ; <i1> [#uses=1] br i1 %cmp26, label %land.lhs.true, label %land.end than llvm 2.8 : ; <label>:9 ; preds = %56, %0 %10 = load i3...
2014 May 22
4
[LLVMdev] RFC: Indexing of structs vs arrays in getelementpointer
...bb3: %phi = phi %struct2* [ %tmp10, %bb1 ], [ %tmp20, %bb2 ] %tmp24 = getelementptr inbounds %struct2* %phi, i64 0, i32 1 %tmp25 = load i32* %tmp24, align 4 is rewritten as: %struct2 = type { i32, i32 }...
2007 Jul 31
3
[LLVMdev] Adding custom operation intrinsic for ASIP architectures.
...s for raising certain type of function calls to those intrinsics (similar to raising mallocs). Basically our custom operation are like calls, with operand name and multiple inputs and outputs. e.g. C code: __llvm__custom_op_add(a,b,c) would be raised to customop add(i32 %tmp1, i32 %tmp24 , i32 %tmp25). Those "__llvm__custom_op_" prefixed function will not have function body, but pure declarations in C code level. Comments are welcome, especially if there anyone else, that needs this kind of functionality or if people has already implemented something similar. Mikael Lepistö
2013 Nov 08
3
[LLVMdev] Loads moving across barriers
...<2 x float> %tmp10, <2 x float> addrspace(3)* %arrayidx17, align 8 br label %if.end if.end: ; preds = %if.then, %entry tail call void @__amdil_barrier_local() #0 %arrayidx21 = getelementptr <2 x float> addrspace(1)* %out, i32 %1 %tmp25 = load <2 x float> addrspace(3)* %arrayidx, align 8 store <2 x float> %tmp25, <2 x float> addrspace(1)* %arrayidx21, align 8 ret void } attributes #0 = { noduplicate nounwind } attributes #1 = { nounwind readnone } attributes #2 = { nounwind } -------------- next part -------...
2012 Apr 26
0
[LLVMdev] PHI Insertion
I think I may have asked this question before but I'm not sure I articulated exactly what I was trying to do. So, I am redirecting a block such that: Instruction does not dominate all uses! %tmp25 = load i32* %nBits, align 4, !tbaa !3 %add110 = add i32 %tmp25, 7 Is there a pass/util/function that can be used to insert PHI nodes for this issue? It would seem the SSAUpdater would be useful but I'm not sure how to use it over the whole function. Also, mem2reg, however, again, not sure h...
2007 Aug 01
0
[LLVMdev] Adding custom operation intrinsic for ASIP architectures.
...of function calls to those intrinsics > (similar to raising mallocs). > > Basically our custom operation are like calls, with operand name and > multiple inputs and outputs. e.g. C code: > __llvm__custom_op_add(a,b,c) would be raised to customop add(i32 %tmp1, > i32 %tmp24 , i32 %tmp25). Those "__llvm__custom_op_" prefixed function > will not have function body, but pure declarations in C code level. > > Comments are welcome, especially if there anyone else, that needs this > kind of functionality or if people has already implemented something > similar....
2010 Nov 07
0
[LLVMdev] Hoisting elements of array argument into registers
...i33 %tmp16.i = mul i33 %tmp13.i, %tmp15.i %tmp17.i = lshr i33 %tmp16.i, 1 %tmp18.i = trunc i33 %tmp17.i to i32 %tmp20.i = mul i32 %.promoted1.i, 5 %tmp21.i = add i32 %tmp20.i, -5 %tmp22.i = mul i32 %tmp21.i, %tmp12.i %tmp9.i = mul i32 %a, %a %.promoted2.i = load i32* %2, align 4 %tmp25.i = mul i32 %tmp18.i, 5 %tmp.i = sub i32 %.promoted1.i, %a %tmp10.i = add i32 %tmp9.i, 1 %tmp11.i = sub i32 %tmp10.i, %tmp18.i %tmp19.i = add i32 %tmp11.i, %.promoted2.i %tmp23.i = sub i32 %tmp20.i, %tmp25.i %tmp26.i = add i32 %tmp23.i, %tmp22.i store i32 0, i32* %0, align 4 store i...
2008 Dec 01
2
[LLVMdev] Question in LLVM IR
...b15: ; 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 %tmp35 = add i32 %tmp27, %tmp25 ret i32 %tmp35 Please help me out here..... Thanks, Bhavani
2007 Aug 01
1
[LLVMdev] Adding custom operation intrinsic for ASIP architectures.
...h inline assembly) to LLVM parlance. Let's study this more closely. > > Basically our custom operation are like calls, with operand name and > multiple inputs and outputs. e.g. C code: > __llvm__custom_op_add(a,b,c) would be raised to customop add(i32 %tmp1, > i32 %tmp24 , i32 %tmp25). Those "__llvm__custom_op_" prefixed function > will not have function body, but pure declarations in C code level. What is the mechanism to first insert the __llvm__custom_op IR operations? Are these automatically decided by the code selector? Then, your code selector should be able...
2011 Jul 17
0
[LLVMdev] Trying to optimize out store/load pair
...%indvar4 = phi i64 [ 0, %for.cond21.preheader ], [ %indvar.next5, %for.body25 ] %tmp19 = shl i64 %indvar4, 2 %tmp21 = add i64 %tmp20, %tmp19 %arrayidx = getelementptr i8* %inputBuffer, i64 %tmp21 %tmp23 = add i64 %tmp2227, %tmp19 %arrayidx42 = getelementptr i8* %inputBuffer, i64 %tmp23 %tmp25 = add i64 %tmp2428, %tmp19 %arrayidx49 = getelementptr i8* %inputBuffer, i64 %tmp25 %tmp7 = shl i64 %indvar4, 1 %tmp = trunc i64 %tmp7 to i32 %tmp37 = load i8* %arrayidx, align 1, !tbaa !0 %conv = zext i8 %tmp37 to i32 %tmp43 = load i8* %arrayidx42, align 1, !tbaa !0 %conv44 = zext i8...
2011 Jul 17
0
[LLVMdev] Trying to optimize out store/load pair
...ader %indvar4 = phi i64 [ 0, %for.cond21.preheader ], [ %indvar.next5, %for.body25 ] %tmp19 = shl i64 %indvar4, 2 %tmp21 = add i64 %tmp20, %tmp19 %arrayidx = getelementptr i8* %inputBuffer, i64 %tmp21 %tmp23 = add i64 %tmp2227, %tmp19 %arrayidx42 = getelementptr i8* %inputBuffer, i64 %tmp23 %tmp25 = add i64 %tmp2428, %tmp19 %arrayidx49 = getelementptr i8* %inputBuffer, i64 %tmp25 %tmp7 = shl i64 %indvar4, 1 %tmp = trunc i64 %tmp7 to i32 %tmp37 = load i8* %arrayidx, align 1, !tbaa !0 %conv = zext i8 %tmp37 to i32 %tmp43 = load i8* %arrayidx42, align 1, !tbaa !0 %conv44 = zext i8 %tmp43...
2010 Nov 06
2
[LLVMdev] Hoisting elements of array argument into registers
I am seeing the wf loop get optimized just fine with llvm 2.8 (and almost as good with head). I'm running on Mac OS X 10.6. I have an apple supplied llvm-gcc and a self compiled llvm 2.8. When I run $ llvm-gcc -emit-llvm -S M.c $ opt -O2 M.s | llvm-dis I see that: 1. Tail recursion has been eliminated from wf 2. The accesses to sp have been promoted to registers 3. The loop has
2008 Sep 03
2
[LLVMdev] Codegen/Register allocation question.
...64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128" target triple = "x86_64-pc-linux-gnu" @.str1 = external constant [13 x i8] ; <[13 x i8]*> [#uses=1] declare i32 @printf(i8* noalias, ...) nounwind define i32 @main(i32 %argc, i8** %Argv) nounwind { entry: %tmp25.i14 = call i32 (i8*, ...)* @printf( i8* noalias getelementptr ([13 x i8]* @.str1, i32 0, i64 0), double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00 ) nounwind ; <i32> [#uses=0] ret i32 0 }
2008 Sep 04
0
[LLVMdev] Codegen/Register allocation question.
...28:128" > target triple = "x86_64-pc-linux-gnu" > @.str1 = external constant [13 x i8] ; <[13 x i8]*> > [#uses=1] > > declare i32 @printf(i8* noalias, ...) nounwind > > define i32 @main(i32 %argc, i8** %Argv) nounwind { > entry: > %tmp25.i14 = call i32 (i8*, ...)* @printf( i8* noalias > getelementptr ([13 x i8]* @.str1, i32 0, i64 0), double 0.000000e+00, > double 0.000000e+00, double 0.000000e+00, double 0.000000e+00 ) > nounwind ; <i32> [#uses=0] > ret i32 0 > } > _________________________...
2007 Aug 01
2
[LLVMdev] Adding custom operation intrinsic for ASIP architectures.
...ose intrinsics >> (similar to raising mallocs). >> >> Basically our custom operation are like calls, with operand name and >> multiple inputs and outputs. e.g. C code: >> __llvm__custom_op_add(a,b,c) would be raised to customop add(i32 %tmp1, >> i32 %tmp24 , i32 %tmp25). Those "__llvm__custom_op_" prefixed function >> will not have function body, but pure declarations in C code level. >> >> Comments are welcome, especially if there anyone else, that needs this >> kind of functionality or if people has already implemented somethin...