Home | History | Annotate | Download | only in Scalar

Lines Matching refs:GEPI

1109   if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(I)) {
1110 if (GEPI->hasAllZeroIndices()) {
1112 Instruction *NC = new BitCastInst(GEPI->getOperand(0), GEPI->getType(),
1113 GEPI->getName(), GEPI);
1114 GEPI->replaceAllUsesWith(NC);
1115 GEPI->eraseFromParent();