Home | History | Annotate | Download | only in Analysis

Lines Matching refs:GEP

216   if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) {
219 for (unsigned i = 0, e = GEP->getNumOperands(); i != e; ++i) {
220 Value *GEPOp = PHITranslateSubExpr(GEP->getOperand(i), CurBB, PredBB, DT);
223 AnyChanged |= GEPOp != GEP->getOperand(i);
228 return GEP;
230 // Simplify the GEP to handle 'gep x, 0' -> x etc.
238 // Scan to see if we have this GEP available.
242 if (GEPI->getType() == GEP->getType() &&
397 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) {
399 BasicBlock *CurBB = GEP->getParent();
400 for (unsigned i = 0, e = GEP->getNumOperands(); i != e; ++i) {
401 Value *OpVal = InsertPHITranslatedSubExpr(GEP->getOperand(i),
411 Result->setIsInBounds(GEP->isInBounds());