Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/llvm/lib/IR/
H A DFunction.cpp1478 SmallVector<Type*, 8> ArgTys; in getType() local
1484 if (!ArgTys.empty() && ArgTys.back()->isVoidTy()) { in getType()
1485 ArgTys.pop_back(); in getType()
1527 SmallVectorImpl<Type *> &ArgTys, in matchIntrinsicType() argument
1621 ArgTys.push_back(Ty); in matchIntrinsicType()
1718 ArgTys.push_back(Ty); in matchIntrinsicType()
1725 ArgTys.push_back(Ty); in matchIntrinsicType()
1742 ArgTys.push_back(Ty); in matchIntrinsicType()
1749 ArgTys.push_back(Ty); in matchIntrinsicType()
1868 SmallVector<Type *, 4> ArgTys; in remangleIntrinsicFunction() local
[all …]
H A DIRBuilder.cpp985 SmallVector<Type *> ArgTys; in CreateIntrinsic() local
986 ArgTys.reserve(Args.size()); in CreateIntrinsic()
988 ArgTys.push_back(I->getType()); in CreateIntrinsic()
989 FunctionType *FTy = FunctionType::get(RetTy, ArgTys, false); in CreateIntrinsic()
H A DType.cpp844 template <typename... ArgTys>
845 TargetTypeInfo(Type *LayoutType, ArgTys... Properties) in TargetTypeInfo()
/openbsd/gnu/llvm/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp225 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()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp123 SmallVector<Type *, 4> ArgTys; in modifyIntrinsicCall() local
124 if (!Intrinsic::getIntrinsicSignature(OldIntr.getCalledFunction(), ArgTys)) in modifyIntrinsicCall()
130 Func(Args, ArgTys); in modifyIntrinsicCall()
167 II, II, NewImageDimIntr->Intr, IC, [&](auto &Args, auto &ArgTys) { in simplifyAMDGCNImageIntrinsic() argument
184 II, II, NewImageDimIntr->Intr, IC, [&](auto &Args, auto &ArgTys) { in simplifyAMDGCNImageIntrinsic() argument
203 ArgTys.erase(ArgTys.begin() + ImageDimIntr->BiasTyArg); in simplifyAMDGCNImageIntrinsic()
244 [&](auto &Args, auto &ArgTys) { in simplifyAMDGCNImageIntrinsic() argument
247 ArgTys[0] = User->getType(); in simplifyAMDGCNImageIntrinsic()
305 II, II, II.getIntrinsicID(), IC, [&](auto &Args, auto &ArgTys) { in simplifyAMDGCNImageIntrinsic() argument
306 ArgTys[ImageDimIntr->GradientTyArg] = CoordType; in simplifyAMDGCNImageIntrinsic()
[all …]
H A DAMDGPULibCalls.cpp565 SmallVector<llvm::Type *, 6> ArgTys; in fold_read_write_pipe() local
567 ArgTys.push_back(CI->getArgOperand(I)->getType()); in fold_read_write_pipe()
568 ArgTys.push_back(PtrTy); in fold_read_write_pipe()
572 ArrayRef<Type *>(ArgTys), false); in fold_read_write_pipe()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DIntrinsics.h228 SmallVectorImpl<Type *> &ArgTys);
241 bool getIntrinsicSignature(Function *F, SmallVectorImpl<Type *> &ArgTys);
H A DModule.h383 SmallVector<Type*, sizeof...(ArgsTy)> ArgTys{Args...}; in getOrInsertFunction()
385 FunctionType::get(RetTy, ArgTys, false), in getOrInsertFunction()
/openbsd/gnu/llvm/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 …]
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86WinEHState.cpp389 Type *ArgTys[5] = {Int8PtrType, Int8PtrType, Int8PtrType, Int8PtrType, in generateLSDAInEAXThunk() local
392 FunctionType::get(Int32Ty, ArrayRef(&ArgTys[0], 4), in generateLSDAInEAXThunk()
395 FunctionType::get(Int32Ty, ArrayRef(&ArgTys[0], 5), in generateLSDAInEAXThunk()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGBlocks.cpp1927 SmallVector<QualType, 2> ArgTys; in GenerateCopyHelperFunction() local
1928 ArgTys.push_back(C.VoidPtrTy); in GenerateCopyHelperFunction()
1929 ArgTys.push_back(C.VoidPtrTy); in GenerateCopyHelperFunction()
2116 SmallVector<QualType, 1> ArgTys; in GenerateDestroyHelperFunction() local
2117 ArgTys.push_back(C.VoidPtrTy); in GenerateDestroyHelperFunction()
2359 SmallVector<QualType, 2> ArgTys; in generateByrefCopyHelper() local
2360 ArgTys.push_back(Context.VoidPtrTy); in generateByrefCopyHelper()
2361 ArgTys.push_back(Context.VoidPtrTy); in generateByrefCopyHelper()
2427 SmallVector<QualType, 1> ArgTys; in generateByrefDisposeHelper() local
2428 ArgTys.push_back(Context.VoidPtrTy); in generateByrefDisposeHelper()
H A DCGObjC.cpp3754 SmallVector<QualType, 2> ArgTys; in GenerateObjCAtomicSetterCopyHelperFunction() local
3755 ArgTys.push_back(DestTy); in GenerateObjCAtomicSetterCopyHelperFunction()
3756 ArgTys.push_back(SrcTy); in GenerateObjCAtomicSetterCopyHelperFunction()
3757 QualType FunctionTy = C.getFunctionType(ReturnTy, ArgTys, {}); in GenerateObjCAtomicSetterCopyHelperFunction()
3852 SmallVector<QualType, 2> ArgTys; in GenerateObjCAtomicGetterCopyHelperFunction() local
3853 ArgTys.push_back(DestTy); in GenerateObjCAtomicGetterCopyHelperFunction()
3854 ArgTys.push_back(SrcTy); in GenerateObjCAtomicGetterCopyHelperFunction()
3855 QualType FunctionTy = C.getFunctionType(ReturnTy, ArgTys, {}); in GenerateObjCAtomicGetterCopyHelperFunction()
H A DCGException.cpp1712 QualType ArgTys[2] = {Context.UnsignedCharTy, Context.VoidPtrTy}; in Emit() local
1724 llvm::ConstantInt::get(CGF.ConvertType(ArgTys[0]), F.isForEHCleanup()); in Emit()
1738 Args.add(RValue::get(IsForEH), ArgTys[0]); in Emit()
1739 Args.add(RValue::get(FP), ArgTys[1]); in Emit()
H A DCGCXXABI.h359 SmallVectorImpl<CanQualType> &ArgTys) = 0;
H A DMicrosoftCXXABI.cpp220 SmallVectorImpl<CanQualType> &ArgTys) override;
1307 SmallVectorImpl<CanQualType> &ArgTys) { in buildStructorSignature() argument
1313 ArgTys.push_back(getContext().IntTy); in buildStructorSignature()
1327 ArgTys.insert(ArgTys.begin() + 1, getContext().IntTy); in buildStructorSignature()
1330 ArgTys.push_back(getContext().IntTy); in buildStructorSignature()
/openbsd/gnu/llvm/clang/lib/Basic/
H A DIdentifierTable.cpp534 static void Profile(llvm::FoldingSetNodeID &ID, keyword_iterator ArgTys, in Profile() argument
538 ID.AddPointer(ArgTys[i]); in Profile()
/openbsd/gnu/llvm/llvm/include/llvm/ADT/
H A DBitVector.h544 template <class F, class... ArgTys>
546 ArgTys const &...Args) { in apply()
/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp579 SmallVector<Type *, 16> ArgTys; in getInvokeWrapper() local
587 ArgTys.push_back(PointerType::getUnqual(CalleeFTy)); in getInvokeWrapper()
589 ArgTys.append(CalleeFTy->param_begin(), CalleeFTy->param_end()); in getInvokeWrapper()
591 FunctionType *FTy = FunctionType::get(CalleeFTy->getReturnType(), ArgTys, in getInvokeWrapper()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp558 ArgQualTypes ArgTys; member in __anon10fd7b890111::StdLibraryFunctionsChecker::Signature
566 Signature(ArgTypes ArgTys, RetType RetTy) { in Signature() argument
567 for (std::optional<QualType> Arg : ArgTys) { in Signature()
573 this->ArgTys.push_back(*Arg); in Signature()
1101 if (FD->param_size() != ArgTys.size()) in matches()
1125 for (size_t I = 0, E = ArgTys.size(); I != E; ++I) { in matches()
1126 QualType ArgTy = ArgTys[I]; in matches()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaLookup.cpp3646 ArrayRef<QualType> ArgTys, bool AllowRaw, in LookupLiteralOperator() argument
3682 else if (FD->getNumParams() == ArgTys.size()) { in LookupLiteralOperator()
3684 for (unsigned ArgIdx = 0; ArgIdx != ArgTys.size(); ++ArgIdx) { in LookupLiteralOperator()
3686 if (!Context.hasSameUnqualifiedType(ArgTys[ArgIdx], ParamTy)) { in LookupLiteralOperator()
3787 << R.getLookupName() << (int)ArgTys.size() << ArgTys[0] in LookupLiteralOperator()
3788 << (ArgTys.size() == 2 ? ArgTys[1] : QualType()) << AllowRaw in LookupLiteralOperator()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp1557 Type *ArgTys[3] = { M->getRawDest()->getType(), in processMemMove() local
1561 Intrinsic::memcpy, ArgTys)); in processMemMove()
/openbsd/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2384 SmallVector<Type*, 8> ArgTys; in parseTypeTableBody() local
2387 ArgTys.push_back(T); in parseTypeTableBody()
2393 if (!ResultTy || ArgTys.size() < Record.size()-3) in parseTypeTableBody()
2397 ResultTy = FunctionType::get(ResultTy, ArgTys, Record[0]); in parseTypeTableBody()
2404 SmallVector<Type*, 8> ArgTys; in parseTypeTableBody() local
2409 ArgTys.push_back(T); in parseTypeTableBody()
2416 if (!ResultTy || ArgTys.size() < Record.size()-2) in parseTypeTableBody()
2420 ResultTy = FunctionType::get(ResultTy, ArgTys, Record[0]); in parseTypeTableBody()
5703 SmallVector<Type *> ArgTys; in parseFunctionBody() local
5705 ArgTys.push_back(Arg->getType()); in parseFunctionBody()
[all …]
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp1931 SmallVector<Type *, 6> ArgTys; in expandAtomicOpToLibcall() local
1933 ArgTys.push_back(Arg->getType()); in expandAtomicOpToLibcall()
1934 FunctionType *FnType = FunctionType::get(ResultTy, ArgTys, false); in expandAtomicOpToLibcall()

12