Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp1420 SmallVector<Type*, 8> ArgTys; in getType() local
1426 if (!ArgTys.empty() && ArgTys.back()->isVoidTy()) { in getType()
1427 ArgTys.pop_back(); in getType()
1469 SmallVectorImpl<Type *> &ArgTys, in matchIntrinsicType() argument
1531 if (D.getArgumentNumber() < ArgTys.size()) in matchIntrinsicType()
1540 ArgTys.push_back(Ty); in matchIntrinsicType()
1612 if (RefArgNumber >= ArgTys.size()) { in matchIntrinsicType()
1617 ArgTys.push_back(Ty); in matchIntrinsicType()
1624 ArgTys.push_back(Ty); in matchIntrinsicType()
1738 SmallVector<Type *, 4> ArgTys; in remangleIntrinsicFunction() local
[all …]
H A DIRBuilder.cpp950 SmallVector<Type *> ArgTys; in CreateIntrinsic() local
951 ArgTys.reserve(Args.size()); in CreateIntrinsic()
953 ArgTys.push_back(I->getType()); in CreateIntrinsic()
954 FunctionType *FTy = FunctionType::get(RetTy, ArgTys, false); in CreateIntrinsic()
H A DType.cpp828 template <typename... ArgTys>
829 TargetTypeInfo(Type *LayoutType, ArgTys... Properties) in TargetTypeInfo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp226 SmallVector<Type *> ArgTys; in getDXILOpFunctionType() local
232 ArgTys.emplace_back(getTypeFromParameterKind(Kind, OverloadTy)); in getDXILOpFunctionType()
235 ArgTys[0], ArrayRef<Type *>(&ArgTys[1], ArgTys.size() - 1), false); in getDXILOpFunctionType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp124 SmallVector<Type *, 4> ArgTys; in modifyIntrinsicCall() local
125 if (!Intrinsic::getIntrinsicSignature(OldIntr.getCalledFunction(), ArgTys)) in modifyIntrinsicCall()
131 Func(Args, ArgTys); in modifyIntrinsicCall()
168 II, II, NewImageDimIntr->Intr, IC, [&](auto &Args, auto &ArgTys) { in simplifyAMDGCNImageIntrinsic() argument
185 II, II, NewImageDimIntr->Intr, IC, [&](auto &Args, auto &ArgTys) { in simplifyAMDGCNImageIntrinsic() argument
204 ArgTys.erase(ArgTys.begin() + ImageDimIntr->BiasTyArg); in simplifyAMDGCNImageIntrinsic()
245 [&](auto &Args, auto &ArgTys) { in simplifyAMDGCNImageIntrinsic() argument
248 ArgTys[0] = User->getType(); in simplifyAMDGCNImageIntrinsic()
306 II, II, II.getIntrinsicID(), IC, [&](auto &Args, auto &ArgTys) { in simplifyAMDGCNImageIntrinsic() argument
307 ArgTys[ImageDimIntr->GradientTyArg] = CoordType; in simplifyAMDGCNImageIntrinsic()
[all …]
H A DAMDGPULibCalls.cpp549 SmallVector<llvm::Type *, 6> ArgTys; in fold_read_write_pipe() local
551 ArgTys.push_back(CI->getArgOperand(I)->getType()); in fold_read_write_pipe()
552 ArgTys.push_back(PtrTy); in fold_read_write_pipe()
556 ArrayRef<Type *>(ArgTys), false); in fold_read_write_pipe()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsics.h222 SmallVectorImpl<Type *> &ArgTys);
235 bool getIntrinsicSignature(Function *F, SmallVectorImpl<Type *> &ArgTys);
H A DModule.h404 SmallVector<Type*, sizeof...(ArgsTy)> ArgTys{Args...}; in getOrInsertFunction()
406 FunctionType::get(RetTy, ArgTys, false), in getOrInsertFunction()
/freebsd-14.2/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.cpp2318 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 …]
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAMDGPU.cpp537 llvm::SmallVector<llvm::Type *, 2> ArgTys; in createEnqueuedBlockKernel() local
545 ArgTys.push_back(BlockTy); in createEnqueuedBlockKernel()
553 ArgTys.push_back(InvokeFT->getParamType(I)); in createEnqueuedBlockKernel()
563 auto *FT = llvm::FunctionType::get(llvm::Type::getVoidTy(C), ArgTys, false); in createEnqueuedBlockKernel()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h46 SmallVector<Type*, sizeof...(ArgsTy)> ArgTys{Args...}; in getOrInsertLibFunc()
48 FunctionType::get(RetTy, ArgTys, false), in getOrInsertLibFunc()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp387 Type *ArgTys[5] = {Int8PtrType, Int8PtrType, Int8PtrType, Int8PtrType, in generateLSDAInEAXThunk() local
390 FunctionType::get(Int32Ty, ArrayRef(&ArgTys[0], 4), in generateLSDAInEAXThunk()
393 FunctionType::get(Int32Ty, ArrayRef(&ArgTys[0], 5), in generateLSDAInEAXThunk()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp1895 SmallVector<QualType, 2> ArgTys; in GenerateCopyHelperFunction() local
1896 ArgTys.push_back(C.VoidPtrTy); in GenerateCopyHelperFunction()
1897 ArgTys.push_back(C.VoidPtrTy); in GenerateCopyHelperFunction()
2080 SmallVector<QualType, 1> ArgTys; in GenerateDestroyHelperFunction() local
2081 ArgTys.push_back(C.VoidPtrTy); in GenerateDestroyHelperFunction()
2323 SmallVector<QualType, 2> ArgTys; in generateByrefCopyHelper() local
2324 ArgTys.push_back(Context.VoidPtrTy); in generateByrefCopyHelper()
2325 ArgTys.push_back(Context.VoidPtrTy); in generateByrefCopyHelper()
2389 SmallVector<QualType, 1> ArgTys; in generateByrefDisposeHelper() local
2390 ArgTys.push_back(Context.VoidPtrTy); in generateByrefDisposeHelper()
H A DCGObjC.cpp3728 SmallVector<QualType, 2> ArgTys; in GenerateObjCAtomicSetterCopyHelperFunction() local
3729 ArgTys.push_back(DestTy); in GenerateObjCAtomicSetterCopyHelperFunction()
3730 ArgTys.push_back(SrcTy); in GenerateObjCAtomicSetterCopyHelperFunction()
3731 QualType FunctionTy = C.getFunctionType(ReturnTy, ArgTys, {}); in GenerateObjCAtomicSetterCopyHelperFunction()
3826 SmallVector<QualType, 2> ArgTys; in GenerateObjCAtomicGetterCopyHelperFunction() local
3827 ArgTys.push_back(DestTy); in GenerateObjCAtomicGetterCopyHelperFunction()
3828 ArgTys.push_back(SrcTy); in GenerateObjCAtomicGetterCopyHelperFunction()
3829 QualType FunctionTy = C.getFunctionType(ReturnTy, ArgTys, {}); in GenerateObjCAtomicGetterCopyHelperFunction()
H A DCGException.cpp1736 QualType ArgTys[2] = {Context.UnsignedCharTy, Context.VoidPtrTy}; in Emit() local
1748 llvm::ConstantInt::get(CGF.ConvertType(ArgTys[0]), F.isForEHCleanup()); in Emit()
1762 Args.add(RValue::get(IsForEH), ArgTys[0]); in Emit()
1763 Args.add(RValue::get(FP), ArgTys[1]); in Emit()
H A DCGCXXABI.h369 SmallVectorImpl<CanQualType> &ArgTys) = 0;
H A DMicrosoftCXXABI.cpp232 SmallVectorImpl<CanQualType> &ArgTys) override;
1330 SmallVectorImpl<CanQualType> &ArgTys) { in buildStructorSignature() argument
1336 ArgTys.push_back(getContext().IntTy); in buildStructorSignature()
1350 ArgTys.insert(ArgTys.begin() + 1, getContext().IntTy); in buildStructorSignature()
1353 ArgTys.push_back(getContext().IntTy); in buildStructorSignature()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DIdentifierTable.h921 static void Profile(llvm::FoldingSetNodeID &ID, keyword_iterator ArgTys, in alignas()
925 ID.AddPointer(ArgTys[i]); in alignas()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp580 SmallVector<Type *, 16> ArgTys; in getInvokeWrapper() local
588 ArgTys.push_back(PointerType::getUnqual(CalleeFTy)); in getInvokeWrapper()
590 ArgTys.append(CalleeFTy->param_begin(), CalleeFTy->param_end()); in getInvokeWrapper()
592 FunctionType *FTy = FunctionType::get(CalleeFTy->getReturnType(), ArgTys, in getInvokeWrapper()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitVector.h551 template <class F, class... ArgTys>
553 ArgTys const &...Args) { in apply()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp3663 ArrayRef<QualType> ArgTys, bool AllowRaw, in LookupLiteralOperator() argument
3699 else if (FD->getNumParams() == ArgTys.size()) { in LookupLiteralOperator()
3701 for (unsigned ArgIdx = 0; ArgIdx != ArgTys.size(); ++ArgIdx) { in LookupLiteralOperator()
3703 if (!Context.hasSameUnqualifiedType(ArgTys[ArgIdx], ParamTy)) { in LookupLiteralOperator()
3804 << R.getLookupName() << (int)ArgTys.size() << ArgTys[0] in LookupLiteralOperator()
3805 << (ArgTys.size() == 2 ? ArgTys[1] : QualType()) << AllowRaw in LookupLiteralOperator()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp689 ArgQualTypes ArgTys; member in __anon892b0c920111::StdLibraryFunctionsChecker::Signature
697 Signature(ArgTypes ArgTys, RetType RetTy) { in Signature() argument
698 for (std::optional<QualType> Arg : ArgTys) { in Signature()
704 this->ArgTys.push_back(*Arg); in Signature()
1498 if (FD->param_size() != ArgTys.size()) in matches()
1522 for (auto [Idx, ArgTy] : llvm::enumerate(ArgTys)) { in matches()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp1908 SmallVector<Type *, 6> ArgTys; in expandAtomicOpToLibcall() local
1910 ArgTys.push_back(Arg->getType()); in expandAtomicOpToLibcall()
1911 FunctionType *FnType = FunctionType::get(ResultTy, ArgTys, false); in expandAtomicOpToLibcall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2418 SmallVector<Type*, 8> ArgTys; in parseTypeTableBody() local
2421 ArgTys.push_back(T); in parseTypeTableBody()
2427 if (!ResultTy || ArgTys.size() < Record.size()-3) in parseTypeTableBody()
2431 ResultTy = FunctionType::get(ResultTy, ArgTys, Record[0]); in parseTypeTableBody()
2438 SmallVector<Type*, 8> ArgTys; in parseTypeTableBody() local
2443 ArgTys.push_back(T); in parseTypeTableBody()
2450 if (!ResultTy || ArgTys.size() < Record.size()-2) in parseTypeTableBody()
2454 ResultTy = FunctionType::get(ResultTy, ArgTys, Record[0]); in parseTypeTableBody()
5747 SmallVector<Type *> ArgTys; in parseFunctionBody() local
5749 ArgTys.push_back(Arg->getType()); in parseFunctionBody()
[all …]

12