Displaying 20 results from an estimated 204 matches for "looppass".
2009 Nov 16
3
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue - now the __sync_val_compare_and_swap issue - now the internal compiler error issue.
...; As you said i downloaded arm toolchain from codesourcery(2009q3 with
> gcc 4.4.1 version).. if i use this toolchain i am getting the
> following error..
>
> make[2]: Entering directory
> `/home/prasanth/LLVM_ARM/llvm-with-armgcc441/llvm-obj/lib/Analysis'
> llvm[2]: Compiling LoopPass.cpp for Release build
> if arm-none-linux-gnueabi-g++
> -I/home/prasanth/LLVM_ARM/llvm-with-armgcc433/llvm/include
> -I/home/prasanth/LLVM_ARM/llvm-with-armgcc433/llvm/lib/Analysis
> -I/home/prasanth/LLVM_ARM/llvm-with-armgcc441/llvm-obj/include
> -I/home/prasanth/LLVM_ARM/llvm-with-...
2009 Nov 14
0
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue - now the __sync_val_compare_and_swap issue
Hi,
As you said i downloaded arm toolchain from codesourcery(2009q3 with gcc
4.4.1 version).. if i use this toolchain i am getting the following error..
make[2]: Entering directory
`/home/prasanth/LLVM_ARM/llvm-with-armgcc441/llvm-obj/lib/Analysis'
llvm[2]: Compiling LoopPass.cpp for Release build
if arm-none-linux-gnueabi-g++
-I/home/prasanth/LLVM_ARM/llvm-with-armgcc433/llvm/include
-I/home/prasanth/LLVM_ARM/llvm-with-armgcc433/llvm/lib/Analysis
-I/home/prasanth/LLVM_ARM/llvm-with-armgcc441/llvm-obj/include
-I/home/prasanth/LLVM_ARM/llvm-with-armgcc441/llvm-obj/lib/An...
2011 Sep 12
1
[LLVMdev] IVUsers (LoopPass) analysis in a ModulePass?
Hi Tim,
> From: Tim Creech <tcreech at umd.edu>
> Subject: [LLVMdev] IVUsers (LoopPass) analysis in a ModulePass?
> Date: September 1, 2011 11:46:28 AM PDT
> To: llvmdev at cs.uiuc.edu
>
> Hi all,
> I have a loadable ModulePass which does transformations, and I would like to
> use IVUsers analysis within it. I noticed when I try to do this (via
> the usual addR...
2012 Dec 13
2
[LLVMdev] LoopPass doFinalization() called multiple times per program?
I'm wondering if the documentation for LoopPass (
http://llvm.org/docs/WritingAnLLVMPass.html#LoopPass) is misleading or
incorrect (or if I'm just missing something.) The documentation states:
"The doFinalization method ... is called when the pass framework has
finished calling
runOnLoop<http://llvm.org/docs/WritingAnLLVMPass.html#r...
2009 Nov 13
2
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue - now the __sync_val_compare_and_swap issue
Prasanth J wrote:
>
> Hi all,
> with reference to the reply below, I downloaded toolchain from
> codesourcery (arm-2009q1-203-arm-none-linux-gnueabi) with gcc 4.3.3...
> when i compile llvm+clang with this toolchain i am getting the
> following error
>
> make[4]: Entering directory
>
2012 Jul 23
1
[LLVMdev] llvm::LoopPass
Hi Edvard, _ZTIN4llvm8LoopPassE is "typeinfo for llvm::LoopPass". LLVM is
built without typeinfo, so you will need to build your pass with -fno-rtti.
Ciao, Duncan.
> I'm trying to implement LoopPass.
> Here is simple code :
>
> class LoopParser: public llvm::LoopPass
> {
> public:
&g...
2012 Dec 16
0
[LLVMdev] LoopPass doFinalization() called multiple times per program?
Hi Stephen,
On 13/12/12 18:58, Stephen McGruer wrote:
> I'm wondering if the documentation for LoopPass
> (http://llvm.org/docs/WritingAnLLVMPass.html#LoopPass) is misleading or
> incorrect (or if I'm just missing something.) The documentation states:
>
> "The doFinalization method ... is called when the pass framework has finished
> calling runOnLoop <http://llvm.org/docs/...
2012 Mar 02
2
[LLVMdev] Interactions between module and loop passes
...ults. Is there any explanation why loop passes cannot be
scheduled between two module passes? Perhaps I misunderstood the
behaviour of pass managers.
I paste here my "usage" information:
int main(...){
Module m = ... //Read module
PassManager pm;
pm.add(new ModPass1);
pm.add(new LoopPass);
pm.add(new ModPass2);
pm.run(m);
}
class ModPass1 : public ModulePass{
virtual void getAnalysisUsage(AnalysisUsage&AU) const{
AU.setPreservesAll();
}
};
class LoopPass : public LoopPass{
virtual void getAnalysisUsage(AnalysisUsage&AU) const{
AU.setRequires<...
2012 Jul 23
0
[LLVMdev] llvm::LoopPass
Hello .
I'm trying to implement LoopPass.
Here is simple code :
class LoopParser: public llvm::LoopPass
{
public:
static char ID;
public:
virtual void getAnalysisUsage(llvm::AnalysisUsage &AU) const
{
AU.addRequiredID(llvm::LoopSimplifyID);
AU.addPreservedID(llvm::LoopSimplifyID);
...
2012 Dec 17
3
[LLVMdev] LoopPass doFinalization() called multiple times per program?
On Sun, Dec 16, 2012 at 7:23 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Stephen,
>
>
> On 13/12/12 18:58, Stephen McGruer wrote:
>
>> I'm wondering if the documentation for LoopPass
>> (http://llvm.org/docs/**WritingAnLLVMPass.html#**LoopPass<http://llvm.org/docs/WritingAnLLVMPass.html#LoopPass>)
>> is misleading or
>> incorrect (or if I'm just missing something.) The documentation states:
>>
>> "The doFinalization method ... is cal...
2009 Nov 16
0
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue - now the __sync_val_compare_and_swap issue - now the internal compiler error issue.
...toolchain from codesourcery(2009q3 with
> > gcc 4.4.1 version).. if i use this toolchain i am getting the
> > following error..
> >
> > make[2]: Entering directory
> > `/home/prasanth/LLVM_ARM/llvm-with-armgcc441/llvm-obj/lib/Analysis'
> > llvm[2]: Compiling LoopPass.cpp for Release build
> > if arm-none-linux-gnueabi-g++
> > -I/home/prasanth/LLVM_ARM/llvm-with-armgcc433/llvm/include
> > -I/home/prasanth/LLVM_ARM/llvm-with-armgcc433/llvm/lib/Analysis
> > -I/home/prasanth/LLVM_ARM/llvm-with-armgcc441/llvm-obj/include
> > -I/home/pra...
2014 Jan 22
2
[LLVMdev] Why should we have the LoopPass and LoopPassManager? Can we get rid of this complexity?
...Loop analysis pass - IVUsers. It seems unlikely that
the loop nest walk is critical to computing this or preserving it.
- Almost all of the things we think of as "required" and dependencies are
actually *transforms* that canonicalize the form of a loop into particular
shapes.
- Because LoopPasses are nested inside of some other pass manager, we can't
compute function analyses after transforming loops with LoopSimplify and/or
LCSSA, and have these analyses available to other LoopPasses such as the
vectorizer and unroller.
- LoopPasses don't obey the typical "rules" of a...
2012 Dec 17
0
[LLVMdev] LoopPass doFinalization() called multiple times per program?
..., Chandler Carruth wrote:
> On Sun, Dec 16, 2012 at 7:23 AM, Duncan Sands <baldrick at free.fr
> <mailto:baldrick at free.fr>> wrote:
>
> Hi Stephen,
>
>
> On 13/12/12 18:58, Stephen McGruer wrote:
>
> I'm wondering if the documentation for LoopPass
> (http://llvm.org/docs/__WritingAnLLVMPass.html#__LoopPass
> <http://llvm.org/docs/WritingAnLLVMPass.html#LoopPass>) is misleading or
> incorrect (or if I'm just missing something.) The documentation states:
>
> "The doFinalization meth...
2008 Aug 19
2
[LLVMdev] LoopPass Question
Are LoopPasses allowed to maintain state between runOnLoop invocations?
The documentation is not clear on this point.
-Dave
2010 Apr 23
2
[LLVMdev] The "scope" of passes
> Personally, I would make everything a FunctionPass.
What if a FunctionPass requires the results of a LoopPass? Is there a way to get
all loops of a function without using LoopPass and LoopInfo?
2012 Mar 02
0
[LLVMdev] Interactions between module and loop passes
...be
> scheduled between two module passes? Perhaps I misunderstood the
> behaviour of pass managers.
>
> I paste here my "usage" information:
>
> int main(...){
>
> Module m = ... //Read module
> PassManager pm;
>
> pm.add(new ModPass1);
> pm.add(new LoopPass);
> pm.add(new ModPass2);
> pm.run(m);
>
> }
>
> class ModPass1 : public ModulePass{
>
> virtual void getAnalysisUsage(AnalysisUsage&AU) const{
> AU.setPreservesAll();
> }
> };
>
> class LoopPass : public LoopPass{
>
> virtua...
2014 Jan 22
2
[LLVMdev] Why should we have the LoopPass and LoopPassManager? Can we get rid of this complexity?
...s well in another
guise: when we unroll a loop, we need to re-run a bunch of the passes, but
re-running them when we *haven't* successfully unrolled a loop is a total
waste.
I'd like to think more about this, so a simpler option: what if we *just*
extract LoopSimplify and LCSSA? If all the LoopPasses preserve these, then
them being function passes would be fine. This would allow us to at least
*start* writing function passes over loops (like the LoopVectorizer) rather
than being forced to phrase them as LoopPasses.
I think I could implement this simpler option right away, and that would
unbl...
2010 Jan 28
2
[LLVMdev] RTTI Madness
Hi,
Lately LLVM has been adding -fno-rtti to most of the compiler. I have a pass which uses LoopPass and which inherits from FunctionPass and a class of my own. If I compile my code with ENABLE_RTTI=1, I can't dynamically load the shared object since it won't be able to find the symbol for LoopPass's typeinfo.
undefined symbol: _ZTIN4llvm8LoopPassE
$ c++filt _ZTIN4llvm8LoopPassE
typei...
2008 Aug 19
0
[LLVMdev] LoopPass Question
On Aug 19, 2008, at 12:32 PM, David Greene wrote:
> Are LoopPasses allowed to maintain state between runOnLoop
> invocations?
What kind of information are you looking to maintain between runOnLoop
invocations ?
>
> The documentation is not clear on this point.
doInitialization() and doFinalization() will be run for each pass
before and after ru...
2011 Nov 16
0
[LLVMdev] how often doInitialization in Looppass is called?
Hi all
I want my Looppass add some global variables(only once) before processing
each loops(many times)in the module. Currently I add all global variables
in the doInitialization of Looppass. It seems that doInitialization is
called for each function of the module. Is it so? How to make my pass
processing globals only once...