Lines Matching defs:ArgTypes
125 SmallVector<CanQualType, 16> argTypes;
126 return ::arrangeFreeFunctionType(*this, argTypes, FTP);
187 SmallVector<CanQualType, 16> argTypes;
191 argTypes.push_back(GetThisType(Context, RD));
193 argTypes.push_back(Context.VoidPtrTy);
195 return ::arrangeCXXMethodType(*this, argTypes,
224 SmallVector<CanQualType, 16> argTypes;
225 argTypes.push_back(GetThisType(Context, D->getParent()));
229 TheCXXABI.HasThisReturn(GD) ? argTypes.front() : Context.VoidTy;
235 argTypes.push_back(FTP->getParamType(i));
237 TheCXXABI.BuildConstructorSignature(D, ctorKind, resultType, argTypes);
240 (D->isVariadic() ? RequiredArgs(argTypes.size()) : RequiredArgs::All);
243 return arrangeLLVMFunctionInfo(resultType, true, argTypes, extInfo, required);
253 SmallVector<CanQualType, 16> ArgTypes;
256 ArgTypes.push_back(Context.getCanonicalParamType(i->Ty));
262 TheCXXABI.HasThisReturn(GD) ? ArgTypes.front() : Context.VoidTy;
265 return arrangeLLVMFunctionInfo(ResultType, true, ArgTypes, Info, Required);
274 SmallVector<CanQualType, 2> argTypes;
275 argTypes.push_back(GetThisType(Context, D->getParent()));
279 TheCXXABI.HasThisReturn(GD) ? argTypes.front() : Context.VoidTy;
281 TheCXXABI.BuildDestructorSignature(D, dtorKind, resultType, argTypes);
288 return arrangeLLVMFunctionInfo(resultType, true, argTypes, extInfo,
428 SmallVector<CanQualType, 16> argTypes;
431 argTypes.push_back(Context.getCanonicalParamType(i->Ty));
432 return arrangeLLVMFunctionInfo(GetReturnType(resultType), false, argTypes,
442 SmallVector<CanQualType, 16> argTypes;
445 argTypes.push_back(Context.getCanonicalParamType(i->Ty));
449 argTypes, info, required);
456 SmallVector<CanQualType, 16> argTypes;
459 argTypes.push_back(Context.getCanonicalParamType((*i)->getType()));
463 return arrangeLLVMFunctionInfo(GetReturnType(resultType), false, argTypes, info,
478 ArrayRef<CanQualType> argTypes,
483 I = argTypes.begin(), E = argTypes.end(); I != E; ++I)
492 argTypes);
500 FI = CGFunctionInfo::create(CC, IsInstanceMethod, info, resultType, argTypes,
531 ArrayRef<CanQualType> argTypes,
534 sizeof(ArgInfo) * (argTypes.size() + 1));
546 FI->NumArgs = argTypes.size();
548 for (unsigned i = 0, e = argTypes.size(); i != e; ++i)
549 FI->getArgsBuffer()[i + 1].type = argTypes[i];
944 SmallVector<llvm::Type*, 8> argTypes;
976 argTypes.push_back(llvm::PointerType::get(ty, addressSpace));
999 argTypes.push_back(PaddingType);
1009 argTypes.push_back(LTy->getPointerTo());
1024 argTypes.push_back(st->getElementType(i));
1026 argTypes.push_back(argType);
1032 GetExpandedTypes(it->type, argTypes);
1039 argTypes.push_back(ArgStruct->getPointerTo());
1042 std::swap(argTypes[0], argTypes[1]);
1047 return llvm::FunctionType::get(resultType, argTypes, FI.isVariadic());
2260 ArrayRef<QualType> ArgTypes,
2273 for (ArrayRef<QualType>::iterator I = ArgTypes.begin(), E = ArgTypes.end();
2283 for (int I = ArgTypes.size() - 1; I >= 0; --I) {
2285 EmitCallArg(Args, *Arg, ArgTypes[I]);
2296 for (unsigned I = 0, E = ArgTypes.size(); I != E; ++I) {
2299 EmitCallArg(Args, *Arg, ArgTypes[I]);