| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | IntegerDivisionTest.cpp | 27 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() local 29 ArgTys, false), in TEST() 57 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() local 59 ArgTys, false), in TEST() 87 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() local 89 ArgTys, false), in TEST() 117 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() local 148 SmallVector<Type*, 2> ArgTys(2, Builder.getInt64Ty()); in TEST() local 178 SmallVector<Type*, 2> ArgTys(2, Builder.getInt64Ty()); in TEST() local 208 SmallVector<Type*, 2> ArgTys(2, Builder.getInt64Ty()); in TEST() local [all …]
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Function.cpp | 1385 SmallVector<Type*, 8> ArgTys; in getType() local 1391 if (!ArgTys.empty() && ArgTys.back()->isVoidTy()) { in getType() 1392 ArgTys.pop_back(); in getType() 1447 SmallVectorImpl<Type *> &ArgTys, in matchIntrinsicType() argument 1541 ArgTys.push_back(Ty); in matchIntrinsicType() 1638 ArgTys.push_back(Ty); in matchIntrinsicType() 1645 ArgTys.push_back(Ty); in matchIntrinsicType() 1662 ArgTys.push_back(Ty); in matchIntrinsicType() 1669 ArgTys.push_back(Ty); in matchIntrinsicType() 1788 SmallVector<Type *, 4> ArgTys; in remangleIntrinsicFunction() local [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/ |
| H A D | DXILOpBuilder.cpp | 225 SmallVector<Type *> ArgTys; in getDXILOpFunctionType() local 231 ArgTys.emplace_back(getTypeFromParameterKind(Kind, OverloadTy)); in getDXILOpFunctionType() 234 ArgTys[0], ArrayRef<Type *>(&ArgTys[1], ArgTys.size() - 1), false); in getDXILOpFunctionType()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstCombineIntrinsic.cpp | 121 SmallVector<Type *, 4> ArgTys; in modifyIntrinsicCall() local 122 if (!Intrinsic::getIntrinsicSignature(OldIntr.getCalledFunction(), ArgTys)) in modifyIntrinsicCall() 128 Func(Args, ArgTys); in modifyIntrinsicCall() 165 II, II, NewImageDimIntr->Intr, IC, [&](auto &Args, auto &ArgTys) { in simplifyAMDGCNImageIntrinsic() argument 182 II, II, NewImageDimIntr->Intr, IC, [&](auto &Args, auto &ArgTys) { in simplifyAMDGCNImageIntrinsic() argument 201 ArgTys.erase(ArgTys.begin() + ImageDimIntr->BiasTyArg); in simplifyAMDGCNImageIntrinsic() 242 [&](auto &Args, auto &ArgTys) { in simplifyAMDGCNImageIntrinsic() argument 245 ArgTys[0] = User->getType(); in simplifyAMDGCNImageIntrinsic() 303 II, II, II.getIntrinsicID(), IC, [&](auto &Args, auto &ArgTys) { in simplifyAMDGCNImageIntrinsic() argument 304 ArgTys[ImageDimIntr->GradientTyArg] = CoordType; in simplifyAMDGCNImageIntrinsic() [all …]
|
| H A D | AMDGPULibCalls.cpp | 564 SmallVector<llvm::Type *, 6> ArgTys; in fold_read_write_pipe() local 566 ArgTys.push_back(CI->getArgOperand(I)->getType()); in fold_read_write_pipe() 567 ArgTys.push_back(PtrTy); in fold_read_write_pipe() 571 ArrayRef<Type *>(ArgTys), false); in fold_read_write_pipe()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | IRBuilderTest.cpp | 151 SmallVector<Value*, 3> ArgTys; in TEST_F() local 152 ArgTys.push_back(UndefValue::get(DstVecTy)); in TEST_F() 153 ArgTys.push_back(UndefValue::get(PredTy)); in TEST_F() 154 ArgTys.push_back(UndefValue::get(SrcVecTy)); in TEST_F() 160 for (unsigned i = 0; i != ArgTys.size(); ++i) in TEST_F() 161 EXPECT_EQ(FTy->getParamType(i), ArgTys[i]->getType()); in TEST_F() 170 ArgTys.clear(); in TEST_F() 171 ArgTys.push_back(UndefValue::get(PtrToVecTy)); in TEST_F() 173 ArgTys.push_back(UndefValue::get(PredTy)); in TEST_F() 174 ArgTys.push_back(UndefValue::get(VecTy)); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Intrinsics.h | 233 SmallVectorImpl<Type *> &ArgTys); 246 bool getIntrinsicSignature(Function *F, SmallVectorImpl<Type *> &ArgTys);
|
| H A D | Module.h | 383 SmallVector<Type*, sizeof...(ArgsTy)> ArgTys{Args...}; in getOrInsertFunction() 385 FunctionType::get(RetTy, ArgTys, false), in getOrInsertFunction()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 2326 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl() 2327 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl() 2343 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl() 2346 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl() 2365 ArgTys.push_back(argT); in SynthMsgSendSuperFunctionDecl() 2368 ArgTys.push_back(argT); in SynthMsgSendSuperFunctionDecl() 2384 ArgTys.push_back(argT); in SynthMsgSendStretFunctionDecl() 2387 ArgTys.push_back(argT); in SynthMsgSendStretFunctionDecl() 2408 ArgTys.push_back(argT); in SynthMsgSendSuperStretFunctionDecl() 2411 ArgTys.push_back(argT); in SynthMsgSendSuperStretFunctionDecl() [all …]
|
| H A D | RewriteModernObjC.cpp | 2318 SmallVector<QualType, 16> ArgTys; in SynthSelGetUidFunctionDecl() local 2416 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl() 2417 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl() 2433 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl() 2436 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl() 2449 SmallVector<QualType, 2> ArgTys; in SynthMsgSendSuperFunctionDecl() local 2466 ArgTys.push_back(argT); in SynthMsgSendStretFunctionDecl() 2469 ArgTys.push_back(argT); in SynthMsgSendStretFunctionDecl() 2484 SmallVector<QualType, 2> ArgTys; in SynthMsgSendSuperStretFunctionDecl() local 2502 ArgTys.push_back(argT); in SynthMsgSendFpretFunctionDecl() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | BuildLibCalls.h | 46 SmallVector<Type*, sizeof...(ArgsTy)> ArgTys{Args...}; in getOrInsertLibFunc() 48 FunctionType::get(RetTy, ArgTys, false), in getOrInsertLibFunc()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 389 Type *ArgTys[5] = {Int8PtrType, Int8PtrType, Int8PtrType, Int8PtrType, in generateLSDAInEAXThunk() local 392 FunctionType::get(Int32Ty, makeArrayRef(&ArgTys[0], 4), in generateLSDAInEAXThunk() 395 FunctionType::get(Int32Ty, makeArrayRef(&ArgTys[0], 5), in generateLSDAInEAXThunk()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGBlocks.cpp | 1931 SmallVector<QualType, 2> ArgTys; in GenerateCopyHelperFunction() local 1932 ArgTys.push_back(C.VoidPtrTy); in GenerateCopyHelperFunction() 1933 ArgTys.push_back(C.VoidPtrTy); in GenerateCopyHelperFunction() 2120 SmallVector<QualType, 1> ArgTys; in GenerateDestroyHelperFunction() local 2121 ArgTys.push_back(C.VoidPtrTy); in GenerateDestroyHelperFunction() 2363 SmallVector<QualType, 2> ArgTys; in generateByrefCopyHelper() local 2364 ArgTys.push_back(Context.VoidPtrTy); in generateByrefCopyHelper() 2365 ArgTys.push_back(Context.VoidPtrTy); in generateByrefCopyHelper() 2431 SmallVector<QualType, 1> ArgTys; in generateByrefDisposeHelper() local 2432 ArgTys.push_back(Context.VoidPtrTy); in generateByrefDisposeHelper()
|
| H A D | CGObjC.cpp | 3690 SmallVector<QualType, 2> ArgTys; in GenerateObjCAtomicSetterCopyHelperFunction() local 3691 ArgTys.push_back(DestTy); in GenerateObjCAtomicSetterCopyHelperFunction() 3692 ArgTys.push_back(SrcTy); in GenerateObjCAtomicSetterCopyHelperFunction() 3693 QualType FunctionTy = C.getFunctionType(ReturnTy, ArgTys, {}); in GenerateObjCAtomicSetterCopyHelperFunction() 3780 SmallVector<QualType, 2> ArgTys; in GenerateObjCAtomicGetterCopyHelperFunction() local 3781 ArgTys.push_back(DestTy); in GenerateObjCAtomicGetterCopyHelperFunction() 3782 ArgTys.push_back(SrcTy); in GenerateObjCAtomicGetterCopyHelperFunction() 3783 QualType FunctionTy = C.getFunctionType(ReturnTy, ArgTys, {}); in GenerateObjCAtomicGetterCopyHelperFunction()
|
| H A D | CGException.cpp | 1715 QualType ArgTys[2] = {Context.UnsignedCharTy, Context.VoidPtrTy}; in Emit() local 1727 llvm::ConstantInt::get(CGF.ConvertType(ArgTys[0]), F.isForEHCleanup()); in Emit() 1741 Args.add(RValue::get(IsForEH), ArgTys[0]); in Emit() 1742 Args.add(RValue::get(FP), ArgTys[1]); in Emit()
|
| H A D | CGCXXABI.h | 349 SmallVectorImpl<CanQualType> &ArgTys) = 0;
|
| H A D | MicrosoftCXXABI.cpp | 220 SmallVectorImpl<CanQualType> &ArgTys) override; 1302 SmallVectorImpl<CanQualType> &ArgTys) { in buildStructorSignature() argument 1308 ArgTys.push_back(getContext().IntTy); in buildStructorSignature() 1322 ArgTys.insert(ArgTys.begin() + 1, getContext().IntTy); in buildStructorSignature() 1325 ArgTys.push_back(getContext().IntTy); in buildStructorSignature()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | IdentifierTable.cpp | 463 static void Profile(llvm::FoldingSetNodeID &ID, keyword_iterator ArgTys, in Profile() argument 467 ID.AddPointer(ArgTys[i]); in Profile()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | BitVector.h | 544 template <class F, class... ArgTys> 546 ArgTys const &...Args) { in apply()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 581 SmallVector<Type *, 16> ArgTys; in getInvokeWrapper() local 589 ArgTys.push_back(PointerType::getUnqual(CalleeFTy)); in getInvokeWrapper() 591 ArgTys.append(CalleeFTy->param_begin(), CalleeFTy->param_end()); in getInvokeWrapper() 593 FunctionType *FTy = FunctionType::get(CalleeFTy->getReturnType(), ArgTys, in getInvokeWrapper()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StdLibraryFunctionsChecker.cpp | 559 ArgQualTypes ArgTys; member in __anon09a2c6cc0111::StdLibraryFunctionsChecker::Signature 567 Signature(ArgTypes ArgTys, RetType RetTy) { in Signature() argument 568 for (Optional<QualType> Arg : ArgTys) { in Signature() 574 this->ArgTys.push_back(*Arg); in Signature() 1075 if (FD->param_size() != ArgTys.size()) in matches() 1099 for (size_t I = 0, E = ArgTys.size(); I != E; ++I) { in matches() 1100 QualType ArgTy = ArgTys[I]; in matches()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaLookup.cpp | 3634 ArrayRef<QualType> ArgTys, bool AllowRaw, in LookupLiteralOperator() argument 3670 else if (FD->getNumParams() == ArgTys.size()) { in LookupLiteralOperator() 3672 for (unsigned ArgIdx = 0; ArgIdx != ArgTys.size(); ++ArgIdx) { in LookupLiteralOperator() 3674 if (!Context.hasSameUnqualifiedType(ArgTys[ArgIdx], ParamTy)) { in LookupLiteralOperator() 3775 << R.getLookupName() << (int)ArgTys.size() << ArgTys[0] in LookupLiteralOperator() 3776 << (ArgTys.size() == 2 ? ArgTys[1] : QualType()) << AllowRaw in LookupLiteralOperator()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 2289 SmallVector<Type*, 8> ArgTys; in parseTypeTableBody() local 2292 ArgTys.push_back(T); in parseTypeTableBody() 2298 if (!ResultTy || ArgTys.size() < Record.size()-3) in parseTypeTableBody() 2302 ResultTy = FunctionType::get(ResultTy, ArgTys, Record[0]); in parseTypeTableBody() 2309 SmallVector<Type*, 8> ArgTys; in parseTypeTableBody() local 2314 ArgTys.push_back(T); in parseTypeTableBody() 2321 if (!ResultTy || ArgTys.size() < Record.size()-2) in parseTypeTableBody() 2325 ResultTy = FunctionType::get(ResultTy, ArgTys, Record[0]); in parseTypeTableBody() 5538 SmallVector<Type *> ArgTys; in parseFunctionBody() local 5540 ArgTys.push_back(Arg->getType()); in parseFunctionBody() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | AtomicExpandPass.cpp | 1878 SmallVector<Type *, 6> ArgTys; in expandAtomicOpToLibcall() local 1880 ArgTys.push_back(Arg->getType()); in expandAtomicOpToLibcall() 1881 FunctionType *FnType = FunctionType::get(ResultTy, ArgTys, false); in expandAtomicOpToLibcall()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 1510 Type *ArgTys[3] = { M->getRawDest()->getType(), in processMemMove() local 1514 Intrinsic::memcpy, ArgTys)); in processMemMove()
|