Home
last modified time | relevance | path

Searched refs:ArgTys (Results 1 – 25 of 31) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp1300 SmallVector<Type*, 8> ArgTys; in getType() local
1306 if (!ArgTys.empty() && ArgTys.back()->isVoidTy()) { in getType()
1307 ArgTys.pop_back(); in getType()
1362 SmallVectorImpl<Type *> &ArgTys, in matchIntrinsicType() argument
1433 if (D.getArgumentNumber() < ArgTys.size()) in matchIntrinsicType()
1442 ArgTys.push_back(Ty); in matchIntrinsicType()
1536 if (RefArgNumber >= ArgTys.size()) { in matchIntrinsicType()
1541 ArgTys.push_back(Ty); in matchIntrinsicType()
1548 ArgTys.push_back(Ty); in matchIntrinsicType()
1667 SmallVector<Type *, 4> ArgTys; in remangleIntrinsicFunction() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsics.h230 SmallVectorImpl<Type *> &ArgTys);
243 bool getIntrinsicSignature(Function *F, SmallVectorImpl<Type *> &ArgTys);
H A DModule.h380 SmallVector<Type*, sizeof...(ArgsTy)> ArgTys{Args...}; in getOrInsertFunction()
382 FunctionType::get(RetTy, ArgTys, false), in getOrInsertFunction()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2326 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 DRewriteModernObjC.cpp2317 SmallVector<QualType, 16> ArgTys; in SynthSelGetUidFunctionDecl() local
2415 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl()
2416 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl()
2432 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl()
2435 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl()
2448 SmallVector<QualType, 2> ArgTys; in SynthMsgSendSuperFunctionDecl() local
2465 ArgTys.push_back(argT); in SynthMsgSendStretFunctionDecl()
2468 ArgTys.push_back(argT); in SynthMsgSendStretFunctionDecl()
2483 SmallVector<QualType, 2> ArgTys; in SynthMsgSendSuperStretFunctionDecl() local
2501 ArgTys.push_back(argT); in SynthMsgSendFpretFunctionDecl()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp142 SmallVector<Type *, 4> ArgTys; in simplifyAMDGCNImageIntrinsic() local
143 if (!Intrinsic::getIntrinsicSignature(II.getCalledFunction(), ArgTys)) in simplifyAMDGCNImageIntrinsic()
146 ArgTys[ImageDimIntr->GradientTyArg] = CoordType; in simplifyAMDGCNImageIntrinsic()
148 ArgTys[ImageDimIntr->CoordTyArg] = CoordType; in simplifyAMDGCNImageIntrinsic()
150 Intrinsic::getDeclaration(II.getModule(), II.getIntrinsicID(), ArgTys); in simplifyAMDGCNImageIntrinsic()
H A DAMDGPULibCalls.cpp592 SmallVector<llvm::Type *, 6> ArgTys; in fold_read_write_pipe() local
594 ArgTys.push_back(CI->getArgOperand(I)->getType()); in fold_read_write_pipe()
595 ArgTys.push_back(PtrTy); in fold_read_write_pipe()
599 ArrayRef<Type *>(ArgTys), false); in fold_read_write_pipe()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp389 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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp488 SmallVector<Type *, 16> ArgTys; in getInvokeWrapper() local
496 ArgTys.push_back(PointerType::getUnqual(CalleeFTy)); in getInvokeWrapper()
498 ArgTys.append(CalleeFTy->param_begin(), CalleeFTy->param_end()); in getInvokeWrapper()
500 FunctionType *FTy = FunctionType::get(CalleeFTy->getReturnType(), ArgTys, in getInvokeWrapper()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp1951 SmallVector<QualType, 2> ArgTys; in GenerateCopyHelperFunction() local
1952 ArgTys.push_back(C.VoidPtrTy); in GenerateCopyHelperFunction()
1953 ArgTys.push_back(C.VoidPtrTy); in GenerateCopyHelperFunction()
2138 SmallVector<QualType, 1> ArgTys; in GenerateDestroyHelperFunction() local
2139 ArgTys.push_back(C.VoidPtrTy); in GenerateDestroyHelperFunction()
2381 SmallVector<QualType, 2> ArgTys; in generateByrefCopyHelper() local
2382 ArgTys.push_back(Context.VoidPtrTy); in generateByrefCopyHelper()
2383 ArgTys.push_back(Context.VoidPtrTy); in generateByrefCopyHelper()
2451 SmallVector<QualType, 1> ArgTys; in generateByrefDisposeHelper() local
2452 ArgTys.push_back(Context.VoidPtrTy); in generateByrefDisposeHelper()
H A DCGObjC.cpp3693 SmallVector<QualType, 2> ArgTys; in GenerateObjCAtomicSetterCopyHelperFunction() local
3694 ArgTys.push_back(DestTy); in GenerateObjCAtomicSetterCopyHelperFunction()
3695 ArgTys.push_back(SrcTy); in GenerateObjCAtomicSetterCopyHelperFunction()
3696 QualType FunctionTy = C.getFunctionType(ReturnTy, ArgTys, {}); in GenerateObjCAtomicSetterCopyHelperFunction()
3783 SmallVector<QualType, 2> ArgTys; in GenerateObjCAtomicGetterCopyHelperFunction() local
3784 ArgTys.push_back(DestTy); in GenerateObjCAtomicGetterCopyHelperFunction()
3785 ArgTys.push_back(SrcTy); in GenerateObjCAtomicGetterCopyHelperFunction()
3786 QualType FunctionTy = C.getFunctionType(ReturnTy, ArgTys, {}); in GenerateObjCAtomicGetterCopyHelperFunction()
H A DCGException.cpp1709 QualType ArgTys[2] = {Context.UnsignedCharTy, Context.VoidPtrTy}; in Emit() local
1721 llvm::ConstantInt::get(CGF.ConvertType(ArgTys[0]), F.isForEHCleanup()); in Emit()
1735 Args.add(RValue::get(IsForEH), ArgTys[0]); in Emit()
1736 Args.add(RValue::get(FP), ArgTys[1]); in Emit()
H A DCGCXXABI.h333 SmallVectorImpl<CanQualType> &ArgTys) = 0;
H A DCGCall.cpp537 CanQualType ArgTys[] = {DeriveThisType(MD->getParent(), MD)}; in arrangeUnprototypedMustTailThunk() local
539 /*chainCall=*/false, ArgTys, in arrangeUnprototypedMustTailThunk()
549 SmallVector<CanQualType, 2> ArgTys; in arrangeMSCtorClosure() local
551 ArgTys.push_back(DeriveThisType(RD, CD)); in arrangeMSCtorClosure()
553 ArgTys.push_back(*FTP->param_type_begin()); in arrangeMSCtorClosure()
555 ArgTys.push_back(Context.IntTy); in arrangeMSCtorClosure()
559 /*chainCall=*/false, ArgTys, in arrangeMSCtorClosure()
H A DMicrosoftCXXABI.cpp216 SmallVectorImpl<CanQualType> &ArgTys) override;
1295 SmallVectorImpl<CanQualType> &ArgTys) { in buildStructorSignature() argument
1301 ArgTys.push_back(getContext().IntTy); in buildStructorSignature()
1315 ArgTys.insert(ArgTys.begin() + 1, getContext().IntTy); in buildStructorSignature()
1318 ArgTys.push_back(getContext().IntTy); in buildStructorSignature()
H A DCGBuiltin.cpp1711 llvm::SmallVector<QualType, 4> ArgTys; in generateBuiltinOSLogHelperFunction() local
1716 ArgTys.emplace_back(Ctx.VoidPtrTy); in generateBuiltinOSLogHelperFunction()
1728 ArgTys.emplace_back(ArgTy); in generateBuiltinOSLogHelperFunction()
4620 Int32Ty, llvm::ArrayRef<llvm::Type *>(ArgTys), false); in EmitBuiltinExpr()
4636 Int32Ty, llvm::ArrayRef<llvm::Type *>(ArgTys), false); in EmitBuiltinExpr()
4742 llvm::Type *ArgTys[] = {Arg0->getType(), Int32Ty, Int32Ty}; in EmitBuiltinExpr() local
4744 Int32Ty, llvm::ArrayRef<llvm::Type *>(ArgTys), false); in EmitBuiltinExpr()
4867 llvm::Type *const ArgTys[] = { in EmitBuiltinExpr() local
4917 std::vector<llvm::Type *> ArgTys = { in EmitBuiltinExpr() local
4937 ArgTys.push_back(Int32Ty); in EmitBuiltinExpr()
[all …]
H A DItaniumCXXABI.cpp208 SmallVectorImpl<CanQualType> &ArgTys) override;
1628 SmallVectorImpl<CanQualType> &ArgTys) { in buildStructorSignature() argument
1638 ArgTys.insert(ArgTys.begin() + 1, in buildStructorSignature()
H A DTargetInfo.cpp11250 llvm::SmallVector<llvm::Type *, 2> ArgTys; in createEnqueuedBlockKernel() local
11252 ArgTys.push_back(P); in createEnqueuedBlockKernel()
11255 auto *FT = llvm::FunctionType::get(llvm::Type::getVoidTy(C), ArgTys, false); in createEnqueuedBlockKernel()
11288 llvm::SmallVector<llvm::Type *, 2> ArgTys; in createEnqueuedBlockKernel() local
11296 ArgTys.push_back(BlockTy); in createEnqueuedBlockKernel()
11304 ArgTys.push_back(InvokeFT->getParamType(I)); in createEnqueuedBlockKernel()
11314 auto *FT = llvm::FunctionType::get(llvm::Type::getVoidTy(C), ArgTys, false); in createEnqueuedBlockKernel()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DIdentifierTable.cpp451 static void Profile(llvm::FoldingSetNodeID &ID, keyword_iterator ArgTys, in Profile() argument
455 ID.AddPointer(ArgTys[i]); in Profile()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp403 ArgQualTypes ArgTys; member in __anondd300ad00111::StdLibraryFunctionsChecker::Signature
411 Signature(ArgTypes ArgTys, RetType RetTy) { in Signature() argument
412 for (Optional<QualType> Arg : ArgTys) { in Signature()
418 this->ArgTys.push_back(*Arg); in Signature()
889 if (FD->param_size() != ArgTys.size()) in matches()
913 for (size_t I = 0, E = ArgTys.size(); I != E; ++I) { in matches()
914 QualType ArgTy = ArgTys[I]; in matches()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitVector.h531 template <class F, class... ArgTys>
533 ArgTys const &...Args) { in apply()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp3378 ArrayRef<QualType> ArgTys, bool AllowRaw, in LookupLiteralOperator() argument
3414 else if (FD->getNumParams() == ArgTys.size()) { in LookupLiteralOperator()
3416 for (unsigned ArgIdx = 0; ArgIdx != ArgTys.size(); ++ArgIdx) { in LookupLiteralOperator()
3418 if (!Context.hasSameUnqualifiedType(ArgTys[ArgIdx], ParamTy)) { in LookupLiteralOperator()
3519 << R.getLookupName() << (int)ArgTys.size() << ArgTys[0] in LookupLiteralOperator()
3520 << (ArgTys.size() == 2 ? ArgTys[1] : QualType()) << AllowRaw in LookupLiteralOperator()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp1860 SmallVector<Type *, 6> ArgTys; in expandAtomicOpToLibcall() local
1862 ArgTys.push_back(Arg->getType()); in expandAtomicOpToLibcall()
1863 FunctionType *FnType = FunctionType::get(ResultTy, ArgTys, false); in expandAtomicOpToLibcall()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp1578 Type *ArgTys[3] = { M->getRawDest()->getType(), in processMemMove() local
1582 Intrinsic::memcpy, ArgTys)); in processMemMove()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1797 SmallVector<Type*, 8> ArgTys; in parseTypeTableBody() local
1800 ArgTys.push_back(T); in parseTypeTableBody()
1806 if (!ResultTy || ArgTys.size() < Record.size()-3) in parseTypeTableBody()
1809 ResultTy = FunctionType::get(ResultTy, ArgTys, Record[0]); in parseTypeTableBody()
1816 SmallVector<Type*, 8> ArgTys; in parseTypeTableBody() local
1821 ArgTys.push_back(T); in parseTypeTableBody()
1828 if (!ResultTy || ArgTys.size() < Record.size()-2) in parseTypeTableBody()
1831 ResultTy = FunctionType::get(ResultTy, ArgTys, Record[0]); in parseTypeTableBody()

12