Displaying 3 results from an estimated 3 matches for "eliminatepointerrecurr".
2005 Jul 28
2
[LLVMdev] help with pointer-to-array conversion
...===================================
RCS file: /var/cvs/llvm/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp,v
retrieving revision 1.78
diff -r1.78 IndVarSimplify.cpp
310c310
< runOnLoop(*I);
---
> runOnLoop(LI, *I);
322,323c322,323
< void runOnLoop(Loop *L);
< void EliminatePointerRecurrence(PHINode *PN, BasicBlock *Preheader,
---
> void runOnLoop(LoopInfo *LI, Loop *L);
> void EliminatePointerRecurrence(LoopInfo *LI, Loop *L, PHINode *PN,
BasicBlock *Preheader,
361c361
< void IndVarSimplify::EliminatePointerRecurrence(PHINode *PN,
---
> void IndVarSimplify::El...
2005 Jul 28
0
[LLVMdev] help with pointer-to-array conversion
...: /var/cvs/llvm/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp,v
> retrieving revision 1.78
> diff -r1.78 IndVarSimplify.cpp
> 310c310
> < runOnLoop(*I);
> ---
>> runOnLoop(LI, *I);
> 322,323c322,323
> < void runOnLoop(Loop *L);
> < void EliminatePointerRecurrence(PHINode *PN, BasicBlock *Preheader,
> ---
>> void runOnLoop(LoopInfo *LI, Loop *L);
>> void EliminatePointerRecurrence(LoopInfo *LI, Loop *L, PHINode *PN,
> BasicBlock *Preheader,
> 361c361
> < void IndVarSimplify::EliminatePointerRecurrence(PHINode *PN,
>...
2005 Jul 29
0
[LLVMdev] patch for pointer-to-array conversion
...e llvm;
namespace {
@@ -300,6 +301,7 @@
ScalarEvolution *SE;
bool Changed;
public:
+
virtual bool runOnFunction(Function &) {
LI = &getAnalysis<LoopInfo>();
SE = &getAnalysis<ScalarEvolution>();
@@ -354,21 +356,11 @@
}
}
-
-/// EliminatePointerRecurrence - Check to see if this is a trivial GEP
pointer
-/// recurrence. If so, change it into an integer recurrence, permitting
-/// analysis by the SCEV routines.
-void IndVarSimplify::EliminatePointerRecurrence(PHINode *PN,
- BasicBlock *Preheader,
-...