Home | History | Annotate | Download | only in Scalar

Lines Matching refs:GEP

41 static int64_t GetOffsetFromIndex(const GetElementPtrInst *GEP, unsigned Idx,
44 gep_type_iterator GTI = gep_type_begin(GEP);
50 for (unsigned i = Idx, e = GEP->getNumOperands(); i != e; ++i, ++GTI) {
51 ConstantInt *OpC = dyn_cast<ConstantInt>(GEP->getOperand(i));
83 // If one pointer is a GEP and the other isn't, then see if the GEP is a
84 // constant offset from the base, as in "P" and "gep P, 1".
103 // Skip any common indices and track the GEP types.