Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIntrinsics.cpp604 SmallVector<Type *, 8> ArgTys; in getType() local
606 ArgTys.push_back(DecodeFixedType(TableRef, Tys, Context)); in getType()
611 if (!ArgTys.empty() && ArgTys.back()->isVoidTy()) { in getType()
612 ArgTys.pop_back(); in getType()
613 return FunctionType::get(ResultTy, ArgTys, true); in getType()
615 return FunctionType::get(ResultTy, ArgTys, false); in getType()
811 SmallVectorImpl<Type *> &ArgTys, in matchIntrinsicType() argument
866 matchIntrinsicType(VT->getElementType(), Infos, ArgTys, in matchIntrinsicType()
881 if (matchIntrinsicType(ST->getElementType(i), Infos, ArgTys, in matchIntrinsicType()
890 if (D.getArgumentNumber() < ArgTys.size()) in matchIntrinsicType()
[all …]
H A DIRBuilder.cpp866 SmallVector<Type *> ArgTys; in CreateIntrinsic() local
867 ArgTys.reserve(Args.size()); in CreateIntrinsic()
869 ArgTys.push_back(I->getType()); in CreateIntrinsic()
870 FunctionType *FTy = FunctionType::get(RetTy, ArgTys, false); in CreateIntrinsic()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAMDGPU.cpp138 QualType ArgTys[2]; in checkMovDPPFunctionCall() local
141 ArgTys[I] = Args[I]->getType(); in checkMovDPPFunctionCall()
143 if (!ArgTys[I]->isArithmeticType() || ArgTys[I]->isAnyComplexType()) { in checkMovDPPFunctionCall()
146 << ArgTys[I] << Args[I]->getSourceRange(); in checkMovDPPFunctionCall()
153 if (getASTContext().hasSameUnqualifiedType(ArgTys[0], ArgTys[1])) in checkMovDPPFunctionCall()
156 if (((ArgTys[0]->isUnsignedIntegerType() && in checkMovDPPFunctionCall()
157 ArgTys[1]->isSignedIntegerType()) || in checkMovDPPFunctionCall()
158 (ArgTys[0]->isSignedIntegerType() && in checkMovDPPFunctionCall()
159 ArgTys[1]->isUnsignedIntegerType())) && in checkMovDPPFunctionCall()
160 getASTContext().getTypeSize(ArgTys[0]) == in checkMovDPPFunctionCall()
[all …]
H A DSemaLookup.cpp3690 ArrayRef<QualType> ArgTys, bool AllowRaw, in LookupLiteralOperator() argument
3726 else if (FD->getNumParams() == ArgTys.size()) { in LookupLiteralOperator()
3728 for (unsigned ArgIdx = 0; ArgIdx != ArgTys.size(); ++ArgIdx) { in LookupLiteralOperator()
3730 if (!Context.hasSameUnqualifiedType(ArgTys[ArgIdx], ParamTy)) { in LookupLiteralOperator()
3832 << R.getLookupName() << (int)ArgTys.size() << ArgTys[0] in LookupLiteralOperator()
3833 << (ArgTys.size() == 2 ? ArgTys[1] : QualType()) << AllowRaw in LookupLiteralOperator()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Atomic/
H A DAtomic.cpp40 SmallVector<Type *, 6> ArgTys; in EmitAtomicLibcall() local
42 ArgTys.push_back(Arg->getType()); in EmitAtomicLibcall()
43 FunctionType *FnType = FunctionType::get(ResultType, ArgTys, false); in EmitAtomicLibcall()
135 SmallVector<Type *, 6> ArgTys; in EmitAtomicLoadLibcall() local
137 ArgTys.push_back(Arg->getType()); in EmitAtomicLoadLibcall()
138 FunctionType *FnType = FunctionType::get(ResultTy, ArgTys, false); in EmitAtomicLoadLibcall()
174 SmallVector<Type *, 6> ArgTys; in EmitAtomicStoreLibcall() local
176 ArgTys.push_back(Arg->getType()); in EmitAtomicStoreLibcall()
177 FunctionType *FnType = FunctionType::get(Type::getVoidTy(Ctx), ArgTys, false); in EmitAtomicStoreLibcall()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsics.h258 SmallVectorImpl<Type *> &ArgTys);
274 SmallVectorImpl<Type *> &ArgTys);
278 SmallVectorImpl<Type *> &ArgTys);
H A DModule.h399 SmallVector<Type*, sizeof...(ArgsTy)> ArgTys{Args...}; in getOrInsertFunction()
401 FunctionType::get(RetTy, ArgTys, false), in getOrInsertFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp125 SmallVector<Type *, 4> ArgTys; in modifyIntrinsicCall() local
126 if (!Intrinsic::getIntrinsicSignature(OldIntr.getCalledFunction(), ArgTys)) in modifyIntrinsicCall()
132 Func(Args, ArgTys); in modifyIntrinsicCall()
134 CallInst *NewCall = IC.Builder.CreateIntrinsic(NewIntr, ArgTys, Args); 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
201 II, II, NewImageDimIntr->Intr, IC, [&](auto &Args, auto &ArgTys) { in simplifyAMDGCNImageIntrinsic() argument
203 ArgTys.erase(ArgTys.begin() + ImageDimIntr->BiasTyArg); in simplifyAMDGCNImageIntrinsic()
219 II, II, NewImageDimIntr->Intr, IC, [&](auto &Args, auto &ArgTys) { in simplifyAMDGCNImageIntrinsic() argument
244 [&](auto &Args, auto &ArgTys) { in simplifyAMDGCNImageIntrinsic() argument
[all …]
H A DAMDGPULibCalls.cpp548 SmallVector<llvm::Type *, 6> ArgTys; in fold_read_write_pipe() local
550 ArgTys.push_back(CI->getArgOperand(I)->getType()); in fold_read_write_pipe()
551 ArgTys.push_back(PtrTy); in fold_read_write_pipe()
555 ArrayRef<Type *>(ArgTys), false); in fold_read_write_pipe()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVCallLowering.cpp128 SmallVector<Type *, 4> ArgTys; in fixFunctionTypeIfPtrArgs() local
130 ArgTys.push_back(const_cast<Type *>(GR->getTypeForSPIRVType(SArgTy))); in fixFunctionTypeIfPtrArgs()
131 return FunctionType::get(const_cast<Type *>(RetTy), ArgTys, false); in fixFunctionTypeIfPtrArgs()
527 for (size_t i = 0; i < IC.ArgTys.size(); ++i) { in produceIndirectPtrTypes()
529 IC.ArgTys[i], MIRBuilder, SPIRV::AccessQualifier::ReadWrite, true); in produceIndirectPtrTypes()
536 FunctionType::get(const_cast<Type *>(IC.RetTy), IC.ArgTys, false); in produceIndirectPtrTypes()
699 IndirectCall.ArgTys.push_back(Arg.Ty); in lowerCall()
H A DSPIRVCallLowering.h33 SmallVector<Type *> ArgTys; member
H A DSPIRVUtils.h318 SmallVector<Type *> ArgTys; in reconstructFunctionType() local
320 ArgTys.push_back(F->getArg(i)->getType()); in reconstructFunctionType()
321 return FunctionType::get(F->getReturnType(), ArgTys, F->isVarArg()); in reconstructFunctionType()
H A DSPIRVEmitIntrinsics.cpp910 SmallVector<Type *, 4> ArgTys; in deduceOperandElementTypeFunctionPointer() local
923 ArgTys.push_back(ArgTy); in deduceOperandElementTypeFunctionPointer()
940 IsNewFTy ? FunctionType::get(RetTy, ArgTys, FTy->isVarArg()) : FTy; in deduceOperandElementTypeFunctionPointer()
2246 SmallVector<Type *, 4> ArgTys; in getFunctionPointerElemType() local
2254 ArgTys.push_back(ArgTy); in getFunctionPointerElemType()
2257 ? FunctionType::get(FTy->getReturnType(), ArgTys, FTy->isVarArg()) in getFunctionPointerElemType()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2229 SmallVector<QualType, 16> ArgTys; in SynthSelGetUidFunctionDecl() local
2230 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl()
2232 getSimpleFunctionType(Context->getObjCSelType(), ArgTys); in SynthSelGetUidFunctionDecl()
2321 SmallVector<QualType, 16> ArgTys; in SynthSuperConstructorFunctionDecl() local
2324 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl()
2325 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl()
2327 ArgTys); in SynthSuperConstructorFunctionDecl()
2338 SmallVector<QualType, 16> ArgTys; in SynthMsgSendFunctionDecl() local
2341 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl()
2344 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl()
[all …]
H A DRewriteModernObjC.cpp2316 SmallVector<QualType, 16> ArgTys; in SynthSelGetUidFunctionDecl() local
2317 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl()
2319 getSimpleFunctionType(Context->getObjCSelType(), ArgTys); in SynthSelGetUidFunctionDecl()
2411 SmallVector<QualType, 16> ArgTys; in SynthSuperConstructorFunctionDecl() local
2414 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl()
2415 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl()
2417 ArgTys); in SynthSuperConstructorFunctionDecl()
2428 SmallVector<QualType, 16> ArgTys; in SynthMsgSendFunctionDecl() local
2431 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl()
2434 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp368 SmallVector<Type *> ArgTys; in getArgTypesFromOpParamTypes() local
369 ArgTys.emplace_back(Type::getInt32Ty(Context)); in getArgTypesFromOpParamTypes()
371 ArgTys.emplace_back(getTypeFromOpParamType(Ty, Context, OverloadTy)); in getArgTypesFromOpParamTypes()
372 return ArgTys; in getArgTypesFromOpParamTypes()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAMDGPU.cpp606 llvm::SmallVector<llvm::Type *, 2> ArgTys; in createEnqueuedBlockKernel() local
614 ArgTys.push_back(BlockTy); in createEnqueuedBlockKernel()
622 ArgTys.push_back(InvokeFT->getParamType(I)); in createEnqueuedBlockKernel()
636 auto *FT = llvm::FunctionType::get(llvm::Type::getVoidTy(C), ArgTys, false); in createEnqueuedBlockKernel()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h52 SmallVector<Type*, sizeof...(ArgsTy)> ArgTys{Args...}; in getOrInsertLibFunc()
54 FunctionType::get(RetTy, ArgTys, false), in getOrInsertLibFunc()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp391 Type *ArgTys[5] = {Int8PtrType, Int8PtrType, Int8PtrType, Int8PtrType, in generateLSDAInEAXThunk() local
394 FunctionType::get(Int32Ty, ArrayRef(&ArgTys[0], 4), in generateLSDAInEAXThunk()
397 FunctionType::get(Int32Ty, ArrayRef(&ArgTys[0], 5), in generateLSDAInEAXThunk()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp1958 SmallVector<QualType, 2> ArgTys; in GenerateCopyHelperFunction() local
1959 ArgTys.push_back(C.VoidPtrTy); in GenerateCopyHelperFunction()
1960 ArgTys.push_back(C.VoidPtrTy); in GenerateCopyHelperFunction()
2153 SmallVector<QualType, 1> ArgTys; in GenerateDestroyHelperFunction() local
2154 ArgTys.push_back(C.VoidPtrTy); in GenerateDestroyHelperFunction()
2423 SmallVector<QualType, 2> ArgTys; in generateByrefCopyHelper() local
2424 ArgTys.push_back(Context.VoidPtrTy); in generateByrefCopyHelper()
2425 ArgTys.push_back(Context.VoidPtrTy); in generateByrefCopyHelper()
2489 SmallVector<QualType, 1> ArgTys; in generateByrefDisposeHelper() local
2490 ArgTys.push_back(Context.VoidPtrTy); in generateByrefDisposeHelper()
H A DCGBuiltin.cpp2127 llvm::SmallVector<QualType, 4> ArgTys; in generateBuiltinOSLogHelperFunction() local
2132 ArgTys.emplace_back(Ctx.VoidPtrTy); in generateBuiltinOSLogHelperFunction()
2144 ArgTys.emplace_back(ArgTy); in generateBuiltinOSLogHelperFunction()
5761 llvm::Type *ArgTys[] = {Arg0->getType(), I8PTy, Int32Ty, Int32Ty}; in EmitBuiltinExpr() local
5762 llvm::FunctionType *FTy = llvm::FunctionType::get(Int32Ty, ArgTys, false); in EmitBuiltinExpr()
5773 llvm::Type *ArgTys[] = {Arg0->getType(), Arg1->getType(), Int32Ty, I8PTy, in EmitBuiltinExpr() local
5777 llvm::FunctionType *FTy = llvm::FunctionType::get(Int32Ty, ArgTys, false); in EmitBuiltinExpr()
5819 llvm::Type *ArgTys[] = {Arg0->getType(), Int32Ty, Int32Ty, Int32Ty}; in EmitBuiltinExpr() local
5821 llvm::FunctionType::get(ReservedIDTy, ArgTys, false); in EmitBuiltinExpr()
5858 llvm::Type *ArgTys[] = {Arg0->getType(), Arg1->getType(), Int32Ty, Int32Ty}; in EmitBuiltinExpr() local
[all …]
H A DCGObjC.cpp3772 SmallVector<QualType, 2> ArgTys; in GenerateObjCAtomicSetterCopyHelperFunction() local
3773 ArgTys.push_back(DestTy); in GenerateObjCAtomicSetterCopyHelperFunction()
3774 ArgTys.push_back(SrcTy); in GenerateObjCAtomicSetterCopyHelperFunction()
3775 QualType FunctionTy = C.getFunctionType(ReturnTy, ArgTys, {}); in GenerateObjCAtomicSetterCopyHelperFunction()
3870 SmallVector<QualType, 2> ArgTys; in GenerateObjCAtomicGetterCopyHelperFunction() local
3871 ArgTys.push_back(DestTy); in GenerateObjCAtomicGetterCopyHelperFunction()
3872 ArgTys.push_back(SrcTy); in GenerateObjCAtomicGetterCopyHelperFunction()
3873 QualType FunctionTy = C.getFunctionType(ReturnTy, ArgTys, {}); in GenerateObjCAtomicGetterCopyHelperFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp578 SmallVector<Type *, 16> ArgTys; in getInvokeWrapper() local
587 ArgTys.push_back(PointerType::getUnqual(CI->getContext())); in getInvokeWrapper()
589 ArgTys.append(CalleeFTy->param_begin(), CalleeFTy->param_end()); in getInvokeWrapper()
591 FunctionType *FTy = FunctionType::get(CalleeFTy->getReturnType(), ArgTys, in getInvokeWrapper()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DIdentifierTable.h955 static void Profile(llvm::FoldingSetNodeID &ID, keyword_iterator ArgTys, in Profile() argument
959 ID.AddPointer(ArgTys[i]); in Profile()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitVector.h551 template <class F, class... ArgTys>
553 ArgTys const &...Args) { in apply()

12