Home
last modified time | relevance | path

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

12

/minix3/external/bsd/llvm/dist/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 …]
/minix3/external/bsd/libc++/dist/libcxx/include/experimental/
H A Dfunctional31 template<class R, class... ArgTypes> class function<R(ArgTypes...)>;
33 template<class R, class... ArgTypes>
34 void swap(function<R(ArgTypes...)>&, function<R(ArgTypes...)>&);
36 template<class R, class... ArgTypes>
37 bool operator==(const function<R(ArgTypes...)>&, nullptr_t) noexcept;
38 template<class R, class... ArgTypes>
39 bool operator==(nullptr_t, const function<R(ArgTypes...)>&) noexcept;
40 template<class R, class... ArgTypes>
41 bool operator!=(const function<R(ArgTypes...)>&, nullptr_t) noexcept;
42 template<class R, class... ArgTypes>
[all …]
H A Dtype_traits166 template <class F, class... ArgTypes> class invocation_type<F(ArgTypes...)>;
168 template <class F, class... ArgTypes> class raw_invocation_type<F(ArgTypes...)>;
/minix3/minix/drivers/power/acpi/parser/
H A Dpsobject.c101 WalkState->ArgTypes = ARGP_NAMESTRING; in AcpiPsGetAmlOpcode()
151 WalkState->ArgTypes = WalkState->OpInfo->ParseArgs; in AcpiPsGetAmlOpcode()
196 while (GET_CURRENT_ARG_TYPE (WalkState->ArgTypes) && in AcpiPsBuildNamedOp()
197 (GET_CURRENT_ARG_TYPE (WalkState->ArgTypes) != ARGP_NAME)) in AcpiPsBuildNamedOp()
200 GET_CURRENT_ARG_TYPE (WalkState->ArgTypes), &Arg); in AcpiPsBuildNamedOp()
207 INCREMENT_ARG_LIST (WalkState->ArgTypes); in AcpiPsBuildNamedOp()
213 if (!GET_CURRENT_ARG_TYPE (WalkState->ArgTypes)) in AcpiPsBuildNamedOp()
220 INCREMENT_ARG_LIST (WalkState->ArgTypes); in AcpiPsBuildNamedOp()
449 WalkState->PrevArgTypes = WalkState->ArgTypes; in AcpiPsCompleteOp()
455 &WalkState->ArgTypes, &WalkState->ArgCount); in AcpiPsCompleteOp()
[all …]
H A Dpsloop.c117 GET_CURRENT_ARG_TYPE (WalkState->ArgTypes), Op); in AcpiPsGetArguments()
128 WalkState->ArgTypes = 0; in AcpiPsGetArguments()
135 while (GET_CURRENT_ARG_TYPE (WalkState->ArgTypes) && !WalkState->ArgCount) in AcpiPsGetArguments()
141 GET_CURRENT_ARG_TYPE (WalkState->ArgTypes), &Arg); in AcpiPsGetArguments()
153 INCREMENT_ARG_LIST (WalkState->ArgTypes); in AcpiPsGetArguments()
414 WalkState->ArgTypes = 0; in AcpiPsParseLoop()
458 &WalkState->ArgTypes, &WalkState->ArgCount); in AcpiPsParseLoop()
466 WalkState->ArgTypes = WalkState->PrevArgTypes; in AcpiPsParseLoop()
525 if (WalkState->ArgTypes) in AcpiPsParseLoop()
551 WalkState->ArgTypes, WalkState->ArgCount); in AcpiPsParseLoop()
/minix3/minix/drivers/power/acpi/executer/
H A Dexresop.c152 UINT32 ArgTypes; in AcpiExResolveOperands() local
168 ArgTypes = OpInfo->RuntimeArgs; in AcpiExResolveOperands()
169 if (ArgTypes == ARGI_INVALID_OPCODE) in AcpiExResolveOperands()
179 Opcode, OpInfo->Name, ArgTypes)); in AcpiExResolveOperands()
188 while (GET_CURRENT_ARG_TYPE (ArgTypes)) in AcpiExResolveOperands()
289 ThisArgType = GET_CURRENT_ARG_TYPE (ArgTypes); in AcpiExResolveOperands()
290 INCREMENT_ARG_LIST (ArgTypes); in AcpiExResolveOperands()
712 if (GET_CURRENT_ARG_TYPE (ArgTypes)) in AcpiExResolveOperands()
/minix3/external/bsd/llvm/dist/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 ...)> {
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGCUDANV.cpp82 std::vector<llvm::Type *> ArgTypes; in EmitDeviceStubBody() local
88 ArgTypes.push_back(cast<llvm::PointerType>(V->getType())->getElementType()); in EmitDeviceStubBody()
91 CGF.getLLVMContext(), ArgTypes); in EmitDeviceStubBody()
102 llvm::ConstantExpr::getSizeOf(ArgTypes[I]), in EmitDeviceStubBody()
H A DCGCall.cpp237 SmallVector<CanQualType, 16> ArgTypes; in arrangeCXXConstructorCall() local
239 ArgTypes.push_back(Context.getCanonicalParamType(Arg.Ty)); in arrangeCXXConstructorCall()
245 ? ArgTypes.front() in arrangeCXXConstructorCall()
252 /*chainCall=*/false, ArgTypes, Info, in arrangeCXXConstructorCall()
1268 SmallVector<llvm::Type*, 8> ArgTypes(IRFunctionArgs.totalIRArgs()); in GetFunctionType() local
1275 ArgTypes[IRFunctionArgs.getSRetArgNo()] = in GetFunctionType()
1283 ArgTypes[IRFunctionArgs.getInallocaArgNo()] = ArgStruct->getPointerTo(); in GetFunctionType()
1295 ArgTypes[IRFunctionArgs.getPaddingArgNo(ArgNo)] = in GetFunctionType()
1311 ArgTypes[FirstIRArg] = LTy->getPointerTo(); in GetFunctionType()
1324 ArgTypes[FirstIRArg + i] = st->getElementType(i); in GetFunctionType()
[all …]
H A DCGStmt.cpp1837 std::vector<llvm::Type *> ArgTypes; in EmitAsmStmt() local
1903 ArgTypes.push_back(Dest.getAddress()->getType()); in EmitAsmStmt()
2000 ArgTypes.push_back(Arg->getType()); in EmitAsmStmt()
2007 ArgTypes.push_back(InOutArgTypes[i]); in EmitAsmStmt()
2044 llvm::FunctionType::get(ResultType, ArgTypes, false); in EmitAsmStmt()
/minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/
H A Dmangle-variadic-templates.cpp54 template<typename R, typename ...ArgTypes> identity<R(ArgTypes...)> f5() {} in f5()
/minix3/minix/llvm/passes/include/magic/support/
H A DMagicMemFunction.h307 std::vector<TYPECONST Type*> ArgTypes; in buildWrapper() local
324 ArgTypes.push_back(I->getType()); in buildWrapper()
327 ArgTypes.push_back(I->getType()); in buildWrapper()
330 …FunctionType *FTy = FunctionType::get(function->getFunctionType()->getReturnType(), ArgTypes, func… in buildWrapper()
389 std::vector<TYPECONST Type*> ArgTypes; in getCustomWrapper() local
399 ArgTypes.push_back(I->getType()); in getCustomWrapper()
404 ArgTypes.push_back(I->getType()); in getCustomWrapper()
408 …FunctionType *FTy = FunctionType::get(stdWrapper->getFunctionType()->getReturnType(), ArgTypes, fu… in getCustomWrapper()
H A DMagicDebugFunction.h62 std::vector<TYPECONST Type*> ArgTypes; in getDebugClone() local
66 ArgTypes.push_back(debugArgType); in getDebugClone()
69 ArgTypes.push_back(I->getType()); in getDebugClone()
72 …FunctionType *FTy = FunctionType::get(function->getFunctionType()->getReturnType(), ArgTypes, func… in getDebugClone()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/ADT/
H A DOptional.h76 template<typename ...ArgTypes>
77 void emplace(ArgTypes &&...Args) { in emplace()
80 new (storage.buffer) T(std::forward<ArgTypes>(Args)...); in emplace()
H A DSmallVector.h241 template <typename... ArgTypes> void emplace_back(ArgTypes &&... Args) { in emplace_back()
244 ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...); in emplace_back()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp369 llvm::SmallVector<Type *, 4> ArgTypes; in getArgsFunctionType() local
370 std::copy(T->param_begin(), T->param_end(), std::back_inserter(ArgTypes)); in getArgsFunctionType()
372 ArgTypes.push_back(ShadowTy); in getArgsFunctionType()
374 ArgTypes.push_back(ShadowPtrTy); in getArgsFunctionType()
378 return FunctionType::get(RetType, ArgTypes, T->isVarArg()); in getArgsFunctionType()
383 llvm::SmallVector<Type *, 4> ArgTypes; in getTrampolineFunctionType() local
384 ArgTypes.push_back(T->getPointerTo()); in getTrampolineFunctionType()
385 std::copy(T->param_begin(), T->param_end(), std::back_inserter(ArgTypes)); in getTrampolineFunctionType()
387 ArgTypes.push_back(ShadowTy); in getTrampolineFunctionType()
390 ArgTypes.push_back(ShadowPtrTy); in getTrampolineFunctionType()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Target/R600/
H A DAMDGPUPromoteAlloca.cpp360 std::vector<Type*> ArgTypes; in visitAlloca() local
363 ArgTypes.push_back(Call->getArgOperand(ArgIdx)->getType()); in visitAlloca()
366 FunctionType *NewType = FunctionType::get(Call->getType(), ArgTypes, in visitAlloca()
/minix3/external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp421 SmallVectorImpl<QualType> &ArgTypes,
2691 SmallVector<QualType, 4> ArgTypes; in RewriteObjCBoxedExpr() local
2692 ArgTypes.push_back(Context->getObjCIdType()); in RewriteObjCBoxedExpr()
2693 ArgTypes.push_back(Context->getObjCSelType()); in RewriteObjCBoxedExpr()
2695 ArgTypes.push_back(PI->getType()); in RewriteObjCBoxedExpr()
2711 getSimpleFunctionType(returnType, ArgTypes, BoxingMethod->isVariadic()); in RewriteObjCBoxedExpr()
2820 SmallVector<QualType, 4> ArgTypes; in RewriteObjCArrayLiteralExpr() local
2821 ArgTypes.push_back(Context->getObjCIdType()); in RewriteObjCArrayLiteralExpr()
2822 ArgTypes.push_back(Context->getObjCSelType()); in RewriteObjCArrayLiteralExpr()
2824 ArgTypes.push_back(PI->getType()); in RewriteObjCArrayLiteralExpr()
[all …]
H A DRewriteObjC.cpp355 SmallVectorImpl<QualType> &ArgTypes,
2591 SmallVectorImpl<QualType> &ArgTypes, in SynthMsgSendStretCallExpr() argument
2603 QualType castType = getSimpleFunctionType(returnType, ArgTypes, in SynthMsgSendStretCallExpr()
2927 SmallVector<QualType, 8> ArgTypes; in SynthMessageExpr() local
2932 ArgTypes.push_back(Context->getPointerType(getSuperStructType())); in SynthMessageExpr()
2934 ArgTypes.push_back(Context->getObjCIdType()); in SynthMessageExpr()
2935 ArgTypes.push_back(Context->getObjCSelType()); in SynthMessageExpr()
2944 ArgTypes.push_back(t); in SynthMessageExpr()
2971 getSimpleFunctionType(returnType, ArgTypes, MD ? MD->isVariadic() : true); in SynthMessageExpr()
2991 ArgTypes, MsgExprs, in SynthMessageExpr()
[all …]
/minix3/external/bsd/libc++/dist/libcxx/include/
H A Dfunctional58 template <class... ArgTypes>
59 typename result_of<T&(ArgTypes&&...)>::type
60 operator() (ArgTypes&&...) const;
369 template<class R, class... ArgTypes>
370 class function<R(ArgTypes...)>
371 : public unary_function<T1, R> // iff sizeof...(ArgTypes) == 1 and
372 // ArgTypes contains T1
373 : public binary_function<T1, T2, R> // iff sizeof...(ArgTypes) == 2 and
374 // ArgTypes contains T1 and T2
416 R operator()(ArgTypes...) const;
[all …]
/minix3/minix/drivers/power/acpi/include/
H A Dacstruct.h96 UINT32 ArgTypes; member
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DIRBuilder.cpp246 Type *ArgTypes[] = { FuncPtrType }; in CreateGCStatepoint() local
249 ArgTypes); in CreateGCStatepoint()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp216 std::vector<Type*> ArgTypes; in CloneFunction() local
224 ArgTypes.push_back(I->getType()); in CloneFunction()
228 ArgTypes, F->getFunctionType()->isVarArg()); in CloneFunction()
H A DCodeExtractor.cpp452 std::vector<Type*> ArgTypes; in emitCallAndSwitchStatement() local
455 ArgTypes.push_back((*v)->getType()); in emitCallAndSwitchStatement()
458 Type *StructArgTy = StructType::get(newFunction->getContext(), ArgTypes); in emitCallAndSwitchStatement()
/minix3/external/bsd/llvm/dist/llvm/examples/ExceptionDemo/
H A DExceptionDemo.cpp195 typedef std::vector<llvm::Type*> ArgTypes; typedef
215 const ArgTypes &theArgTypes, in createFunction()
1137 ArgTypes argTypes; in createCatchWrappedInvokeFunction()
1401 ArgTypes unwindArgTypes; in createThrowExceptionFunction()
1745 ArgTypes argTypes; in createStandardUtilityFunctions()

12