/external/llvm/unittests/Transforms/Utils/ |
D | IntegerDivision.cpp | 28 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() local 30 ArgTys, false), in TEST() 58 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() local 60 ArgTys, false), in TEST() 88 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() local 90 ArgTys, false), in TEST() 118 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() local 120 ArgTys, false), in TEST() 149 SmallVector<Type*, 2> ArgTys(2, Builder.getInt64Ty()); in TEST() local 151 ArgTys, false), in TEST() [all …]
|
/external/llvm/lib/IR/ |
D | Module.cpp | 158 std::vector<Type*> ArgTys; in getOrInsertFunction() local 160 ArgTys.push_back(ArgTy); in getOrInsertFunction() 166 FunctionType::get(RetTy, ArgTys, false), in getOrInsertFunction() 176 std::vector<Type*> ArgTys; in getOrInsertFunction() local 178 ArgTys.push_back(ArgTy); in getOrInsertFunction() 184 FunctionType::get(RetTy, ArgTys, false), in getOrInsertFunction()
|
D | Function.cpp | 842 SmallVector<Type*, 8> ArgTys; in getType() local 844 ArgTys.push_back(DecodeFixedType(TableRef, Tys, Context)); in getType() 848 if (!ArgTys.empty() && ArgTys.back()->isVoidTy()) { in getType() 849 ArgTys.pop_back(); in getType() 850 return FunctionType::get(ResultTy, ArgTys, true); in getType() 852 return FunctionType::get(ResultTy, ArgTys, false); in getType()
|
D | Verifier.cpp | 414 SmallVectorImpl<Type *> &ArgTys); 3289 SmallVectorImpl<Type*> &ArgTys) { in VerifyIntrinsicType() argument 3310 VerifyIntrinsicType(VT->getElementType(), Infos, ArgTys); in VerifyIntrinsicType() 3315 VerifyIntrinsicType(PT->getElementType(), Infos, ArgTys); in VerifyIntrinsicType() 3324 if (VerifyIntrinsicType(ST->getElementType(i), Infos, ArgTys)) in VerifyIntrinsicType() 3332 if (D.getArgumentNumber() < ArgTys.size()) in VerifyIntrinsicType() 3333 return Ty != ArgTys[D.getArgumentNumber()]; in VerifyIntrinsicType() 3337 assert(D.getArgumentNumber() == ArgTys.size() && "Table consistency error"); in VerifyIntrinsicType() 3338 ArgTys.push_back(Ty); in VerifyIntrinsicType() 3351 if (D.getArgumentNumber() >= ArgTys.size()) in VerifyIntrinsicType() [all …]
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 2226 SmallVector<QualType, 16> ArgTys; in SynthSelGetUidFunctionDecl() local 2227 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl() 2229 getSimpleFunctionType(Context->getObjCSelType(), ArgTys); in SynthSelGetUidFunctionDecl() 2319 SmallVector<QualType, 16> ArgTys; in SynthSuperConstructorFunctionDecl() local 2322 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl() 2323 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl() 2325 ArgTys); in SynthSuperConstructorFunctionDecl() 2336 SmallVector<QualType, 16> ArgTys; in SynthMsgSendFunctionDecl() local 2339 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl() 2342 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl() [all …]
|
D | RewriteModernObjC.cpp | 2338 SmallVector<QualType, 16> ArgTys; in SynthSelGetUidFunctionDecl() local 2339 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl() 2341 getSimpleFunctionType(Context->getObjCSelType(), ArgTys); in SynthSelGetUidFunctionDecl() 2433 SmallVector<QualType, 16> ArgTys; in SynthSuperConstructorFunctionDecl() local 2436 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl() 2437 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl() 2439 ArgTys); in SynthSuperConstructorFunctionDecl() 2450 SmallVector<QualType, 16> ArgTys; in SynthMsgSendFunctionDecl() local 2453 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl() 2456 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 338 Type *ArgTys[5] = {Int8PtrType, Int8PtrType, Int8PtrType, Int8PtrType, in generateLSDAInEAXThunk() local 341 FunctionType::get(Int32Ty, makeArrayRef(&ArgTys[0], 4), in generateLSDAInEAXThunk() 344 FunctionType::get(Int32Ty, makeArrayRef(&ArgTys[0], 5), in generateLSDAInEAXThunk()
|
/external/clang/lib/Basic/ |
D | IdentifierTable.cpp | 387 keyword_iterator ArgTys, unsigned NumArgs) { in Profile() argument 390 ID.AddPointer(ArgTys[i]); in Profile()
|
/external/clang/lib/CodeGen/ |
D | CGException.cpp | 1416 QualType ArgTys[2] = {Context.UnsignedCharTy, Context.VoidPtrTy}; in Emit() local 1420 llvm::ConstantInt::get(CGF.ConvertType(ArgTys[0]), F.isForEHCleanup()); in Emit() 1421 Args.add(RValue::get(IsForEH), ArgTys[0]); in Emit() 1422 Args.add(RValue::get(FP), ArgTys[1]); in Emit() 1427 Context.getFunctionType(Context.VoidTy, ArgTys, EPI)); in Emit()
|
D | CGCXXABI.h | 287 SmallVectorImpl<CanQualType> &ArgTys) = 0;
|
D | CGCall.cpp | 374 CanQualType ArgTys[] = { GetThisType(Context, MD->getParent()) }; in arrangeMSMemberPointerThunk() local 376 /*chainCall=*/false, ArgTys, in arrangeMSMemberPointerThunk() 386 SmallVector<CanQualType, 2> ArgTys; in arrangeMSCtorClosure() local 388 ArgTys.push_back(GetThisType(Context, RD)); in arrangeMSCtorClosure() 390 ArgTys.push_back(*FTP->param_type_begin()); in arrangeMSCtorClosure() 392 ArgTys.push_back(Context.IntTy); in arrangeMSCtorClosure() 396 /*chainCall=*/false, ArgTys, in arrangeMSCtorClosure()
|
D | MicrosoftCXXABI.cpp | 206 SmallVectorImpl<CanQualType> &ArgTys) override; 1233 SmallVectorImpl<CanQualType> &ArgTys) { in buildStructorSignature() argument 1237 ArgTys.push_back(getContext().IntTy); in buildStructorSignature() 1250 ArgTys.insert(ArgTys.begin() + 1, getContext().IntTy); in buildStructorSignature() 1252 ArgTys.push_back(getContext().IntTy); in buildStructorSignature()
|
D | ItaniumCXXABI.cpp | 216 SmallVectorImpl<CanQualType> &ArgTys) override; 1351 SmallVectorImpl<CanQualType> &ArgTys) { in buildStructorSignature() argument 1359 ArgTys.insert(ArgTys.begin() + 1, in buildStructorSignature()
|
D | CGObjCGNU.cpp | 67 std::vector<llvm::Type *> ArgTys; in init() local 71 ArgTys.push_back(ArgTy); in init() 73 FTy = llvm::FunctionType::get(RetTy, ArgTys, false); in init()
|
/external/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 491 Type *ArgTys[] = {Int32Ty, Int32Ty, Int32Ty}; in TEST() local 492 Type *FnTy = FunctionType::get(Int32Ty, ArgTys, /*isVarArg=*/false); in TEST()
|
/external/clang/lib/Sema/ |
D | SemaLookup.cpp | 3023 ArrayRef<QualType> ArgTys, in LookupLiteralOperator() argument 3058 else if (FD->getNumParams() == ArgTys.size()) { in LookupLiteralOperator() 3060 for (unsigned ArgIdx = 0; ArgIdx != ArgTys.size(); ++ArgIdx) { in LookupLiteralOperator() 3062 if (!Context.hasSameUnqualifiedType(ArgTys[ArgIdx], ParamTy)) { in LookupLiteralOperator() 3127 << R.getLookupName() << (int)ArgTys.size() << ArgTys[0] in LookupLiteralOperator() 3128 << (ArgTys.size() == 2 ? ArgTys[1] : QualType()) << AllowRaw in LookupLiteralOperator()
|
D | SemaChecking.cpp | 222 QualType ArgTys[2] = { ReturnTy, ChainResult.get()->getType() }; in SemaBuiltinCallWithStaticChain() local 224 ReturnTy, ArgTys, FunctionProtoType::ExtProtoInfo()); in SemaBuiltinCallWithStaticChain()
|
/external/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 1055 Type *ArgTys[3] = { M->getRawDest()->getType(), in processMemMove() local 1059 Intrinsic::memcpy, ArgTys)); in processMemMove()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 1533 SmallVector<Type*, 8> ArgTys; in parseTypeTableBody() local 1536 ArgTys.push_back(T); in parseTypeTableBody() 1542 if (!ResultTy || ArgTys.size() < Record.size()-3) in parseTypeTableBody() 1545 ResultTy = FunctionType::get(ResultTy, ArgTys, Record[0]); in parseTypeTableBody() 1552 SmallVector<Type*, 8> ArgTys; in parseTypeTableBody() local 1557 ArgTys.push_back(T); in parseTypeTableBody() 1564 if (!ResultTy || ArgTys.size() < Record.size()-2) in parseTypeTableBody() 1567 ResultTy = FunctionType::get(ResultTy, ArgTys, Record[0]); in parseTypeTableBody()
|
/external/clang/lib/AST/ |
D | Type.cpp | 2817 const QualType *ArgTys, unsigned NumParams, in Profile() argument 2840 ID.AddPointer(ArgTys[i].getAsOpaquePtr()); in Profile()
|
/external/clang/include/clang/AST/ |
D | Type.h | 3322 param_type_iterator ArgTys, unsigned NumArgs,
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 2812 ArrayRef<QualType> ArgTys,
|