/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Function.cpp | 1489 SmallVector<Type*, 8> ArgTys; in getType() local 1491 ArgTys.push_back(DecodeFixedType(TableRef, Tys, Context)); in getType() 1495 if (!ArgTys.empty() && ArgTys.back()->isVoidTy()) { in getType() 1496 ArgTys.pop_back(); in getType() 1497 return FunctionType::get(ResultTy, ArgTys, true); in getType() 1499 return FunctionType::get(ResultTy, ArgTys, false); in getType() 1562 SmallVectorImpl<Type *> &ArgTys, in matchIntrinsicType() argument 1600 matchIntrinsicType(VT->getElementType(), Infos, ArgTys, in matchIntrinsicType() 1615 if (matchIntrinsicType(ST->getElementType(i), Infos, ArgTys, in matchIntrinsicType() 1624 if (D.getArgumentNumber() < ArgTys.size()) in matchIntrinsicType() [all …]
|
H A D | IRBuilder.cpp | 953 SmallVector<Type *> ArgTys; in CreateIntrinsic() local 954 ArgTys.reserve(Args.size()); in CreateIntrinsic() 956 ArgTys.push_back(I->getType()); in CreateIntrinsic() 957 FunctionType *FTy = FunctionType::get(RetTy, ArgTys, false); in CreateIntrinsic()
|
H A D | Type.cpp | 828 template <typename... ArgTys> 829 TargetTypeInfo(Type *LayoutType, ArgTys... Properties) in TargetTypeInfo()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXILOpBuilder.cpp | 233 SmallVector<Type *> ArgTys; in getDXILOpFunctionType() local 238 ArgTys.emplace_back(ReturnTy); in getDXILOpFunctionType() 241 ArgTys.emplace_back(Type::getInt32Ty(OverloadTy->getContext())); in getDXILOpFunctionType() 246 ArgTys.emplace_back(getTypeFromParameterKind(Kind, OverloadTy)); in getDXILOpFunctionType() 249 ArgTys[0], ArrayRef<Type *>(&ArgTys[1], ArgTys.size() - 1), false); in getDXILOpFunctionType()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Intrinsics.h | 230 SmallVectorImpl<Type *> &ArgTys); 245 SmallVectorImpl<Type *> &ArgTys); 248 bool getIntrinsicSignature(Function *F, SmallVectorImpl<Type *> &ArgTys);
|
H A D | Module.h | 415 SmallVector<Type*, sizeof...(ArgsTy)> ArgTys{Args...}; in getOrInsertFunction() 417 FunctionType::get(RetTy, ArgTys, false), in getOrInsertFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUInstCombineIntrinsic.cpp | 124 SmallVector<Type *, 4> ArgTys; in modifyIntrinsicCall() local 125 if (!Intrinsic::getIntrinsicSignature(OldIntr.getCalledFunction(), ArgTys)) in modifyIntrinsicCall() 131 Func(Args, ArgTys); in modifyIntrinsicCall() 133 Function *I = Intrinsic::getDeclaration(OldIntr.getModule(), NewIntr, 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 202 II, II, NewImageDimIntr->Intr, IC, [&](auto &Args, auto &ArgTys) { in simplifyAMDGCNImageIntrinsic() argument 204 ArgTys.erase(ArgTys.begin() + ImageDimIntr->BiasTyArg); in simplifyAMDGCNImageIntrinsic() 220 II, II, NewImageDimIntr->Intr, IC, [&](auto &Args, auto &ArgTys) { in simplifyAMDGCNImageIntrinsic() argument 245 [&](auto &Args, auto &ArgTys) { in simplifyAMDGCNImageIntrinsic() argument [all …]
|
H A D | AMDGPULibCalls.cpp | 552 SmallVector<llvm::Type *, 6> ArgTys; in fold_read_write_pipe() local 554 ArgTys.push_back(CI->getArgOperand(I)->getType()); in fold_read_write_pipe() 555 ArgTys.push_back(PtrTy); in fold_read_write_pipe() 559 ArrayRef<Type *>(ArgTys), false); in fold_read_write_pipe()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVCallLowering.cpp | 118 SmallVector<Type *, 4> ArgTys; in fixFunctionTypeIfPtrArgs() local 120 ArgTys.push_back(const_cast<Type *>(GR->getTypeForSPIRVType(SArgTy))); in fixFunctionTypeIfPtrArgs() 121 return FunctionType::get(const_cast<Type *>(RetTy), ArgTys, false); in fixFunctionTypeIfPtrArgs() 469 for (size_t i = 0; i < IC.ArgTys.size(); ++i) { in produceIndirectPtrTypes() 470 SPIRVType *SPIRVTy = GR->getOrCreateSPIRVType(IC.ArgTys[i], MIRBuilder); in produceIndirectPtrTypes() 477 FunctionType::get(const_cast<Type *>(IC.RetTy), IC.ArgTys, false); in produceIndirectPtrTypes() 587 IndirectCall.ArgTys.push_back(Arg.Ty); in lowerCall()
|
H A D | SPIRVUtils.h | 150 SmallVector<Type *> ArgTys; in reconstructFunctionType() local 152 ArgTys.push_back(F->getArg(i)->getType()); in reconstructFunctionType() 153 return FunctionType::get(F->getReturnType(), ArgTys, F->isVarArg()); in reconstructFunctionType()
|
H A D | SPIRVCallLowering.h | 33 SmallVector<Type *> ArgTys; member
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 2317 SmallVector<QualType, 16> ArgTys; in SynthSelGetUidFunctionDecl() local 2318 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl() 2320 getSimpleFunctionType(Context->getObjCSelType(), ArgTys); in SynthSelGetUidFunctionDecl() 2412 SmallVector<QualType, 16> ArgTys; in SynthSuperConstructorFunctionDecl() local 2415 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl() 2416 ArgTys.push_back(argT); in SynthSuperConstructorFunctionDecl() 2418 ArgTys); in SynthSuperConstructorFunctionDecl() 2429 SmallVector<QualType, 16> ArgTys; in SynthMsgSendFunctionDecl() local 2432 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl() 2435 ArgTys.push_back(argT); in SynthMsgSendFunctionDecl() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | AMDGPU.cpp | 577 llvm::SmallVector<llvm::Type *, 2> ArgTys; in createEnqueuedBlockKernel() local 585 ArgTys.push_back(BlockTy); in createEnqueuedBlockKernel() 593 ArgTys.push_back(InvokeFT->getParamType(I)); in createEnqueuedBlockKernel() 603 auto *FT = llvm::FunctionType::get(llvm::Type::getVoidTy(C), ArgTys, false); in createEnqueuedBlockKernel()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86WinEHState.cpp | 387 Type *ArgTys[5] = {Int8PtrType, Int8PtrType, Int8PtrType, Int8PtrType, in generateLSDAInEAXThunk() 390 FunctionType::get(Int32Ty, ArrayRef(&ArgTys[0], 4), in generateLSDAInEAXThunk() local 393 FunctionType::get(Int32Ty, ArrayRef(&ArgTys[0], 5), in generateLSDAInEAXThunk()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBlocks.cpp | 1910 SmallVector<QualType, 2> ArgTys; in GenerateCopyHelperFunction() local 1911 ArgTys.push_back(C.VoidPtrTy); in GenerateCopyHelperFunction() 1912 ArgTys.push_back(C.VoidPtrTy); in GenerateCopyHelperFunction() 2097 SmallVector<QualType, 1> ArgTys; in GenerateDestroyHelperFunction() local 2098 ArgTys.push_back(C.VoidPtrTy); in GenerateDestroyHelperFunction() 2340 SmallVector<QualType, 2> ArgTys; in generateByrefCopyHelper() local 2341 ArgTys.push_back(Context.VoidPtrTy); in generateByrefCopyHelper() 2342 ArgTys.push_back(Context.VoidPtrTy); in generateByrefCopyHelper() 2406 SmallVector<QualType, 1> ArgTys; in generateByrefDisposeHelper() local 2407 ArgTys.push_back(Context.VoidPtrTy); in generateByrefDisposeHelper()
|
H A D | CGObjC.cpp | 3726 SmallVector<QualType, 2> ArgTys; in GenerateObjCAtomicSetterCopyHelperFunction() local 3727 ArgTys.push_back(DestTy); in GenerateObjCAtomicSetterCopyHelperFunction() 3728 ArgTys.push_back(SrcTy); in GenerateObjCAtomicSetterCopyHelperFunction() 3729 QualType FunctionTy = C.getFunctionType(ReturnTy, ArgTys, {}); in GenerateObjCAtomicSetterCopyHelperFunction() 3824 SmallVector<QualType, 2> ArgTys; in GenerateObjCAtomicGetterCopyHelperFunction() local 3825 ArgTys.push_back(DestTy); in GenerateObjCAtomicGetterCopyHelperFunction() 3826 ArgTys.push_back(SrcTy); in GenerateObjCAtomicGetterCopyHelperFunction() 3827 QualType FunctionTy = C.getFunctionType(ReturnTy, ArgTys, {}); in GenerateObjCAtomicGetterCopyHelperFunction()
|
H A D | CGException.cpp | 1737 QualType ArgTys[2] = {Context.UnsignedCharTy, Context.VoidPtrTy}; in Emit() local 1749 llvm::ConstantInt::get(CGF.ConvertType(ArgTys[0]), F.isForEHCleanup()); in Emit() 1763 Args.add(RValue::get(IsForEH), ArgTys[0]); in Emit() 1764 Args.add(RValue::get(FP), ArgTys[1]); in Emit()
|
H A D | CGCXXABI.h | 364 SmallVectorImpl<CanQualType> &ArgTys) = 0;
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | IdentifierTable.h | 947 static void Profile(llvm::FoldingSetNodeID &ID, keyword_iterator ArgTys, in Profile() argument 951 ID.AddPointer(ArgTys[i]); in Profile()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 574 SmallVector<Type *, 16> ArgTys; in getInvokeWrapper() local 582 ArgTys.push_back(PointerType::getUnqual(CalleeFTy)); in getInvokeWrapper() 584 ArgTys.append(CalleeFTy->param_begin(), CalleeFTy->param_end()); in getInvokeWrapper() 586 FunctionType *FTy = FunctionType::get(CalleeFTy->getReturnType(), ArgTys, in getInvokeWrapper()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | BitVector.h | 551 template <class F, class... ArgTys> 553 ArgTys const &...Args) { in apply()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaLookup.cpp | 3597 ArrayRef<QualType> ArgTys, bool AllowRaw, in LookupLiteralOperator() argument 3633 else if (FD->getNumParams() == ArgTys.size()) { in LookupLiteralOperator() 3635 for (unsigned ArgIdx = 0; ArgIdx != ArgTys.size(); ++ArgIdx) { in LookupLiteralOperator() 3637 if (!Context.hasSameUnqualifiedType(ArgTys[ArgIdx], ParamTy)) { in LookupLiteralOperator() 3738 << R.getLookupName() << (int)ArgTys.size() << ArgTys[0] in LookupLiteralOperator() 3739 << (ArgTys.size() == 2 ? ArgTys[1] : QualType()) << AllowRaw in LookupLiteralOperator()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | StdLibraryFunctionsChecker.cpp | 689 ArgQualTypes ArgTys; member in __anon4d759d9c0111::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/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | NumericalStabilitySanitizer.cpp | 1531 SmallVector<Type *, 4> ArgTys; in maybeHandleKnownCallBase() local 1534 Intrinsic::matchIntrinsicSignature(WidenedFnTy, TableRef, ArgTys); in maybeHandleKnownCallBase() 1562 Value *IntrinsicCall = Builder.CreateIntrinsic(WidenedId, ArgTys, Args); in maybeHandleKnownCallBase()
|