Lines Matching defs:ArgTy
2936 QualType ArgTy = Param->getType();
2937 assert(!ArgTy.isNull() && "Couldn't parse type?");
2942 if (ArgTy->isVoidType()) {
2948 ArgTy = Context.IntTy;
2949 Param->setType(ArgTy);
2954 ArgTy = Context.IntTy;
2955 Param->setType(ArgTy);
2958 if (ArgTy.hasQualifiers())
2964 } else if (ArgTy->isHalfType()) {
2970 diag::err_opencl_half_argument) << ArgTy;
2980 if (ArgTy->isPromotableIntegerType()) {
2981 ArgTy = Context.getPromotedIntegerType(ArgTy);
2983 } else if (const BuiltinType* BTy = ArgTy->getAs<BuiltinType>()) {
2985 ArgTy = Context.DoubleTy;
2997 ArgTys.push_back(ArgTy);