Home
last modified time | relevance | path

Searched refs:paramTypes (Results 1 – 9 of 9) sorted by relevance

/llvm-project/mlir/lib/Target/LLVMIR/
H A DTypeFromLLVM.cpp87 SmallVector<Type, 8> paramTypes; in translate() local
88 translateTypes(type->params(), paramTypes); in translate()
90 paramTypes, type->isVarArg()); in translate()
H A DTypeToLLVM.cpp96 SmallVector<llvm::Type *, 8> paramTypes; in translate() local
97 translateTypes(type.getParams(), paramTypes); in translate()
99 paramTypes, type.isVarArg()); in translate()
/llvm-project/mlir/unittests/Dialect/SPIRV/
H A DDeserializationTest.cpp96 uint32_t addFunctionType(uint32_t retType, ArrayRef<uint32_t> paramTypes) { in addFunctionType() argument
101 operands.append(paramTypes.begin(), paramTypes.end()); in addFunctionType()
/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
H A DFunctionCallUtils.cpp50 ArrayRef<Type> paramTypes, Type resultType, in lookupOrCreateFn() argument
56 auto funcT = LLVMFunctionType::get(resultType, paramTypes, isVarArg); in lookupOrCreateFn()
75 LLVM::LLVMFunctionType::get(resultType, paramTypes, isVarArg));
80 ArrayRef<Type> paramTypes, Type resultType) { in lookupOrCreatePrintF16Fn()
81 return lookupOrCreateFn(moduleOp, name, paramTypes, resultType,
/llvm-project/mlir/lib/Conversion/GPUToLLVMSPV/
H A DGPUToLLVMSPV.cpp50 ArrayRef<Type> paramTypes, in lookupOrCreateSPIRVFn()
59 LLVM::LLVMFunctionType::get(resultType, paramTypes)); in createSPIRVBuiltinCall()
45 lookupOrCreateSPIRVFn(Operation * symbolTable,StringRef name,ArrayRef<Type> paramTypes,Type resultType) lookupOrCreateSPIRVFn() argument
/llvm-project/mlir/include/mlir/Dialect/LLVMIR/
H A DFunctionCallUtils.h66 /// Create a FuncOp with signature `resultType`(`paramTypes`)` and name `name`.
70 ArrayRef<Type> paramTypes = {}, Type resultType = {},
/llvm-project/clang/lib/AST/
H A DType.cpp1158 SmallVector<QualType, 4> paramTypes; in VisitFunctionProtoType()
1168 paramTypes.push_back(newParamType); in VisitParenType()
1197 return Ctx.getFunctionType(returnType, paramTypes, info); in SUGARED_TYPE_CLASS()
1461 SmallVector<QualType, 4> paramTypes; in VisitFunctionType()
1472 paramTypes.push_back(newParamType);
1503 return Ctx.getFunctionType(returnType, paramTypes, info); in VisitObjCObjectType()
1125 SmallVector<QualType, 4> paramTypes; VisitFunctionProtoType() local
1428 SmallVector<QualType, 4> paramTypes; VisitFunctionType() local
/llvm-project/clang/lib/Sema/
H A DTreeTransform.h16789 SmallVector<QualType, 4> paramTypes;
16797 exprFunctionType->getExtParameterInfosOrNull(), paramTypes, &params,
16807 epi.ExtParameterInfos = extParamInfos.getPointerOrNull(paramTypes.size());
16810 getDerived().RebuildFunctionProtoType(exprResultType, paramTypes, epi);
15828 SmallVector<QualType, 4> paramTypes; TransformBlockExpr() local
H A DSemaType.cpp2569 static void checkExtParameterInfos(Sema &S, ArrayRef<QualType> paramTypes, in checkExtParameterInfos()
2589 for (size_t paramIndex = 0, numParams = paramTypes.size(); in checkExtParameterInfos()
2543 checkExtParameterInfos(Sema & S,ArrayRef<QualType> paramTypes,const FunctionProtoType::ExtProtoInfo & EPI,llvm::function_ref<SourceLocation (unsigned)> getParamLoc) checkExtParameterInfos() argument