Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:GEPI

4368   if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(I)) {
4369 if (GEPI->hasAllZeroIndices()) {
4371 Instruction *NC = new BitCastInst(GEPI->getOperand(0), GEPI->getType(),
4372 GEPI->getName(), GEPI);
4373 GEPI->replaceAllUsesWith(NC);
4374 GEPI->eraseFromParent();