Displaying 6 results from an estimated 6 matches for "cfnodeitr".
Did you mean:
cgnodeitr
2011 Nov 30
0
[LLVMdev] Fwd: Problem getting LoopInfo inside non-LoopPass
...char ID;
myPass() : CallGraphSCCPass(ID) {}
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
AU.addRequired<LoopInfo>();
}
virtual bool runOnSCC(CallGraphSCC &SCC) {
for (CallGraphSCC::iterator CGNodeItr = SCC.begin(),
CFNodeItrE=SCC.end();CGNodeItr!=CGNodeItrE;++CGNodeItr) }
const CallGraphNode *CGNode = *CGNodeItr;
Function *F = CGNode->getFunction();
if (!F->isDeclaration())
LoopInfo &LI = getAnalysis<LoopInfo>(*F);...
2011 Nov 21
5
[LLVMdev] Fwd: Problem getting LoopInfo inside non-LoopPass
I would have thought this would have been possible.
On Thu, Nov 17, 2011 at 3:49 PM, Ryan Taylor <ryta1203 at gmail.com> wrote:
> So is this simply not possible?
>
>
> On Thu, Nov 17, 2011 at 10:31 AM, Ryan Taylor <ryta1203 at gmail.com> wrote:
>
>> Nick,
>>
>> Thanks for this info, though this didn't help my problem at all.
>>
>>
2011 Nov 30
2
[LLVMdev] Fwd: Problem getting LoopInfo inside non-LoopPass
...ass(ID) {}
> virtual void getAnalysisUsage(AnalysisUsage &AU) const {
> AU.setPreservesAll();
> AU.addRequired<LoopInfo>();
> }
> virtual bool runOnSCC(CallGraphSCC &SCC) {
> for (CallGraphSCC::iterator CGNodeItr = SCC.begin(),
> CFNodeItrE=SCC.end();CGNodeItr!=CGNodeItrE;++CGNodeItr) }
> const CallGraphNode *CGNode = *CGNodeItr;
> Function *F = CGNode->getFunction();
> if (!F->isDeclaration())
> LoopInfo &LI = getAnalysis<L...
2011 Dec 01
1
[LLVMdev] Problem getting LoopInfo inside non-LoopPass
...raphSCCPass(ID) {}
> virtual void getAnalysisUsage(AnalysisUsage &AU) const {
> AU.setPreservesAll();
> AU.addRequired<LoopInfo>();
> }
> virtual bool runOnSCC(CallGraphSCC &SCC) {
> for (CallGraphSCC::iterator CGNodeItr = SCC.begin(), CFNodeItrE=SCC.end();CGNodeItr!=CGNodeItrE;++CGNodeItr) }
> const CallGraphNode *CGNode = *CGNodeItr;
> Function *F = CGNode->getFunction();
> if (!F->isDeclaration())
> LoopInfo &LI = getAnalysis<Loo...
2011 Nov 30
0
[LLVMdev] Fwd: Problem getting LoopInfo inside non-LoopPass
...getAnalysisUsage(AnalysisUsage &AU) const {
> > AU.setPreservesAll();
> > AU.addRequired<LoopInfo>();
> > }
> > virtual bool runOnSCC(CallGraphSCC &SCC) {
> > for (CallGraphSCC::iterator CGNodeItr = SCC.begin(),
> > CFNodeItrE=SCC.end();CGNodeItr!=CGNodeItrE;++CGNodeItr) }
> > const CallGraphNode *CGNode = *CGNodeItr;
> > Function *F = CGNode->getFunction();
> > if (!F->isDeclaration())
> > LoopInfo &L...
2011 Dec 01
0
[LLVMdev] Problem getting LoopInfo inside non-LoopPass
...al void getAnalysisUsage(AnalysisUsage &AU) const {
> > AU.setPreservesAll();
> > AU.addRequired<LoopInfo>();
> > }
> > virtual bool runOnSCC(CallGraphSCC &SCC) {
> > for (CallGraphSCC::iterator CGNodeItr = SCC.begin(),
> CFNodeItrE=SCC.end();CGNodeItr!=CGNodeItrE;++CGNodeItr) }
> > const CallGraphNode *CGNode = *CGNodeItr;
> > Function *F = CGNode->getFunction();
> > if (!F->isDeclaration())
> > LoopInfo &LI =...