Lines Matching refs:ExtTy
162 inline bool isTypedPointerWrapper(TargetExtType *ExtTy) { in isTypedPointerWrapper() argument
163 return ExtTy->getName() == TYPED_PTR_TARGET_EXT_NAME && in isTypedPointerWrapper()
164 ExtTy->getNumIntParameters() == 1 && in isTypedPointerWrapper()
165 ExtTy->getNumTypeParameters() == 1; in isTypedPointerWrapper()
169 if (auto *ExtTy = dyn_cast<TargetExtType>(Ty)) { in applyWrappers() local
170 if (isTypedPointerWrapper(ExtTy)) in applyWrappers()
171 return TypedPointerType::get(applyWrappers(ExtTy->getTypeParameter(0)), in applyWrappers()
172 ExtTy->getIntParameter(0)); in applyWrappers()
185 else if (auto *ExtTy = dyn_cast<TargetExtType>(Ty)) in getPointeeType() local
186 if (isTypedPointerWrapper(ExtTy)) in getPointeeType()
187 return applyWrappers(ExtTy->getTypeParameter(0)); in getPointeeType()
194 if (auto *ExtTy = dyn_cast<TargetExtType>(Ty2)) in isUntypedEquivalentToTyExt() local
195 if (isTypedPointerWrapper(ExtTy) && in isUntypedEquivalentToTyExt()
196 ExtTy->getTypeParameter(0) == in isUntypedEquivalentToTyExt()
198 ExtTy->getIntParameter(0) == cast<PointerType>(Ty1)->getAddressSpace()) in isUntypedEquivalentToTyExt()