Lines Matching refs:PT
1788 QualType PT = T->getAs<PointerType>()->getPointeeType();
1789 if (!PT->isStructureType())
6607 static OpenCLParamType getOpenCLKernelParameterType(QualType PT) {
6608 if (PT->isPointerType()) {
6609 QualType PointeeType = PT->getPointeeType();
6619 if (PT->isImageType())
6622 if (PT->isBooleanType())
6625 if (PT->isEventT())
6628 if (PT->isHalfType())
6631 if (PT->isRecordType())
6642 QualType PT = Param->getType();
6646 if (ValidTypes.count(PT.getTypePtr()))
6649 switch (getOpenCLKernelParameterType(PT)) {
6676 S.Diag(Param->getLocation(), diag::err_bad_kernel_param_type) << PT;
6682 ValidTypes.insert(PT.getTypePtr());
6697 const RecordDecl *PD = PT->castAs<RecordType>()->getDecl();
6749 << PT->isUnionType()
6750 << PT;
6752 S.Diag(Param->getLocation(), diag::err_bad_kernel_param_type) << PT;
8031 const PointerType* PT;
8032 if ((PT = qs.strip(AT)->getAs<PointerType>()) &&
8033 (PT = qs.strip(PT->getPointeeType())->getAs<PointerType>()) &&
8034 Context.hasSameType(QualType(qs.strip(PT->getPointeeType()), 0),