Displaying 7 results from an estimated 7 matches for "cgnodeitr".
2011 Nov 30
0
[LLVMdev] Fwd: Problem getting LoopInfo inside non-LoopPass
...lGraphSCCPass {
static 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...
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
...gt; 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())
> LoopI...
2011 Dec 01
1
[LLVMdev] Problem getting LoopInfo inside non-LoopPass
...D;
> 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 &am...
2011 Nov 30
0
[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())
> >...
2011 Oct 19
1
[LLVMdev] CallGraphSCCPass
...ion->BasicBlock->Instruction, is this not
the case?
virtual bool runOnSCC(CallGraphSCC &SCC) {
errs() << "CDFGPass: " << "\n";
errs() <<"Size of SCC: "<<SCC.size()<<"\n";
for(CallGraphSCC::iterator CGNodeItr = SCC.begin(); CGNodeItr !=
SCC.end();++CGNodeItr)
{
errs()<<"Iterating CallNodeGraphs"<<"\n";
const CallGraphNode *CGNode =
cast<CallGraphNode>(&*CGNodeItr);
errs()<<"Getting Function"...
2011 Dec 01
0
[LLVMdev] Problem getting LoopInfo inside non-LoopPass
...CCPass(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())
> >...