Lines Matching refs:GEP
217 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in PHITranslateSubExpr() local
220 for (unsigned i = 0, e = GEP->getNumOperands(); i != e; ++i) { in PHITranslateSubExpr()
221 Value *GEPOp = PHITranslateSubExpr(GEP->getOperand(i), CurBB, PredBB, DT); in PHITranslateSubExpr()
224 AnyChanged |= GEPOp != GEP->getOperand(i); in PHITranslateSubExpr()
229 return GEP; in PHITranslateSubExpr()
232 if (Value *V = SimplifyGEPInst(GEP->getSourceElementType(), in PHITranslateSubExpr()
244 if (GEPI->getType() == GEP->getType() && in PHITranslateSubExpr()
400 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in InsertPHITranslatedSubExpr() local
402 BasicBlock *CurBB = GEP->getParent(); in InsertPHITranslatedSubExpr()
403 for (unsigned i = 0, e = GEP->getNumOperands(); i != e; ++i) { in InsertPHITranslatedSubExpr()
404 Value *OpVal = InsertPHITranslatedSubExpr(GEP->getOperand(i), in InsertPHITranslatedSubExpr()
411 GEP->getSourceElementType(), GEPOps[0], makeArrayRef(GEPOps).slice(1), in InsertPHITranslatedSubExpr()
414 Result->setIsInBounds(GEP->isInBounds()); in InsertPHITranslatedSubExpr()