search for: classllvm_1_1loop

Displaying 9 results from an estimated 9 matches for "classllvm_1_1loop".

2015 Jun 07
2
[LLVMdev] Loop Unfolding in LLVM
...EN* * action* * WHILE (condition) DO action ENDWHILE * * ENDIF* * ENDIF* (I thought such transformation is somewhat standard but do not find it the related API of LLVM:loop: http://llvm.org/docs/doxygen/html/classllvm_1_1Loop.html) Thanks for your help. Sincerely, Zhoulai -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150607/4c3b0313/attachment.html>
2004 Apr 08
0
[LLVMdev] Code documentation
...comments and descriptions of each interface at the top of each header file. I don't think that doxygen picks these descriptions up, so it might be good to look there. For example, contrast this: http://llvm.cs.uiuc.edu/doxygen/LoopInfo_8h-source.html to this: http://llvm.cs.uiuc.edu/doxygen/classllvm_1_1Loop.html > As an example, consider this code: > > %tmp.1 = setgt int %i, 0 > br bool %tmp.1, label %then.0, label %else.0 > > It appears that Value* that corresponds to the %tmp.1 operand of the second > instruction is actually a pointer to Instruction* which represents...
2011 May 05
0
[LLVMdev] Loop transformations using LLVM
Malveeka, You can use the LoopInfo analysis to find the induction variable. http://llvm.org/docs/doxygen/html/classllvm_1_1Loop.html#a72bbf45d2e00971f56bf8cfe4e1df01c Cheers, Nadav From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Malveeka Tewari Sent: Thursday, May 05, 2011 14:51 To: llvmdev at cs.uiuc.edu Subject: [LLVMdev] Loop transformations using LLVM HiĀ  I am trying to wri...
2013 Apr 17
0
[LLVMdev] Request for compilers
Hi Ganesh, Please have a look at: These core parts of LLVM: http://llvm.org/docs/doxygen/html/classllvm_1_1Loop.html#a72bbf45d2e00971f56bf8cfe4e1df01c http://llvm.org/docs/Vectorizers.html These research projects based on LLVM: http://polly.llvm.org http://aesop.ece.umd.edu I'm not sure what you mean by "identify intrinsic functions". If you really mean LLVM intrinsics, they are trivial...
2013 Apr 17
2
[LLVMdev] Request for compilers
Hi, For one of our research projects, we are planning to use LLVM. We need the following features: 1. We need to aggressively fuse loops that have inter-loop dependencies. 2. We need to identify intrinsic functions and induction variables. 3. We need to detect few memory access patterns like copy, transpose-copy, stride-copy etc. 4. Lastly, auto-vectorization and
2011 May 05
2
[LLVMdev] Loop transformations using LLVM
Hi I am trying to write up a transformation for the following code where instead of incrementing the loop variable by 1, I increment it by 2 ie. for (i=0; i < THRES; *i++*) { //do something } gets transformed to for (i=0; i < THRES; *i+=2*) { //do something } I am thinking of transforming the llvm bit-code in the following way. Iterate over the function for the original code till I
2011 May 07
1
[LLVMdev] Loop transformations using LLVM
On May 5, 2011, at 5:11 AM, Rotem, Nadav wrote: > Malveeka, > > You can use the LoopInfo analysis to find the induction variable. > > http://llvm.org/docs/doxygen/html/classllvm_1_1Loop.html#a72bbf45d2e00971f56bf8cfe4e1df01c > > Cheers, > Nadav getCanonicalInductionVariable is a good example of finding IVs without iterating over instructions. But you may need to generalize it a bit for your purpose. A completely general approach to IV analysis is ScalarEvolution. You c...
2004 Apr 08
3
[LLVMdev] Code documentation
Hello, is there any documentation for LLVM codebase other than produced by doxygen? The reason I'm asking is that doxygen docs are (1) not very complete at the moment, as lot of classes don't even have a description (2) is generally not the best way to get high-level view of a big codebase. As an example, consider this code: %tmp.1 = setgt int %i, 0 br bool %tmp.1, label
2020 Mar 21
3
[GSoC] Prospective student for Unify ways to move code or check if code is safe to be moved
Hello, I am an undergrad from India. This summer I'm interested in working on unifying the code motion checks as a GSoC intern with LLVM. I started reading about classical data flow analysis since few months, I see this as a great opportunity to start contributing to LLVM. The idea of unifying all the code motion checks into one place seems very rational and interesting to me. As in the