Home | History | Annotate | Download | only in Hexagon

Lines Matching refs:Phi

125     ///   R = phi ..., [ R.next, LatchBlock ]
193 /// The desired flow is: phi ---> bump -+-> comparison-in-latch.
195 /// +-> back to phi
200 /// phi -+-> bump ---> back to phi
345 MachineInstr *Phi = &*I;
347 // Have a PHI instruction. Get the operand that corresponds to the
349 // where the "reg" is defined by the PHI node we are looking at.
350 for (unsigned i = 1, n = Phi->getNumOperands(); i < n; i += 2) {
351 if (Phi->getOperand(i+1).getMBB() != Latch)
354 unsigned PhiOpReg = Phi->getOperand(i).getReg();
360 // If the register operand to the add is the PHI we're
363 if (MRI->getVRegDef(IndReg) == Phi) {
427 /// This function iterates over the phi nodes in the loop to check for
912 // This instruction has users, but if the only user is the phi node for the
913 // parent block, and the only use of that phi node is this instruction, then
914 // this instruction is dead: both it (and the phi node) can be removed.
934 phi node has a user that is not MI, bail...
971 // This may also be a "instr -> phi -> instr" case which can
1268 // vreg1 = PHI ..., [ latch, vreg2 ]
1273 MachineInstr *Phi = &*I;
1275 // Have a PHI instruction.
1276 for (unsigned i = 1, n = Phi->getNumOperands(); i < n; i += 2) {
1277 if (Phi->getOperand(i+1).getMBB() != Latch)
1280 unsigned PhiReg = Phi->getOperand(i).getReg();
1286 // If the register operand to the add/sub is the PHI we are looking
1289 if (MRI->getVRegDef(IndReg) == Phi) {
1375 // Otherwise, if the register being compared comes out of a PHI node,
1460 // join at the newly created preheader. Inspect all PHI nodes from the
1461 // header and create appropriate corresponding PHI nodes in the preheader.
1467 const MCInstrDesc &PD = TII->get(TargetOpcode::PHI);
1476 // Copy all non-latch operands of a header's PHI node to the newly
1477 // created PHI node in the preheader.
1488 // Remove copied operands from the old PHI node and add the value
1489 // coming from the preheader's PHI.
1506 // In such a case we don't need any extra PHI nodes in the new preheader,