Lines Matching defs:ElTy
115 Type *ElTy = PTy->getElementType();
116 while (ElTy != DPTy->getElementType()) {
117 if (StructType *STy = dyn_cast<StructType>(ElTy)) {
119 ElTy = STy->getElementType(0);
122 dyn_cast<SequentialType>(ElTy)) {
123 if (ElTy->isPointerTy()) break; // Can't index into pointers!
124 ElTy = STy->getElementType();
131 if (ElTy == DPTy->getElementType())
1228 static int IdxCompare(Constant *C1, Constant *C2, Type *ElTy) {
1248 if (isMaybeZeroSizedType(ElTy))