Lines Matching defs:ParamTy
4952 QualType ParamTy = Param->getType();
4953 assert(!ParamTy.isNull() && "Couldn't parse type?");
4958 if (ParamTy->isVoidType()) {
4964 ParamTy = Context.IntTy;
4965 Param->setType(ParamTy);
4969 ParamTy = Context.IntTy;
4970 Param->setType(ParamTy);
4973 if (ParamTy.hasQualifiers())
4979 } else if (ParamTy->isHalfType()) {
4985 diag::err_opencl_half_param) << ParamTy;
4995 if (ParamTy->isPromotableIntegerType()) {
4996 ParamTy = Context.getPromotedIntegerType(ParamTy);
4998 } else if (const BuiltinType* BTy = ParamTy->getAs<BuiltinType>()) {
5000 ParamTy = Context.DoubleTy;
5027 ParamTys.push_back(ParamTy);