Displaying 8 results from an estimated 8 matches for "lcssaid".
Did you mean:
lcssa
2012 Aug 06
3
[LLVMdev] How to call some transformation passes (LoopRotate and LoopUnroll) from my own pass
...ther analysis and transformation passes in
its getAnalysisUsage method:
void MyPass::getAnalysisUsage(AnalysisUsage& AU) const {
AU.addRequired<LoopInfo>();
AU.addPreserved<LoopInfo>();
AU.addRequiredID(LoopSimplifyID);
AU.addPreservedID(LoopSimplifyID);
AU.addRequiredID(LCSSAID);
AU.addPreservedID(LCSSAID);
}
However, I couldn't figure out how to call the LoopRotate and
LoopUnroll passes since I cannot use addRequiredID or addRequired for
these two transformations.
In Scalar.h, I found:
> Pass *createLoopUnrollPass(int Threshold = -1, int Count = -1, int A...
2012 Mar 23
3
[LLVMdev] Function Pass Manager
...lysis and passes to be run before my pass:
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<LoopInfo>();
AU.addPreserved<LoopInfo>();
AU.addRequiredID(LoopSimplifyID);
AU.addPreservedID(LoopSimplifyID);
AU.addRequiredID(LCSSAID);
AU.addPreservedID(LCSSAID);
AU.addRequired<ScalarEvolution>();
AU.addPreserved<ScalarEvolution>();
}
When I run it with opt -load, I'm getting the following error:
Unable to schedule 'Canonicalize natural loops' required by 'MyPass'
Unab...
2013 Apr 03
1
[LLVMdev] YSU_Student
...analysis and transformation passes in
its getAnalysisUsage method:
void MyPass::getAnalysisUsage(AnalysisUsage& AU) const {
AU.addRequired<LoopInfo>();
AU.addPreserved<LoopInfo>();
AU.addRequiredID(LoopSimplifyID);
AU.addPreservedID(LoopSimplifyID);
AU.addRequiredID(LCSSAID);
AU.addPreservedID(LCSSAID);
}
However, I couldn't figure out how to call the LoopRotate and
LoopUnroll passes since I cannot use addRequiredID or addRequired for
these two transformations.
how can I do it ?
2019 Feb 06
2
right way for setting PreserveLCSSA with new pass manager
Hi,
mustPreserveAnalysisID(LCSSAID) cannot be used with the new pass manager, so what is the right way for querying it? FunctionAnalysisManager::getCachedResult<LCSSAPass>(F) will not work, since LCSSAPass does not have a result. Moreover, it is not an analysis :)
Thanks,
Slava
-------------- next part --------------
An HT...
2012 Aug 06
0
[LLVMdev] How to call some transformation passes (LoopRotate and LoopUnroll) from my own pass
...in
> its getAnalysisUsage method:
>
>
> void MyPass::getAnalysisUsage(AnalysisUsage& AU) const {
> AU.addRequired<LoopInfo>();
> AU.addPreserved<LoopInfo>();
> AU.addRequiredID(LoopSimplifyID);
> AU.addPreservedID(LoopSimplifyID);
> AU.addRequiredID(LCSSAID);
> AU.addPreservedID(LCSSAID);
> }
>
> However, I couldn't figure out how to call the LoopRotate and
> LoopUnroll passes since I cannot use addRequiredID or addRequired for
> these two transformations.
>
> In Scalar.h, I found:
>
>> Pass *createLoopUnro...
2012 Apr 12
0
[LLVMdev] Function Pass Manager
...efore my pass:
>
> virtual void getAnalysisUsage(AnalysisUsage &AU) const {
> AU.addRequired<LoopInfo>();
> AU.addPreserved<LoopInfo>();
> AU.addRequiredID(LoopSimplifyID);
> AU.addPreservedID(LoopSimplifyID);
> AU.addRequiredID(LCSSAID);
> AU.addPreservedID(LCSSAID);
> AU.addRequired<ScalarEvolution>();
> AU.addPreserved<ScalarEvolution>();
> }
>
> When I run it with opt -load, I'm getting the following error:
>
> Unable to schedule 'Canonicalize natural loops'...
2011 May 16
2
[LLVMdev] InstructionCombining.cpp inconsistency in whether it modifies the CFG?
...e deeper meaning here?
InstructionCombining.cpp:73-82
char InstCombiner::ID = 0;
INITIALIZE_PASS(InstCombiner, "instcombine",
"Combine redundant instructions", false, false)
void InstCombiner::getAnalysisUsage(AnalysisUsage &AU) const {
AU.addPreservedID(LCSSAID);
AU.setPreservesCFG();
}
2011 May 16
0
[LLVMdev] InstructionCombining.cpp inconsistency in whether it modifies the CFG?
...nCombining.cpp:73-82
>
> char InstCombiner::ID = 0;
> INITIALIZE_PASS(InstCombiner, "instcombine",
> "Combine redundant instructions", false, false)
>
> void InstCombiner::getAnalysisUsage(AnalysisUsage&AU) const {
> AU.addPreservedID(LCSSAID);
> AU.setPreservesCFG();
> }
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev