Home | History | Annotate | Download | only in Scalar

Lines Matching refs:GEPI

1126   if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(I)) {
1127 if (GEPI->hasAllZeroIndices()) {
1129 Instruction *NC = new BitCastInst(GEPI->getOperand(0), GEPI->getType(),
1130 GEPI->getName(), GEPI);
1131 GEPI->replaceAllUsesWith(NC);
1132 GEPI->eraseFromParent();