Lines Matching defs:GEP
354 GetElementPtrInst *GEP = cast<GetElementPtrInst>(Ptr);
356 auto I = GEPIdx.find(GEP);
360 static Value* GEPToVectorIndex(GetElementPtrInst *GEP) {
362 if (GEP->getNumOperands() != 3)
365 ConstantInt *I0 = dyn_cast<ConstantInt>(GEP->getOperand(1));
369 return GEP->getOperand(2);
409 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(AllocaUser);
410 if (!GEP) {
418 Value *Index = GEPToVectorIndex(GEP);
420 // If we can't compute a vector index from this GEP, then we can't
423 DEBUG(dbgs() << " Cannot compute vector index for GEP " << *GEP << '\n');
427 GEPVectorIdx[GEP] = Index;
593 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(UseInst)) {
596 if (!GEP->isInBounds())