Lines Matching defs:CurTy
3767 Type *CurTy = GEP->getType();
3772 if (StructType *STy = dyn_cast<StructType>(CurTy)) {
3779 // Update CurTy to the type of the field at Index.
3780 CurTy = STy->getTypeAtIndex(Index);
3782 // Update CurTy to its element type.
3784 assert(isa<PointerType>(CurTy) &&
3786 CurTy = GEP->getSourceElementType();
3789 CurTy = GetElementPtrInst::getTypeAtIndex(CurTy, (uint64_t)0);
3792 const SCEV *ElementSize = getSizeOfExpr(IntIdxTy, CurTy);