Home
last modified time | relevance | path

Searched refs:argTypes (Results 1 – 25 of 56) sorted by relevance

123

/llvm-project-15.0.7/llvm/examples/ExceptionDemo/
H A DExceptionDemo.cpp1084 ArgTypes argTypes; in createCatchWrappedInvokeFunction() local
1691 ArgTypes argTypes; in createStandardUtilityFunctions() local
1698 argTypes.clear(); in createStandardUtilityFunctions()
1717 argTypes.clear(); in createStandardUtilityFunctions()
1736 argTypes.clear(); in createStandardUtilityFunctions()
1754 argTypes.clear(); in createStandardUtilityFunctions()
1772 argTypes.clear(); in createStandardUtilityFunctions()
1790 argTypes.clear(); in createStandardUtilityFunctions()
1808 argTypes.clear(); in createStandardUtilityFunctions()
1828 argTypes.clear(); in createStandardUtilityFunctions()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Transforms/
H A DTosaInferShapes.cpp83 llvm::SmallVector<Type> argTypes; in propagateShapesToTosaWhile() local
89 argTypes.push_back(newTy); in propagateShapesToTosaWhile()
91 argTypes.push_back(operand.getType()); in propagateShapesToTosaWhile()
111 for (int i = 0, s = argTypes.size(); i < s; i++) { in propagateShapesToTosaWhile()
112 block.getArgument(i).setType(argTypes[i]); in propagateShapesToTosaWhile()
129 for (auto ty : argTypes) { in propagateShapesToTosaWhile()
143 if (yieldTypeInfo.size() != argTypes.size()) { in propagateShapesToTosaWhile()
152 hasNewTypes |= (newType != argTypes[i]); in propagateShapesToTosaWhile()
153 argTypes[i] = newType; in propagateShapesToTosaWhile()
173 for (unsigned int i = 0, s = argTypes.size(); i < s; i++) { in propagateShapesToTosaWhile()
[all …]
/llvm-project-15.0.7/mlir/lib/IR/
H A DFunctionImplementation.cpp189 SmallVector<Type> argTypes; in parseFunctionOp() local
190 argTypes.reserve(entryArgs.size()); in parseFunctionOp()
192 argTypes.push_back(arg.type); in parseFunctionOp()
193 Type type = funcTypeBuilder(builder, argTypes, resultTypes, in parseFunctionOp()
265 OpAsmPrinter &p, Operation *op, ArrayRef<Type> argTypes, bool isVariadic, in printFunctionSignature() argument
272 for (unsigned i = 0, e = argTypes.size(); i < e; ++i) { in printFunctionSignature()
282 p.printType(argTypes[i]); in printFunctionSignature()
289 if (!argTypes.empty()) in printFunctionSignature()
329 ArrayRef<Type> argTypes = op.getArgumentTypes(); in printFunctionOp() local
331 printFunctionSignature(p, op, argTypes, isVariadic, resultTypes); in printFunctionOp()
[all …]
H A DBuilders.cpp354 TypeRange argTypes, ArrayRef<Location> locs) { in createBlock() argument
356 assert(argTypes.size() == locs.size() && "argument location mismatch"); in createBlock()
361 b->addArguments(argTypes, locs); in createBlock()
372 Block *OpBuilder::createBlock(Block *insertBefore, TypeRange argTypes, in createBlock() argument
376 argTypes, locs); in createBlock()
H A DFunctionInterfaces.cpp115 Operation *op, ArrayRef<unsigned> argIndices, TypeRange argTypes, in insertFunctionArguments() argument
118 assert(argIndices.size() == argTypes.size()); in insertFunctionArguments()
157 entry.insertArgument(argIndices[i] + i, argTypes[i], argLocs[i]); in insertFunctionArguments()
/llvm-project-15.0.7/mlir/lib/CAPI/Dialect/
H A DLinalg.cpp30 SmallVector<Type, 8> argTypes; in mlirLinalgFillBuiltinNamedOpRegion() local
33 argTypes.push_back(getElementTypeOrSelf(opOperand->get().getType())); in mlirLinalgFillBuiltinNamedOpRegion()
39 Block *body = b.createBlock(&region, /*insertPt=*/{}, argTypes, argLocs); in mlirLinalgFillBuiltinNamedOpRegion()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dintrinsics-library.cpp492 const std::vector<DynamicType> &argTypes) { in SearchInHostRuntimeMap() argument
496 if (iter->resultType == resultType && iter->argumentTypes == argTypes) { in SearchInHostRuntimeMap()
505 DynamicType resultType, const std::vector<DynamicType> &argTypes) { in SearchHostRuntime() argument
513 SearchInHostRuntimeMap(*map, name, resultType, argTypes)}) { in SearchHostRuntime()
521 SearchInHostRuntimeMap(*map, name, resultType, argTypes)}) { in SearchHostRuntime()
528 SearchInHostRuntimeMap(*map, name, resultType, argTypes)}) { in SearchHostRuntime()
555 DynamicType resultType, const std::vector<DynamicType> &argTypes) { in GetHostRuntimeWrapper() argument
556 if (const auto *hostFunction{SearchHostRuntime(name, resultType, argTypes)}) { in GetHostRuntimeWrapper()
563 for (auto type : argTypes) { in GetHostRuntimeWrapper()
/llvm-project-15.0.7/mlir/lib/Dialect/MLProgram/IR/
H A DMLProgramOps.cpp150 [](Builder &builder, ArrayRef<Type> argTypes, ArrayRef<Type> results, in parse()
152 std::string &) { return builder.getFunctionType(argTypes, results); }; in parse() argument
311 [](Builder &builder, ArrayRef<Type> argTypes, ArrayRef<Type> results, in parse()
313 std::string &) { return builder.getFunctionType(argTypes, results); }; in parse() argument
/llvm-project-15.0.7/clang/utils/ABITest/
H A DTypeGen.py169 def __init__(self, index, returnType, argTypes): argument
172 self.argTypes = argTypes
179 if not self.argTypes:
182 at = ', '.join(map(str, self.argTypes))
190 if not self.argTypes:
193 at = ', '.join(map(str, self.argTypes))
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenABITypes.cpp65 ArrayRef<CanQualType> argTypes, in arrangeFreeFunctionCall() argument
69 returnType, /*instanceMethod=*/false, /*chainCall=*/false, argTypes, in arrangeFreeFunctionCall()
H A DCGCall.cpp201 SmallVector<CanQualType, 16> argTypes; in arrangeFreeFunctionType() local
267 SmallVector<CanQualType, 16> argTypes; in arrangeCXXMethodType() local
273 *this, true, argTypes, in arrangeCXXMethodType()
322 SmallVector<CanQualType, 16> argTypes; in arrangeCXXStructorDeclaration() local
370 SmallVector<CanQualType, 16> argTypes; in getArgTypesForCall() local
373 return argTypes; in getArgTypesForCall()
378 SmallVector<CanQualType, 16> argTypes; in getArgTypesForDeclaration() local
381 return argTypes; in getArgTypesForDeclaration()
610 SmallVector<CanQualType, 16> argTypes; in arrangeFreeFunctionLikeCall() local
757 assert(llvm::all_of(argTypes, in arrangeLLVMFunctionInfo()
[all …]
H A DCodeGenTypes.h215 ArrayRef<CanQualType> argTypes);
265 ArrayRef<CanQualType> argTypes,
/llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/
H A DFuncBufferizableOpInterfaceImpl.cpp398 SmallVector<Type> argTypes; in bufferize() local
402 argTypes.push_back( in bufferize()
406 argTypes.push_back(argType); in bufferize()
420 funcOp.setType(FunctionType::get(op->getContext(), argTypes, retTypes)); in bufferize()
489 funcOp.setType(FunctionType::get(op->getContext(), argTypes, in bufferize()
/llvm-project-15.0.7/mlir/lib/Bindings/Python/
H A DIRCore.cpp326 llvm::SmallVector<MlirType, 4> argTypes; in appendBlock() local
328 argTypes.reserve(pyArgTypes.size()); in appendBlock()
331 argTypes.push_back(pyArg.cast<PyType &>()); in appendBlock()
338 mlirBlockCreate(argTypes.size(), argTypes.data(), argLocs.data()); in appendBlock()
2790 llvm::SmallVector<MlirType, 4> argTypes; in populateIRCore() local
2792 argTypes.reserve(pyArgTypes.size()); in populateIRCore()
2801 MlirBlock block = mlirBlockCreate(argTypes.size(), argTypes.data(), in populateIRCore()
2824 argTypes.reserve(pyArgTypes.size()); in populateIRCore()
2833 MlirBlock block = mlirBlockCreate(argTypes.size(), argTypes.data(), in populateIRCore()
2847 argTypes.reserve(pyArgTypes.size()); in populateIRCore()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMTypeSyntax.cpp201 SmallVector<Type, 8> argTypes; in parseFunctionType() local
206 return parser.getChecked<LLVMFunctionType>(loc, returnType, argTypes, in parseFunctionType()
213 argTypes.push_back(arg); in parseFunctionType()
218 return parser.getChecked<LLVMFunctionType>(loc, returnType, argTypes, in parseFunctionType()
H A DLLVMDialect.cpp1019 SmallVector<Type, 8> argTypes; in parse() local
1020 argTypes.reserve(funcType.getNumInputs()); in parse()
1023 argTypes.push_back(ty); in parse()
1315 SmallVector<Type, 8> argTypes; in parse() local
1316 argTypes.reserve(funcType.getNumInputs()); in parse()
1322 argTypes.push_back(argType); in parse()
2276 SmallVector<Type> argTypes; in parse() local
2278 argTypes.push_back(arg.type); in parse()
2311 SmallVector<Type, 8> argTypes; in print() local
2313 argTypes.reserve(fnType.getNumParams()); in print()
[all …]
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dintrinsics-library.h43 DynamicType resultType, const std::vector<DynamicType> &argTypes);
/llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/
H A DMLIRGen.cpp162 llvm::SmallVector<mlir::Type, 4> argTypes; in mlirGen() local
163 argTypes.reserve(proto.getArgs().size()); in mlirGen()
168 argTypes.push_back(type); in mlirGen()
170 auto funcType = builder.getFunctionType(argTypes, llvm::None); in mlirGen()
/llvm-project-15.0.7/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h625 ArrayRef<CanQualType> argTypes,
776 ArrayRef<CanQualType> argTypes) { in Profile() argument
795 i = argTypes.begin(), e = argTypes.end(); i != e; ++i) { in Profile()
/llvm-project-15.0.7/mlir/lib/Dialect/MemRef/Transforms/
H A DNormalizeMemRefs.cpp207 SmallVector<Type, 8> argTypes; in updateFunctionSignature() local
209 argTypes.push_back(argEn.value().getType()); in updateFunctionSignature()
236 newFuncType = FunctionType::get(&getContext(), /*inputs=*/argTypes, in updateFunctionSignature()
/llvm-project-15.0.7/mlir/lib/Dialect/PDLInterp/IR/
H A DPDLInterp.cpp218 [](Builder &builder, ArrayRef<Type> argTypes, ArrayRef<Type> results, in parse()
220 std::string &) { return builder.getFunctionType(argTypes, results); }; in parse() argument
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DFunctionImplementation.h87 ArrayRef<Type> argTypes, bool isVariadic,
/llvm-project-15.0.7/mlir/examples/toy/Ch3/mlir/
H A DDialect.cpp195 [](mlir::Builder &builder, llvm::ArrayRef<mlir::Type> argTypes, in parse()
198 std::string &) { return builder.getFunctionType(argTypes, results); }; in parse() argument
/llvm-project-15.0.7/mlir/examples/toy/Ch2/mlir/
H A DDialect.cpp208 [](mlir::Builder &builder, llvm::ArrayRef<mlir::Type> argTypes, in parse()
211 std::string &) { return builder.getFunctionType(argTypes, results); }; in parse() argument
/llvm-project-15.0.7/mlir/lib/Dialect/Func/IR/
H A DFuncOps.cpp262 [](Builder &builder, ArrayRef<Type> argTypes, ArrayRef<Type> results, in parse()
264 std::string &) { return builder.getFunctionType(argTypes, results); }; in parse() argument

123