Searched refs:IncI (Results 1 – 2 of 2) sorted by relevance
1334 Instruction *IncI = dyn_cast<Instruction>(IncV); in getLoopPhiForCounter() local1335 if (!IncI) in getLoopPhiForCounter()1338 switch (IncI->getOpcode()) { in getLoopPhiForCounter()1344 if (IncI->getNumOperands() == 2) in getLoopPhiForCounter()1350 PHINode *Phi = dyn_cast<PHINode>(IncI->getOperand(0)); in getLoopPhiForCounter()1352 if (isLoopInvariant(IncI->getOperand(1), L, DT)) in getLoopPhiForCounter()1356 if (IncI->getOpcode() == Instruction::GetElementPtr) in getLoopPhiForCounter()1360 Phi = dyn_cast<PHINode>(IncI->getOperand(1)); in getLoopPhiForCounter()1362 if (isLoopInvariant(IncI->getOperand(0), L, DT)) in getLoopPhiForCounter()
1586 Instruction *IncI = dyn_cast<Instruction>(IncV); in getLoopPhiForCounter() local1587 if (!IncI) in getLoopPhiForCounter()1590 switch (IncI->getOpcode()) { in getLoopPhiForCounter()1596 if (IncI->getNumOperands() == 2) in getLoopPhiForCounter()1602 PHINode *Phi = dyn_cast<PHINode>(IncI->getOperand(0)); in getLoopPhiForCounter()1604 if (isLoopInvariant(IncI->getOperand(1), L, DT)) in getLoopPhiForCounter()1608 if (IncI->getOpcode() == Instruction::GetElementPtr) in getLoopPhiForCounter()1612 Phi = dyn_cast<PHINode>(IncI->getOperand(1)); in getLoopPhiForCounter()1614 if (isLoopInvariant(IncI->getOperand(0), L, DT)) in getLoopPhiForCounter()