search for: getuniquepredecessor

Displaying 10 results from an estimated 10 matches for "getuniquepredecessor".

2012 Feb 08
2
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
.../that has only one predecessor and has an unconditional branch to the > +    //loop header > +    if (BrFirstSucc && BrFirstSucc->isUnconditional() && > +        BrFirstSucc->getSuccessor(0) == L->getHeader() && > +        BrFirstSucc->getParent()->getUniquePredecessor()) > +      Ok = true; > +    if (BrSecondSucc && BrSecondSucc->isUnconditional() && > +        BrSecondSucc->getSuccessor(0) == L->getHeader() && > +        BrSecondSucc->getParent()->getUniquePredecessor()) > +      Ok = true; > +     // Th...
2012 Feb 08
0
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...he is a block + //that has only one predecessor and has an unconditional branch to the + //loop header + if (BrFirstSucc && BrFirstSucc->isUnconditional() && + BrFirstSucc->getSuccessor(0) == L->getHeader() && + BrFirstSucc->getParent()->getUniquePredecessor()) + Ok = true; + if (BrSecondSucc && BrSecondSucc->isUnconditional() && + BrSecondSucc->getSuccessor(0) == L->getHeader() && + BrSecondSucc->getParent()->getUniquePredecessor()) + Ok = true; + // The simple checks failed, try cl...
2012 Feb 08
2
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...ional branch to >> > the >> > +    //loop header >> > +    if (BrFirstSucc && BrFirstSucc->isUnconditional() && >> > +        BrFirstSucc->getSuccessor(0) == L->getHeader() && >> > +        BrFirstSucc->getParent()->getUniquePredecessor()) >> > +      Ok = true; >> > +    if (BrSecondSucc && BrSecondSucc->isUnconditional() && >> > +        BrSecondSucc->getSuccessor(0) == L->getHeader() && >> > +        BrSecondSucc->getParent()->getUniquePredecessor()) &gt...
2012 Feb 08
0
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...essor and has an unconditional branch to > the > > + //loop header > > + if (BrFirstSucc && BrFirstSucc->isUnconditional() && > > + BrFirstSucc->getSuccessor(0) == L->getHeader() && > > + BrFirstSucc->getParent()->getUniquePredecessor()) > > + Ok = true; > > + if (BrSecondSucc && BrSecondSucc->isUnconditional() && > > + BrSecondSucc->getSuccessor(0) == L->getHeader() && > > + BrSecondSucc->getParent()->getUniquePredecessor()) > > + Ok...
2012 Feb 09
2
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...t;> >> > +    //loop header >> >> > +    if (BrFirstSucc && BrFirstSucc->isUnconditional() && >> >> > +        BrFirstSucc->getSuccessor(0) == L->getHeader() && >> >> > +        BrFirstSucc->getParent()->getUniquePredecessor()) >> >> > +      Ok = true; >> >> > +    if (BrSecondSucc && BrSecondSucc->isUnconditional() && >> >> > +        BrSecondSucc->getSuccessor(0) == L->getHeader() && >> >> > +        BrSecondSucc->getPare...
2012 Feb 08
2
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
Hello, I'm finding problems with BackEdgeTaken count calculation in even simple fortran loops with gfortran-4.6 + DragonEgg 3.0. Even for simple double loops like this one: program test2 integer i,j,k dimension k(100,100) do j=1,100 do i=1,100 k(i,j) = i enddo enddo write(*,*) k(1,30) end make the ScalarEvolution
2012 Feb 08
0
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...> > the > >> > + //loop header > >> > + if (BrFirstSucc && BrFirstSucc->isUnconditional() && > >> > + BrFirstSucc->getSuccessor(0) == L->getHeader() && > >> > + BrFirstSucc->getParent()->getUniquePredecessor()) > >> > + Ok = true; > >> > + if (BrSecondSucc && BrSecondSucc->isUnconditional() && > >> > + BrSecondSucc->getSuccessor(0) == L->getHeader() && > >> > + BrSecondSucc->getParent()->getUniq...
2012 Feb 09
0
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...gt; > +    //loop header >>> >> > +    if (BrFirstSucc && BrFirstSucc->isUnconditional() && >>> >> > +        BrFirstSucc->getSuccessor(0) == L->getHeader() && >>> >> > +        BrFirstSucc->getParent()->getUniquePredecessor()) >>> >> > +      Ok = true; >>> >> > +    if (BrSecondSucc && BrSecondSucc->isUnconditional() && >>> >> > +        BrSecondSucc->getSuccessor(0) == L->getHeader() && >>> >> > +        BrSecond...
2012 Feb 09
1
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
... //loop header >>>> >> > +    if (BrFirstSucc && BrFirstSucc->isUnconditional() && >>>> >> > +        BrFirstSucc->getSuccessor(0) == L->getHeader() && >>>> >> > +        BrFirstSucc->getParent()->getUniquePredecessor()) >>>> >> > +      Ok = true; >>>> >> > +    if (BrSecondSucc && BrSecondSucc->isUnconditional() && >>>> >> > +        BrSecondSucc->getSuccessor(0) == L->getHeader() && >>>> >> > +...
2010 Jun 25
3
[LLVMdev] LLVM:help
How can I get list of its predecessor basic blocks from a basic block? --Rajwinder Singh -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100625/21c52063/attachment.html>