Home | History | Annotate | Download | only in R600

Lines Matching refs:GEP

115   GetElementPtrInst *GEP = cast<GetElementPtrInst>(Ptr);
117 return GEPIdx[GEP];
120 static Value* GEPToVectorIndex(GetElementPtrInst *GEP) {
122 if (GEP->getNumOperands() != 3)
125 ConstantInt *I0 = dyn_cast<ConstantInt>(GEP->getOperand(1));
129 return GEP->getOperand(2);
166 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(AllocaUser);
167 if (!GEP) {
175 Value *Index = GEPToVectorIndex(GEP);
177 // If we can't compute a vector index from this GEP, then we can't
180 DEBUG(dbgs() << " Cannot compute vector index for GEP " << *GEP << '\n');
184 GEPVectorIdx[GEP] = Index;