Searched defs:ArgTypes (Results 1 - 25 of 35) sorted by relevance

12

/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/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...]
H A DCGStmt.cpp1830 std::vector<llvm::Type *> ArgTypes; local
1905 ArgTypes.push_back(Dest.getAddress().getType());
2005 ArgTypes.push_back(Arg->getType());
2012 ArgTypes.push_back(InOutArgTypes[i]);
2051 llvm::FunctionType::get(ResultType, ArgTypes, false);
H A DCodeGenFunction.cpp786 SmallVector<QualType, 16> ArgTypes; local
788 ArgTypes.push_back(VD->getType());
790 RetTy, ArgTypes, FunctionProtoType::ExtProtoInfo(CC));
H A DCGClass.cpp1684 llvm::Type *ArgTypes[] = {CGF.VoidPtrTy, CGF.SizeTy}; local
1687 llvm::FunctionType::get(CGF.VoidTy, ArgTypes, false);
H A DCGDebugInfo.cpp2699 SmallVector<QualType, 16> ArgTypes; local
2701 ArgTypes.push_back(Parm->getType());
2704 FD->getReturnType(), ArgTypes, FunctionProtoType::ExtProtoInfo(CC));
H A DCGObjCGNU.cpp2579 llvm::Type *ArgTypes[2] = {PtrTy, PtrToInt8Ty}; local
2582 ArgTypes, false);
H A DCodeGenFunction.h3317 SmallVector<QualType, 16> ArgTypes; local
3342 ArgTypes.push_back(*I);
3354 ArgTypes.push_back(getVarArgType(A));
3356 EmitCallArgs(Args, ArgTypes, ArgRange, CalleeDecl, ParamsToSkip);
3359 void EmitCallArgs(CallArgList &Args, ArrayRef<QualType> ArgTypes,
/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());
H A DCodeExtractor.cpp405 std::vector<Type*> ArgTypes; local
408 ArgTypes.push_back((*v)->getType());
411 Type *StructArgTy = StructType::get(newFunction->getContext(), ArgTypes);
/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);
H A DAMDGPUPromoteAlloca.cpp777 std::vector<Type*> ArgTypes; local
780 ArgTypes.push_back(Call->getArgOperand(ArgIdx)->getType());
783 FunctionType *NewType = FunctionType::get(Call->getType(), ArgTypes,
/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());
H A DCodeExtractor.cpp442 std::vector<Type*> ArgTypes; local
445 ArgTypes.push_back((*v)->getType());
448 StructArgTy = StructType::get(newFunction->getContext(), ArgTypes);
/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/llvm/lib/IR/
H A DIRBuilder.cpp346 Type *ArgTypes[] = { FuncPtrType }; local
349 ArgTypes);
/external/spirv-llvm/lib/SPIRV/
H A DOCLUtil.cpp595 ArrayRef<Type*> ArgTypes, std::string &MangledName) {
597 MangledName = SPIRV::mangleBuiltin(UniqName, ArgTypes, &BtnInfo);
594 MangleOpenCLBuiltin(const std::string &UniqName, ArrayRef<Type*> ArgTypes, std::string &MangledName) argument
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/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;
/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/spirv-llvm/lib/SPIRV/libSPIRV/
H A DSPIRVInstruction.h1162 std::vector<SPIRVType *> ArgTypes; local
1164 ArgTypes.push_back(getValue(I)->getType());
1165 return ArgTypes;

Completed in 3163 milliseconds

12