Lines Matching refs:GEP
217 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) {
220 for (unsigned i = 0, e = GEP->getNumOperands(); i != e; ++i) {
221 Value *GEPOp = PHITranslateSubExpr(GEP->getOperand(i), CurBB, PredBB, DT);
224 AnyChanged |= GEPOp != GEP->getOperand(i);
229 return GEP;
231 // Simplify the GEP to handle 'gep x, 0' -> x etc.
239 // Scan to see if we have this GEP available.
244 if (GEPI->getType() == GEP->getType() &&
400 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) {
402 BasicBlock *CurBB = GEP->getParent();
403 for (unsigned i = 0, e = GEP->getNumOperands(); i != e; ++i) {
404 Value *OpVal = InsertPHITranslatedSubExpr(GEP->getOperand(i),
414 Result->setIsInBounds(GEP->isInBounds());