search for: newphi

Displaying 2 results from an estimated 2 matches for "newphi".

Did you mean: nephi
2005 Jul 29
0
[LLVMdev] patch for pointer-to-array conversion
...ecurrence we just inserted. GEPI->setOperand(1, NewAdd); + // Nesting is deep... + if ( PHINode *PN = dyn_cast<PHINode>( GEPI->getOperand(0) ) ) + return transformPointerRecurrence( GEPI, PN, PN->getIncomingBlock(0) ); + return std::make_pair(NewAdd,NewPhi); +} + +/// 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, +...
2013 Mar 02
2
[LLVMdev] Question about method CodeExtractor::severSplitPHINodes
...incoming values from inside the region, while subsequent PHI nodes have inputs from outside? Is that possible? 2. Oddly, later in the code, it creates a corresponding new PHI node in the newBB for each PHI in the old header block. And then it adds the old PHI node as an incoming value to the newPHI node. This is Okay for the first PHI node of original header as it's been proved to have multiple inputs from outside the region earlier. But it does not make sense for subsequent PHI nodes since they may contain only incoming values from inside. Then what's the point of adding it a...