Lines Matching refs:GEPI
198 bool visitGetElementPtrInst(GetElementPtrInst &GEPI);
630 bool ScalarizerVisitor::visitGetElementPtrInst(GetElementPtrInst &GEPI) { in visitGetElementPtrInst() argument
631 VectorType *VT = dyn_cast<VectorType>(GEPI.getType()); in visitGetElementPtrInst()
635 IRBuilder<> Builder(&GEPI); in visitGetElementPtrInst()
637 unsigned NumIndices = GEPI.getNumIndices(); in visitGetElementPtrInst()
641 Value *Op0 = GEPI.getOperand(0); in visitGetElementPtrInst()
644 Scatterer Base = scatter(&GEPI, Op0); in visitGetElementPtrInst()
649 Value *Op = GEPI.getOperand(I + 1); in visitGetElementPtrInst()
656 Ops[I] = scatter(&GEPI, Op); in visitGetElementPtrInst()
666 Res[I] = Builder.CreateGEP(GEPI.getSourceElementType(), Base[I], Indices, in visitGetElementPtrInst()
667 GEPI.getName() + ".i" + Twine(I)); in visitGetElementPtrInst()
668 if (GEPI.isInBounds()) in visitGetElementPtrInst()
672 gather(&GEPI, Res); in visitGetElementPtrInst()