Searched refs:LastOperand (Results 1 – 4 of 4) sorted by relevance
103 unsigned LastOperand = Gep->getNumOperands() - 1; in getGEPInductionOperand() local107 while (LastOperand > 1 && match(Gep->getOperand(LastOperand), m_Zero())) { in getGEPInductionOperand()110 std::advance(GEPTI, LastOperand - 1); in getGEPInductionOperand()116 --LastOperand; in getGEPInductionOperand()119 return LastOperand; in getGEPInductionOperand()
105 unsigned LastOperand = Gep->getNumOperands() - 1; in getGEPInductionOperand() local109 while (LastOperand > 1 && match(Gep->getOperand(LastOperand), m_Zero())) { in getGEPInductionOperand()112 std::advance(GEPTI, LastOperand - 2); in getGEPInductionOperand()118 --LastOperand; in getGEPInductionOperand()121 return LastOperand; in getGEPInductionOperand()
796 Value *LastOperand = GEP->getOperand(GEP->getNumOperands()-1); in collectPossibleRoots() local797 CI = dyn_cast<ConstantInt>(LastOperand); in collectPossibleRoots()
808 Value *LastOperand = GEP->getOperand(GEP->getNumOperands()-1); in collectPossibleRoots() local809 CI = dyn_cast<ConstantInt>(LastOperand); in collectPossibleRoots()