Searched refs:ArgTypes (Results 1 - 25 of 55) sorted by relevance

123

/external/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; }
61 template<typename ...ArgTypes> int g(ArgTypes...);
65 template<typename R, typename ...ArgTypes>
66 struct X1<R(ArgTypes
[all...]
/external/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 ...)> {
/external/clang/lib/CodeGen/
H A DCGCUDABuiltin.cpp25 llvm::Type *ArgTypes[] = {llvm::Type::getInt8PtrTy(M.getContext()), local
28 llvm::Type::getInt32Ty(M.getContext()), ArgTypes, false);
99 llvm::SmallVector<llvm::Type *, 8> ArgTypes; local
101 ArgTypes.push_back(Args[I].RV.getScalarVal()->getType());
102 llvm::Type *AllocaTy = llvm::StructType::create(ArgTypes, "printf_args");
H A DObjectFilePCHContainerOperations.cpp107 SmallVector<QualType, 16> ArgTypes;
109 ArgTypes.push_back(i->getType());
111 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes,
123 SmallVector<QualType, 16> ArgTypes; local
124 ArgTypes.push_back(D->getSelfType(Ctx, D->getClassInterface(),
126 ArgTypes.push_back(Ctx.getObjCSelType());
128 ArgTypes.push_back(i->getType());
130 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes,
H A DCGCUDANV.cpp123 std::vector<llvm::Type *> ArgTypes; local
129 ArgTypes.push_back(cast<llvm::PointerType>(V->getType())->getElementType());
131 llvm::StructType *ArgStackTy = llvm::StructType::get(Context, ArgTypes);
142 llvm::ConstantExpr::getSizeOf(ArgTypes[I]),
H A DCGCall.cpp356 SmallVector<CanQualType, 16> ArgTypes; local
358 ArgTypes.push_back(Context.getCanonicalParamType(Arg.Ty));
364 ? ArgTypes.front()
371 ArgTypes.size());
373 /*chainCall=*/false, ArgTypes, Info,
1506 SmallVector<llvm::Type*, 8> ArgTypes(IRFunctionArgs.totalIRArgs());
1513 ArgTypes[IRFunctionArgs.getSRetArgNo()] =
1521 ArgTypes[IRFunctionArgs.getInallocaArgNo()] = ArgStruct->getPointerTo();
1533 ArgTypes[IRFunctionArgs.getPaddingArgNo(ArgNo)] =
1549 ArgTypes[FirstIRAr
[all...]
/external/llvm/unittests/IR/
H A DFunctionTest.cpp19 Type *ArgTypes[] = {Type::getInt8Ty(C), Type::getInt32Ty(C)}; local
20 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), ArgTypes, false);
41 Type *ArgTypes[] = {Type::getInt8Ty(C), Type::getInt32Ty(C)}; local
42 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), ArgTypes, false);
/external/clang/test/CodeGenCXX/
H A Dmangle-variadic-templates.cpp55 template<typename R, typename ...ArgTypes> identity<R(ArgTypes...)> f5() {}
/external/libcxx/test/support/
H A Duses_alloc_types.hpp86 template <class ...ArgTypes, class TestType>
90 // construction and with the specified 'ArgTypes...'. Additionally
94 return value.template checkConstruct<ArgTypes&&...>(form);
96 return value.template checkConstruct<ArgTypes&&...>(form, alloc);
101 template <class ...ArgTypes, class TestType>
103 return value.template checkConstruct<ArgTypes&&...>(form);
191 template <class ...ArgTypes>
193 auto expectArgs = &makeArgumentID<ArgTypes...>();
198 template <class ...ArgTypes>
201 auto ExpectID = &makeArgumentID<ArgTypes
[all...]
/external/swiftshader/third_party/LLVM/utils/TableGen/
H A DIntrinsicEmitter.cpp209 const std::vector<Record*> &ArgTypes,
211 if (ArgTypes.empty())
214 if (ArgTypes.size() == 1)
215 return EmitTypeGenerate(OS, ArgTypes.front(), ArgNo);
220 I = ArgTypes.begin(), E = ArgTypes.end(); I != E; ++I) {
341 const RecPair &ArgTypes = I->first; local
342 const std::vector<Record*> &RetTys = ArgTypes.first;
343 const std::vector<Record*> &ParamTys = ArgTypes.second;
438 const RecPair &ArgTypes local
208 EmitTypeGenerate(raw_ostream &OS, const std::vector<Record*> &ArgTypes, unsigned &ArgNo) argument
[all...]
/external/valgrind/none/tests/amd64/
H A Dgen_insn_test.pl7 our %ArgTypes = (
256 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|;
293 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|;
378 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|;
415 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|;
503 print qq| $ArgTypes{$type} $name|;
526 print qq| $ArgTypes{$type} $name;\n|;
545 print qq| $ArgTypes{$type} $name;\n|;
563 print qq| $ArgTypes{eflags} $name;\n|;
587 print qq| $ArgTypes{fpuc
[all...]
/external/valgrind/none/tests/x86/
H A Dgen_insn_test.pl7 our %ArgTypes = (
233 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|;
270 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|;
355 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|;
392 print qq| $ArgTypes{$type} $name = \{ .$subtype = \{|;
480 print qq| $ArgTypes{$type} $name|;
503 print qq| $ArgTypes{$type} $name;\n|;
522 print qq| $ArgTypes{$type} $name;\n|;
540 print qq| $ArgTypes{eflags} $name;\n|;
564 print qq| $ArgTypes{fpuc
[all...]
/external/llvm/lib/Target/AMDGPU/
H A DAMDGPUOpenCLImageTypeLoweringPass.cpp257 SmallVector<Type *, 8> ArgTypes; local
265 ArgTypes.push_back(FT->getParamType(i));
273 ArgTypes.push_back(ImageSizeType);
278 ArgTypes.push_back(ImageFormatType);
289 auto NewFT = FunctionType::get(FT->getReturnType(), ArgTypes, false);
/external/spirv-llvm/lib/SPIRV/
H A DSPIRV.h109 ArrayRef<Type*> ArgTypes, std::string &MangledName);
H A DSPIRVUtil.cpp300 getOrCreateFunction(Module *M, Type *RetTy, ArrayRef<Type *> ArgTypes, argument
306 MangledName = mangleBuiltin(Name, ArgTypes, Mangle);
308 if(isVarArg) ArgTypes = ArgTypes.slice(0, Mangle->getVarArg());
310 FunctionType *FT = FunctionType::get(RetTy, ArgTypes, isVarArg);
1383 ArrayRef<Type*> ArgTypes, BuiltinFuncMangleInfo* BtnInfo) {
1394 if (ArgTypes.empty()) {
1403 E = BIVarArgNegative ? ArgTypes.size() : (unsigned)BtnInfo->getVarArg();
1405 auto T = ArgTypes[I];
1411 assert((unsigned)BtnInfo->getVarArg() <= ArgTypes
1382 mangleBuiltin(const std::string &UniqName, ArrayRef<Type*> ArgTypes, BuiltinFuncMangleInfo* BtnInfo) argument
[all...]
/external/spirv-llvm/lib/SPIRV/llvm/Support/
H A DSPIRV.h109 ArrayRef<Type*> ArgTypes, std::string &MangledName);
/external/llvm/include/llvm/ADT/
H A DOptional.h74 template<typename ...ArgTypes>
75 void emplace(ArgTypes &&...Args) {
78 new (storage.buffer) T(std::forward<ArgTypes>(Args)...);
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DOptional.h74 template<typename ...ArgTypes>
75 void emplace(ArgTypes &&...Args) {
78 new (storage.buffer) T(std::forward<ArgTypes>(Args)...);
H A DAPFloat.h670 template <typename... ArgTypes>
671 Storage(const fltSemantics &Semantics, ArgTypes &&... Args) {
673 new (&IEEE) IEEEFloat(Semantics, std::forward<ArgTypes>(Args)...);
677 new (&Double) DoubleAPFloat(Semantics, std::forward<ArgTypes>(Args)...);
/external/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp381 llvm::SmallVector<Type *, 4> ArgTypes(T->param_begin(), T->param_end());
382 ArgTypes.append(T->getNumParams(), ShadowTy);
384 ArgTypes.push_back(ShadowPtrTy);
388 return FunctionType::get(RetType, ArgTypes, T->isVarArg());
393 llvm::SmallVector<Type *, 4> ArgTypes; local
394 ArgTypes.push_back(T->getPointerTo());
395 ArgTypes.append(T->param_begin(), T->param_end());
396 ArgTypes.append(T->getNumParams(), ShadowTy);
399 ArgTypes.push_back(ShadowPtrTy);
400 return FunctionType::get(T->getReturnType(), ArgTypes, fals
404 llvm::SmallVector<Type *, 4> ArgTypes; local
[all...]
/external/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp419 SmallVectorImpl<QualType> &ArgTypes,
2662 SmallVector<QualType, 4> ArgTypes; local
2663 ArgTypes.push_back(Context->getObjCClassType());
2664 ArgTypes.push_back(Context->getObjCSelType());
2666 ArgTypes.push_back(PI->getType());
2682 getSimpleFunctionType(returnType, ArgTypes, BoxingMethod->isVariadic());
2785 SmallVector<QualType, 4> ArgTypes; local
2786 ArgTypes.push_back(Context->getObjCClassType());
2787 ArgTypes.push_back(Context->getObjCSelType());
2789 ArgTypes
2932 SmallVector<QualType, 8> ArgTypes; local
3093 SynthMsgSendStretCallExpr(FunctionDecl *MsgSendStretFlavor, QualType returnType, SmallVectorImpl<QualType> &ArgTypes, SmallVectorImpl<Expr*> &MsgExprs, ObjCMethodDecl *Method) argument
3489 SmallVector<QualType, 8> ArgTypes; local
4539 SmallVector<QualType, 8> ArgTypes; local
4606 SmallVector<QualType, 8> ArgTypes; local
[all...]
/external/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp184 std::vector<Type*> ArgTypes; local
191 ArgTypes.push_back(I.getType());
195 ArgTypes, F->getFunctionType()->isVarArg());
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
H A DCloneFunction.cpp143 std::vector<Type*> ArgTypes; local
151 ArgTypes.push_back(I->getType());
155 ArgTypes, F->getFunctionType()->isVarArg());
/external/llvm/examples/ExceptionDemo/
H A DExceptionDemo.cpp197 typedef std::vector<llvm::Type*> ArgTypes; typedef
217 const ArgTypes &theArgTypes,
1136 ArgTypes argTypes;
1399 ArgTypes unwindArgTypes;
1743 ArgTypes argTypes;
/external/swiftshader/third_party/LLVM/examples/ExceptionDemo/
H A DExceptionDemo.cpp202 typedef std::vector<llvm::Type*> ArgTypes; typedef
222 const ArgTypes &theArgTypes,
1124 ArgTypes argTypes;
1443 ArgTypes unwindArgTypes;
1793 ArgTypes argTypes;

Completed in 1073 milliseconds

123