search for: elshobaky

Displaying 14 results from an estimated 14 matches for "elshobaky".

2013 Nov 03
3
[LLVMdev] loop vectorizer issue
...ndency between every two consecutive iterations. So, how the loop vectorizer says 'we can vectorize this loop'? for(int k=20;k<50;k++) dataY[k] = dataY[k-1]; From: Henrique Santos [mailto:henrique.nazare.santos at gmail.com] Sent: Sunday, November 03, 2013 4:28 PM To: Sara Elshobaky Cc: <llvmdev at cs.uiuc.edu> Subject: Re: [LLVMdev] loop vectorizer issue Notice that the code you provided, for globals and stack allocations, at least, is semantically equivalent to: int a = d[19]; for(int k = 20; k < 50; k++) dataY[k] = a; Like so, the load you see missin...
2013 Nov 03
0
[LLVMdev] loop vectorizer issue
...gt; LV: Found a write-only loop! // <<<< Write-only. > LV: We can vectorize this loop! > ... > LV: Vectorization is possible but not beneficial. This is not a bug but a great example of how one optimization can enable another. Best, Arnold On Nov 3, 2013, at 10:39 AM, Sara Elshobaky <sara.elshobaky at gmail.com> wrote: > Actually what I meant in my original loop, that there is a dependency between every two consecutive iterations. So, how the loop vectorizer says ‘we can vectorize this loop’? > for(int k=20;k<50;k++) > dataY[k] = dataY[k-1]; > >...
2013 Nov 03
2
[LLVMdev] loop vectorizer issue
...%for.body4 ] %arrayidx6 = getelementptr inbounds i32* %0, i32 %k.030 store i32 %.pre, i32* %arrayidx6, align 4, !tbaa !0 %inc8 = add nsw i32 %k.030, 1 %exitcond32 = icmp eq i32 %inc8, 50 br i1 %exitcond32, label %for.cond10.preheader, label %for.body4 Thanks in advance, Sara Elshobaky -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131103/23e2a4b6/attachment.html>
2013 Nov 03
0
[LLVMdev] loop vectorizer issue
...obals and stack allocations, at least, is semantically equivalent to: int a = d[19]; for(int k = 20; k < 50; k++) dataY[k] = a; Like so, the load you see missing was redundant, probably hoisted by GVN/PRE and replaced with "%.pre". H. On Sun, Nov 3, 2013 at 11:26 AM, Sara Elshobaky <sara.elshobaky at gmail.com>wrote: > Hello, > > I was trying to trace the Loop vectorizer of the LLVM, I wrote a simple > loop with a clear dependency. > > But found that the debug shows that ‘we can vectorize this loop’ > > > > Here you are my loop with depe...
2013 Oct 07
1
[LLVMdev] llvm jit
...re. It just uses the static compilation components before loading > the object into memory and running its own dynamic linker.**** > > ** ** > > Amara**** > > ** ** > > *From:* llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] *On > Behalf Of *Sara Elshobaky > *Sent:* 07 October 2013 14:36 > *To:* llvmdev at cs.uiuc.edu > *Subject:* [LLVMdev] llvm jit**** > > ** ** > > hello,**** > > I have a question about the llvm jit.**** > > Does it use the profile information generated during runtime to enhance > the generated c...
2014 Sep 01
2
[LLVMdev] Modify a module at runtime in MCJIT
Hello, I'm using MCJIT to run some loops on my ARM processor. I was trying to perform some runtime optimizations on some function, and this requires recompiling the function at runtime. I know that this feature is not available yet in MCJIT , and to modify a function I have to create a new module with the newly optimized code. My questions are: - The newly created module can be
2013 Oct 04
1
[LLVMdev] Runtime optimizer
Hello, Please, I need more information on the runtime optimizer used in the LLVM JIT. - Where can I find it in the LLVM source code? - Are those runtime optimizations done on the LLVM representation code or on the machine code? Sara -------------- next part -------------- An HTML attachment was scrubbed... URL:
2014 Jan 26
3
[LLVMdev] Number of instructions executed
Hello, I'm executing my byte code program by the lli tool using mcjit. I need a way to find statistics about the number of instructions executed for my program. The -stats option does not include this value, are there any other way to know? I need this information to compare different versions of my bytecode program. Please advice Thanks in advance Sara Elsohbaky --------------
2013 Sep 04
1
[LLVMdev] opengl es 2
Hello, Can LLVM execute OpenGL ES 2.0 programs safely? As I tried a simple code, and I get some crashes while using lli example LLVM ERROR: Program used external function '__dso_handle' which could not be resolved! Thanks in advance Sara Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ? Je crée ma boîte mail www.laposte.net -------------- next part
2013 Oct 07
1
[LLVMdev] llvm jit
hello, I have a question about the llvm jit. Does it use the profile information generated during runtime to enhance the generated code for arm processor? according to 'LLVM: A Compilation Framework for Lifelong Program Analysis **<http://llvm.org/pubs/2004-01-30-CGO-LLVM.html>' it is available but can't find it in the current source code. I really appreciate any help. Thanks in
2014 Feb 25
2
[LLVMdev] noinline attribute problem
Hello, I have the following simple C code below. It should return '8' as a result. But the returned result is false as it returns '1'. When I remove the line of '__attribute__((noinline))' , the returned results are correct '8'. Any idea? Please advice as I need to get the assembly code of the 'getTexSize' function alone. Note: I compile using the
2013 Jan 28
0
[LLVMdev] Testing canaries
...[cfe-dev] RFC: put commit messages in *-commits subject > lines? (Tobias Grosser) > 14. Re: Testing canaries (Duncan Sands) > 15. Re: [cfe-dev] RFC: put commit messages in *-commits subject > lines? (David Blaikie) > 16. lli problem with a simple OpenGL (sara.elshobaky) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 25 Jan 2013 14:18:08 -0800 > From: Daniel Dunbar <daniel at zuster.org> > To: Sebastian Pop <spop at codeaurora.org> > Cc: "cfe-dev at cs.uiuc.edu De...
2013 Jan 25
0
[LLVMdev] Open GL ES2
Hello, I'm sorry if this is not the place to ask my question. I know that LLVM could run an Open GL program But , does it also work with OpenGL ES 2.0? Thanks in advance Sara -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130125/9d07a5e0/attachment.html>
2013 Jan 26
1
[LLVMdev] lli problem with a simple OpenGL
 Hello, I wrote a very simple openGL application, as below #include #include int main(int argc, char **argv) {   glutInit(&argc, argv);   glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH);   glutCreateWindow("red 3D lighted cube");   printf("GL_VERSION = %s\n",glGetString(GL_VERSION) );   return 0; } Compiling it with Clang and adding -lglut option worked