search for: end18

Displaying 11 results from an estimated 11 matches for "end18".

Did you mean: end12
2018 Jul 06
2
Verify that we only get loop metadata on latches
...... br i1 %cmp, label %do.body, label %do.end, !llvm.loop !2 do.end: ; preds = %do.body br label %do.body6, !llvm.loop !8 do.body6: ; preds = %do.body6, %do.end ... br i1 %cmp17, label %do.body6, label %do.end18, !llvm.loop !8 do.end18: ; preds = %do.body6 ret i32 %add14 } *** IR Dump After Simplify the CFG *** ; Function Attrs: nounwind define i32 @test(i32* %a, i32 %n) local_unnamed_addr #0 { entry: br label %do.body, !llvm.loop !2 do.body:...
2013 Apr 26
0
[LLVMdev] 'LowerDbgDeclare' in Instruction combining affects scope information
...void @llvm.dbg.value(metadata !{i32 %sub7}, i64 0, metadata !24), !dbg !38   call void @llvm.dbg.value(metadata !{i32 %sub7}, i64 0, metadata !24), !dbg !38   call void @llvm.dbg.value(metadata !{i32 %sub7}, i64 0, metadata !24), !dbg !38   store i32 %sub7, i32* %r, align 4, !dbg !38   br label %if.end18, !dbg !40 if.else:                                          ; preds = %entry   %sub10 = sub i32 0, %call, !dbg !41   br i1 %cmp, label %if.then9, label %if.else12, !dbg !43 if.then9:                                         ; preds = %if.else   call void @llvm.dbg.value(metadata !{i32 %sub10}, i64 0...
2015 Jun 26
2
[LLVMdev] Can LLVM vectorize <2 x i32> type
For example, I have the following IR code, for.cond.preheader: ; preds = %if.end18 %mul = mul i32 %12, %3 %cmp21128 = icmp sgt i32 %mul, 0 br i1 %cmp21128, label %for.body.preheader, label %return for.body.preheader: ; preds = %for.cond.preheader %19 = mul i32 %12, %3 %20 = add i32 %19, -1 %21 = zext i32 %20 to i64 %22 = add i64 %21, 1...
2011 Dec 09
1
[LLVMdev] Implementing devirtualization
....notnull: ; preds = %invoke.cont3 tail call void @_ZdlPv(i8* %call) nounwind br label %delete.end delete.end: ; preds = %delete.notnull, %invoke.cont3 %isnull16 = icmp eq i8* %call1, null br i1 %isnull16, label %delete.end18, label %delete.notnull17 delete.notnull17: ; preds = %delete.end tail call void @_ZdlPv(i8* %call1) nounwind br label %delete.end18 delete.end18: ; preds = %delete.notnull17, %delete.end ret i32 24 } declare noalias i8* @_...
2015 Jun 24
2
[LLVMdev] Can LLVM vectorize <2 x i32> type
Hi, Is LLVM be able to generate code for the following code? %mul = mul <2 x i32> %1, %2, where %1 and %2 are <2 x i32> type. I am running it on a Haswell processor with LLVM-3.4.2. It seems that it will generates really complicated code with vpaddq, vpmuludq, vpsllq, vpsrlq. Thanks, Zhi -------------- next part -------------- An HTML attachment was scrubbed... URL:
2018 May 29
0
LLVM Block is not the basic block
...n() #14, !dbg !1384 %18 = load i32, i32* %call17, align 4, !dbg !1384 %19 = load i8*, i8** %dest_dirname, align 4, !dbg !1386 call void (i32, i32, i8*, ...) @error(i32 1, i32 %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.389, i32 0, i 32 0), i8* %19), !dbg !1387 br label %if.end18, !dbg !1388 The corresponding binary i s below .text:0001A530 BL __errno_location .text:0001A534 LDR R1, [R0] ; errnum .text:0001A538 LDR R3, [SP,#0x100+var_100] .text:0001A53C LDR R2, =aS_1 ; "%s&q...
2018 May 29
3
LLVM Block is not the basic block
Hi I am using the LLVM function pass to help me to do code analysis. I use -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180529/a617b2c6/attachment.html>
2018 May 29
2
LLVM Block is not the basic block
...> %18 = load i32, i32* %call17, align 4, !dbg !1384 > %19 = load i8*, i8** %dest_dirname, align 4, !dbg !1386 > call void (i32, i32, i8*, ...) @error(i32 1, i32 %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.389, i32 0, i 32 0), i8* %19), !dbg !1387 > br label %if.end18, !dbg !1388 > > The corresponding binary i s below > > .text:0001A530 BL __errno_location > .text:0001A534 LDR R1, [R0] ; errnum > .text:0001A538 LDR R3, [SP,#0x100+var_100] > .text:0001A53C L...
2011 Dec 09
0
[LLVMdev] Implementing devirtualization
On Thu, Dec 8, 2011 at 2:11 PM, Vitor Luis Menezes <vitor at utexas.edu> wrote: > We've got the following test case: > > > class A { > public: >   int x; >   A(int x) : x(x) {} >   int hoo() {return 4;} >   virtual int foo() {return x;} >   virtual int goo() {return foo()+10;} >   virtual int operator+(A &a) { >     return x + a.x; >   } > };
2011 Dec 08
2
[LLVMdev] Implementing devirtualization
We've got the following test case: class A { public: int x; A(int x) : x(x) {} int hoo() {return 4;} virtual int foo() {return x;} virtual int goo() {return foo()+10;} virtual int operator+(A &a) { return x + a.x; } }; class B : public A { public: B(int x) : A(x) {} int hoo() {return 2;} virtual int foo() {return A::foo()*2;} }; int main() { A* a = new A(1);
2018 May 29
0
LLVM Block is not the basic block
...2* %call17, align 4, !dbg !1384 > > %19 = load i8*, i8** %dest_dirname, align 4, !dbg !1386 > > call void (i32, i32, i8*, ...) @error(i32 1, i32 %18, i8* > getelementptr inbounds ([3 x i8], [3 x i8]* @.str.389, i32 0, i 32 0), > i8* %19), !dbg !1387 > > br label %if.end18, !dbg !1388 > > > > The corresponding binary i s below > > > > .text:0001A530 BL __errno_location > > .text:0001A534 LDR R1, [R0] ; errnum > > .text:0001A538 LDR R3, [SP,#0x100+var_100] > >...