Home | History | Annotate | Download | only in Scalar

Lines Matching refs:GEPI

173   bool visitGetElementPtrInst(GetElementPtrInst &GEPI);
544 bool Scalarizer::visitGetElementPtrInst(GetElementPtrInst &GEPI) {
545 VectorType *VT = dyn_cast<VectorType>(GEPI.getType());
549 IRBuilder<> Builder(&GEPI);
551 unsigned NumIndices = GEPI.getNumIndices();
555 Value *Op0 = GEPI.getOperand(0);
558 Scatterer Base = scatter(&GEPI, Op0);
563 Value *Op = GEPI.getOperand(I + 1);
570 Ops[I] = scatter(&GEPI, Op);
580 Res[I] = Builder.CreateGEP(GEPI.getSourceElementType(), Base[I], Indices,
581 GEPI.getName() + ".i" + Twine(I));
582 if (GEPI.isInBounds())
586 gather(&GEPI, Res);