search for: body6

Displaying 7 results from an estimated 7 matches for "body6".

Did you mean: body
2018 Jul 06
2
Verify that we only get loop metadata on latches
...i32 @test(i32* %a, i32 %n) { entry: br label %do.body, !llvm.loop !2 do.body: ; preds = %do.body, %entry ... 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 *** ; Fun...
2017 May 18
2
Computing loop trip counts with Scalar evolution
Hello. I tried to get the trip count of a loop with Scalar evolution. I got inspired from http://stackoverflow.com/questions/13834364/how-to-get-loop-bounds-in-llvm . However the analysis described there doesn't work well for the second inner loop of thes function below (although if we declare Bcols a short it works well): void MatMul(int Arows, int Acols, int Brows, int
2010 Apr 04
1
[LLVMdev] Code generators (both llvmc and Jit) get stuck when dealing circular CFG
...; [#uses=1] store double %PeekResult10, double* %DoubleVar2 %18 = fsub double 0x406AB76488000000, %17 ; <double> [#uses=1] %19 = fdiv double %18, 0x4068C87680000000 ; <double> [#uses=0] br label %Brancher4 Brancher4: ; preds = %Body6, %Body3, %Body %20 = load i32* %BranchCounter ; <i32> [#uses=1] %"BrCounter++5" = add i32 %20, 1 ; <i32> [#uses=2] store i32 %"BrCounter++5", i32* %BranchCounter %21 = icmp ult i32 %"BrCounter++5", 10 ; <i...
2013 May 15
2
[LLVMdev] [polly] Polly Loop info and LoopSimplify functionality
...polly.split_new_and_old ... <some code> br label %polly.loop_header polly.loop_after: ; preds = %polly.loop_header br label %polly.merge_new_and_old // This is exit from the loop polly.loop_header: ; preds = %polly.stmt.for.body6, %polly.start ... <some code> br i1 %9, label %polly.loop_body, label %polly.loop_after polly.loop_body: ; preds = %polly.loop_header br label %polly.stmt.for.body6 polly.stmt.for.body6: ; preds = %polly.loop_body ... <some...
2012 May 04
3
[LLVMdev] Extending GetElementPointer, or Premature Linearization Considered Harmful
...n; k++) ** **A[1 + 2*i][3 + 4*j][5 + 6*k] = 0;* } we'll see *%arrayidx12 = getelementptr inbounds [100 x [100 x i64]]* %A, i64 %add109, i64 %add88, i64 %add* *store i64 0, i64* %arrayidx12, align 8* *{1,+,2}<%for.cond1.preheader>* *{3,+,4}<%for.cond4.preheader>* *{5,+,6}<%for.body6>* which looks great; 3 simple indices, no problem. But consider this: *void z2(long int n, long int A[][n][n][100][100]) {* * for (long int i = 0; i < n; i++)* * for (long int j = 0; j < n; j++)* * for (long int k = 0; k < n; k++)* * **for (long int l = 0; l < n; l++)* *...
2012 May 04
0
[LLVMdev] Extending GetElementPointer, or Premature Linearization Considered Harmful
Hi Preston, On Fri, May 4, 2012 at 9:12 AM, Preston Briggs <preston.briggs at gmail.com> wrote: > > which produces > > %arrayidx24 = getelementptr inbounds [100 x [100 x i64]]* %A, i64 > %arrayidx21.sum, i64 %add1411, i64 %add > store i64 0, i64* %arrayidx24, align 8 > {{{(5 + ((3 + %n) * %n)),+,(2 * %n * %n)}<%for.cond1.preheader>,+,(4 *
2015 Mar 05
5
[LLVMdev] RFC - Improvements to PGO profile support
> On Mar 2, 2015, at 4:19 PM, Diego Novillo <dnovillo at google.com> wrote: > > On Thu, Feb 26, 2015 at 6:54 PM, Diego Novillo <dnovillo at google.com <mailto:dnovillo at google.com>> wrote: > > I've created a few bugzilla issues with details of some of the things I'll be looking into. I'm not yet done wordsmithing the overall design document.