Home
last modified time | relevance | path

Searched refs:ArgTypes (Results 1 – 25 of 66) sorted by relevance

123

/llvm-project-15.0.7/openmp/libomptarget/src/
H A DLegacyAPI.cpp18 int64_t *ArgSizes, int64_t *ArgTypes) { in __tgt_target_data_begin() argument
21 ArgSizes, ArgTypes, nullptr, nullptr); in __tgt_target_data_begin()
33 ArgSizes, ArgTypes, nullptr, nullptr); in __tgt_target_data_begin_nowait()
41 ArgSizes, ArgTypes, nullptr, nullptr); in __tgt_target_data_end()
49 ArgSizes, ArgTypes, nullptr, nullptr); in __tgt_target_data_update()
71 ArgSizes, ArgTypes, nullptr, nullptr); in __tgt_target_data_end_nowait()
76 int64_t *ArgSizes, int64_t *ArgTypes, in __tgt_target_mapper() argument
86 int64_t *ArgTypes) { in __tgt_target() argument
89 ArgSizes, ArgTypes, nullptr, nullptr); in __tgt_target()
99 ArgSizes, ArgTypes, nullptr, nullptr); in __tgt_target_nowait()
[all …]
H A Dinterface.cpp70 int64_t *ArgTypes, in __tgt_target_data_begin_mapper() argument
90 I, DPxPTR(ArgsBase[I]), DPxPTR(Args[I]), ArgSizes[I], ArgTypes[I], in __tgt_target_data_begin_mapper()
97 ArgTypes, ArgNames, ArgMappers, AsyncInfo); in __tgt_target_data_begin_mapper()
120 int64_t *ArgTypes, in __tgt_target_data_end_mapper() argument
139 I, DPxPTR(ArgsBase[I]), DPxPTR(Args[I]), ArgSizes[I], ArgTypes[I], in __tgt_target_data_end_mapper()
146 ArgTypes, ArgNames, ArgMappers, AsyncInfo); in __tgt_target_data_end_mapper()
160 ArgTypes, ArgNames, ArgMappers); in __tgt_target_data_end_nowait_mapper()
166 int64_t *ArgTypes, in __tgt_target_data_update_mapper() argument
183 ArgTypes, ArgNames, ArgMappers, AsyncInfo); in __tgt_target_data_update_mapper()
228 Args->ArgTypes, Args->ArgNames, in __tgt_target_kernel()
[all …]
H A Domptarget.cpp420 if ((ArgTypes[I] & OMP_TGT_MAPTYPE_LITERAL) || in targetDataBegin()
421 (ArgTypes[I] & OMP_TGT_MAPTYPE_PRIVATE)) in targetDataBegin()
456 getParentIndex(ArgTypes[NextI]) == I) { in targetDataBegin()
688 if ((ArgTypes[I] & OMP_TGT_MAPTYPE_LITERAL) || in targetDataEnd()
689 (ArgTypes[I] & OMP_TGT_MAPTYPE_PRIVATE)) in targetDataEnd()
720 getParentIndex(ArgTypes[NextI]) == I) { in targetDataEnd()
795 if (ArgTypes[I] & OMP_TGT_MAPTYPE_FROM) { in targetDataEnd()
1039 if ((ArgTypes[I] & OMP_TGT_MAPTYPE_LITERAL) || in targetDataUpdate()
1040 (ArgTypes[I] & OMP_TGT_MAPTYPE_PRIVATE)) in targetDataUpdate()
1346 if (isLambdaMapping(ArgTypes[I])) { in processDataBefore()
[all …]
H A Dprivate.h25 int64_t *ArgTypes, map_var_info_t *ArgNames,
31 int64_t *ArgTypes, map_var_info_t *ArgNames,
37 int64_t *ArgTypes, map_var_info_t *ArgNames,
43 int64_t *ArgTypes, map_var_info_t *ArgNames,
158 const int64_t *ArgTypes, const map_var_info_t *ArgNames, in printKernelArguments() argument
169 (ArgTypes[I] & OMP_TGT_MAPTYPE_IMPLICIT) ? "(implicit)" : ""; in printKernelArguments()
170 if (ArgTypes[I] & OMP_TGT_MAPTYPE_TO && ArgTypes[I] & OMP_TGT_MAPTYPE_FROM) in printKernelArguments()
172 else if (ArgTypes[I] & OMP_TGT_MAPTYPE_TO) in printKernelArguments()
174 else if (ArgTypes[I] & OMP_TGT_MAPTYPE_FROM) in printKernelArguments()
176 else if (ArgTypes[I] & OMP_TGT_MAPTYPE_PRIVATE) in printKernelArguments()
[all …]
/llvm-project-15.0.7/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dinjected-class-name.cpp49 template<typename R, typename ...ArgTypes>
50 struct X<R(ArgTypes...)> {
51 X<R(ArgTypes...)> f();
54 template<typename R, typename ...ArgTypes>
55 X<R(ArgTypes...)> X<R(ArgTypes...)>::f() { return *this; } in f()
61 template<typename ...ArgTypes> int g(ArgTypes...);
65 template<typename R, typename ...ArgTypes>
66 struct X1<R(ArgTypes...)> {
67 unsigned_c<sizeof(1 + g(ArgTypes()...))> f();
70 template<typename R, typename ...ArgTypes>
[all …]
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp545 using ArgTypes = std::vector<Optional<QualType>>; typedef in __anon09a2c6cc0111::StdLibraryFunctionsChecker
567 Signature(ArgTypes ArgTys, RetType RetTy) { in Signature()
1394 "isalnum", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1415 "isalpha", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1429 "isascii", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1593 "getchar", Signature(ArgTypes{}, RetType{IntTy}), in initFunctionSummaries()
1737 "dup", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
2111 Signature(ArgTypes{IntTy, ConstCharPtrRestrictTy, in initFunctionSummaries()
2867 Signature(ArgTypes{Pthread_tPtrRestrictTy, in initFunctionSummaries()
2908 Signature(ArgTypes{Pthread_mutex_tPtrRestrictTy, in initFunctionSummaries()
[all …]
/llvm-project-15.0.7/openmp/libomptarget/include/
H A Domptarget.h119 int64_t *ArgTypes; // Type of the data (e.g. to / from). member
269 void **Args, int64_t *ArgSizes, int64_t *ArgTypes);
272 int64_t *ArgSizes, int64_t *ArgTypes,
279 int64_t *ArgTypes, map_var_info_t *ArgNames,
283 void **Args, int64_t *ArgSizes, int64_t *ArgTypes, map_var_info_t *ArgNames,
291 void **Args, int64_t *ArgSizes, int64_t *ArgTypes);
294 int64_t *ArgSizes, int64_t *ArgTypes,
299 int64_t *ArgSizes, int64_t *ArgTypes,
310 int64_t *ArgTypes);
313 int64_t *ArgSizes, int64_t *ArgTypes,
[all …]
/llvm-project-15.0.7/llvm/lib/Target/M68k/
H A DM68kCallingConv.h30 M68kCCState(ArrayRef<Type *> ArgTypes, CallingConv::ID CC, bool IsVarArg, in M68kCCState()
33 : CCState(CC, IsVarArg, MF, Locs, C), ArgTypeList(ArgTypes) {} in M68kCCState()
54 const auto &ArgTypes = CCInfo.ArgTypeList; in CC_M68k_Any_AssignToReg() local
55 auto I = ArgTypes.begin(), End = ArgTypes.end(); in CC_M68k_Any_AssignToReg()
/llvm-project-15.0.7/clang-tools-extra/test/clang-change-namespace/
H A Dlambda-function.cpp5 template <class R, class... ArgTypes>
6 class function<R(ArgTypes...)> {
10 R operator()(ArgTypes...) const {} in operator ()()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGGPUBuiltin.cpp26 llvm::Type *ArgTypes[] = {llvm::Type::getInt8PtrTy(M.getContext()), in GetVprintfDeclaration() local
29 llvm::Type::getInt32Ty(M.getContext()), ArgTypes, false); in GetVprintfDeclaration()
48 llvm::Type *ArgTypes[] = {llvm::Type::getInt8PtrTy(M.getContext()), in GetOpenMPVprintfDeclaration() local
52 llvm::Type::getInt32Ty(M.getContext()), ArgTypes, false); in GetOpenMPVprintfDeclaration()
105 llvm::SmallVector<llvm::Type *, 8> ArgTypes; in packArgsIntoNVPTXFormatBuffer() local
107 ArgTypes.push_back(Args[I].getRValue(*CGF).getScalarVal()->getType()); in packArgsIntoNVPTXFormatBuffer()
114 llvm::Type *AllocaTy = llvm::StructType::create(ArgTypes, "printf_args"); in packArgsIntoNVPTXFormatBuffer()
H A DObjectFilePCHContainerOperations.cpp109 SmallVector<QualType, 16> ArgTypes; in VisitFunctionDecl() local
111 ArgTypes.push_back(i->getType()); in VisitFunctionDecl()
113 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitFunctionDecl()
125 SmallVector<QualType, 16> ArgTypes; in VisitObjCMethodDecl() local
126 ArgTypes.push_back(D->getSelfType(Ctx, D->getClassInterface(), in VisitObjCMethodDecl()
128 ArgTypes.push_back(Ctx.getObjCSelType()); in VisitObjCMethodDecl()
130 ArgTypes.push_back(i->getType()); in VisitObjCMethodDecl()
132 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitObjCMethodDecl()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDirectoryEntry.h127 template <class... ArgTypes>
128 explicit MapEntryOptionalStorage(llvm::in_place_t, ArgTypes &&...Args)
129 : MaybeRef(std::forward<ArgTypes>(Args)...) {}
188 template <class... ArgTypes>
189 explicit OptionalStorage(in_place_t, ArgTypes &&...Args)
190 : StorageImpl(in_place_t{}, std::forward<ArgTypes>(Args)...) {}
/llvm-project-15.0.7/libcxx/test/support/
H A Duses_alloc_types.h74 template <class ...ArgTypes, class TestType>
82 return value.template checkConstruct<ArgTypes&&...>(form); in checkConstruct()
84 return value.template checkConstruct<ArgTypes&&...>(form, alloc); in checkConstruct()
89 template <class ...ArgTypes, class TestType>
91 return value.template checkConstruct<ArgTypes&&...>(form); in checkConstruct()
179 template <class ...ArgTypes>
181 auto expectArgs = &makeArgumentID<ArgTypes...>();
189 template <class ...ArgTypes>
192 auto ExpectID = &makeArgumentID<ArgTypes...>() ;
/llvm-project-15.0.7/libcxx/include/
H A Dfunctional57 template <class... ArgTypes>
59 operator() (ArgTypes&&...) const;
380 template<class R, class... ArgTypes>
381 class function<R(ArgTypes...)>
427 R operator()(ArgTypes...) const;
443 template <class R, class ... ArgTypes>
446 template <class R, class ... ArgTypes>
449 template <class R, class ... ArgTypes>
452 template <class R, class ... ArgTypes>
456 template <class R, class ... ArgTypes>
[all …]
H A Dtype_traits152 template <class Fn, class... ArgTypes> struct is_invocable;
153 template <class R, class Fn, class... ArgTypes> struct is_invocable_r;
155 template <class Fn, class... ArgTypes> struct is_nothrow_invocable;
156 template <class R, class Fn, class... ArgTypes> struct is_nothrow_invocable_r;
169 …template <class Fn, class... ArgTypes> class result_of<Fn(ArgTypes...)>; // deprecated in C++17; r…
170 template <class Fn, class... ArgTypes> struct invoke_result; // C++17
237 template <class Fn, class... ArgTypes>
396 template <class Fn, class... ArgTypes> inline constexpr bool is_invocable_v
397 = is_invocable<Fn, ArgTypes...>::value; // C++17
399 = is_invocable_r<R, Fn, ArgTypes...>::value; // C++17
[all …]
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVPrepareFunctions.cpp74 SmallVector<Type *, 4> ArgTypes; in processFunctionSignature() local
77 ArgTypes.push_back(B.getInt32Ty()); in processFunctionSignature()
81 ArgTypes.push_back(Arg.getType()); in processFunctionSignature()
84 FunctionType::get(RetType, ArgTypes, F->getFunctionType()->isVarArg()); in processFunctionSignature()
131 ArrayRef<Type *> ArgTypes, in getOrCreateFunction() argument
133 FunctionType *FT = FunctionType::get(RetTy, ArgTypes, false); in getOrCreateFunction()
/llvm-project-15.0.7/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/
H A Dp21.cpp11 template<class R, class ... ArgTypes> struct X<R(int, ArgTypes ...)> {
/llvm-project-15.0.7/llvm/unittests/IR/
H A DFunctionTest.cpp19 Type *ArgTypes[] = {Type::getInt8Ty(C), Type::getInt32Ty(C)}; in TEST() local
20 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), ArgTypes, false); in TEST()
49 Type *ArgTypes[] = {Type::getInt8Ty(C), Type::getInt32Ty(C)}; in TEST() local
50 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), ArgTypes, false); in TEST()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DHashBuilder.h77 template <typename... ArgTypes>
78 explicit HashBuilderBase(ArgTypes &&...Args) in HashBuilderBase()
79 : OptionalHasher(in_place, std::forward<ArgTypes>(Args)...), in HashBuilderBase()
100 template <typename... ArgTypes>
101 explicit HashBuilderImpl(ArgTypes &&...Args) in HashBuilderImpl()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dmangle-variadic-templates.cpp55 template<typename R, typename ...ArgTypes> identity<R(ArgTypes...)> f5() {} in f5()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DR600OpenCLImageTypeLoweringPass.cpp258 SmallVector<Type *, 8> ArgTypes; in addImplicitArgs() local
266 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs()
274 ArgTypes.push_back(ImageSizeType); in addImplicitArgs()
279 ArgTypes.push_back(ImageFormatType); in addImplicitArgs()
290 auto NewFT = FunctionType::get(FT->getReturnType(), ArgTypes, false); in addImplicitArgs()
/llvm-project-15.0.7/libcxx/include/experimental/
H A Dtype_traits25 template <class F, class... ArgTypes> class invocation_type<F(ArgTypes...)>;
27 template <class F, class... ArgTypes> class raw_invocation_type<F(ArgTypes...)>;
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DSuspiciousCallArgumentCheck.cpp711 ArgTypes.clear(); in setArgNamesAndTypes()
715 assert(ArgTypes.size() == I - InitialArgIndex && in setArgNamesAndTypes()
716 ArgNames.size() == ArgTypes.size() && in setArgNamesAndTypes()
722 ArgTypes.push_back(Var->getType()); in setArgNamesAndTypes()
728 ArgTypes.push_back(FCall->getType()); in setArgNamesAndTypes()
735 ArgTypes.push_back(QualType()); in setArgNamesAndTypes()
752 if (!areTypesCompatible(ArgTypes[Position1], ParamTypes[Position2], Ctx) || in areParamAndArgComparable()
753 !areTypesCompatible(ArgTypes[Position2], ParamTypes[Position1], Ctx)) in areParamAndArgComparable()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DOptional.h276 template <typename... ArgTypes>
277 constexpr Optional(in_place_t, ArgTypes &&...Args) in Optional()
278 : Storage(in_place, std::forward<ArgTypes>(Args)...) {} in Optional()
287 template <typename... ArgTypes> void emplace(ArgTypes &&... Args) { in emplace()
288 Storage.emplace(std::forward<ArgTypes>(Args)...); in emplace()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DEntryExitInstrumenter.cpp44 Type *ArgTypes[] = {Type::getInt8PtrTy(C), Type::getInt8PtrTy(C)}; in insertCall() local
47 Func, FunctionType::get(Type::getVoidTy(C), ArgTypes, false)); in insertCall()

123