Lines Matching refs:ParamTy
2907 QualType ParamTy = Param->getType();
2908 assert(!ParamTy.isNull() && "Couldn't parse type?");
2913 if (ParamTy->isVoidType()) {
2919 ParamTy = Context.IntTy;
2920 Param->setType(ParamTy);
2924 ParamTy = Context.IntTy;
2925 Param->setType(ParamTy);
2928 if (ParamTy.hasQualifiers())
2934 } else if (ParamTy->isHalfType()) {
2940 diag::err_opencl_half_param) << ParamTy;
2950 if (ParamTy->isPromotableIntegerType()) {
2951 ParamTy = Context.getPromotedIntegerType(ParamTy);
2953 } else if (const BuiltinType* BTy = ParamTy->getAs<BuiltinType>()) {
2955 ParamTy = Context.DoubleTy;
2967 ParamTys.push_back(ParamTy);