Displaying 5 results from an estimated 5 matches for "a72bbf45d2e00971f56bf8cfe4e1df01c".
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 write up a transformation for the followin...
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 to identify in LLVM (see
http://llvm.or...
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 can query the expression for a loop head...