Home
last modified time | relevance | path

Searched defs:funcOp (Results 1 – 25 of 79) sorted by relevance

1234

/llvm-project/mlir/test/lib/Dialect/Linalg/
H A DTestLinalgTransforms.cpp153 static void applyVectorTransferForwardingPatterns(func::FuncOp funcOp) { in applyLinalgToVectorPatterns() argument
129 applyPatterns(func::FuncOp funcOp) applyPatterns() argument
146 applyVectorTransferForwardingPatterns(func::FuncOp funcOp) applyVectorTransferForwardingPatterns() argument
162 applyGeneralizePadTensorPatterns(func::FuncOp funcOp) applyGeneralizePadTensorPatterns() argument
168 applyGeneralizeTensorPackPatterns(func::FuncOp funcOp) applyGeneralizeTensorPackPatterns() argument
174 applyGeneralizeTensorUnPackPatterns(func::FuncOp funcOp) applyGeneralizeTensorUnPackPatterns() argument
180 applyExtractSliceOfPadTensorSwapPattern(func::FuncOp funcOp) applyExtractSliceOfPadTensorSwapPattern() argument
186 applyBubbleUpExtractSliceOpPattern(func::FuncOp funcOp) applyBubbleUpExtractSliceOpPattern() argument
192 applySwapExtractSliceWithFillPattern(func::FuncOp funcOp) applySwapExtractSliceWithFillPattern() argument
198 applyEraseUnusedOperandsAndResultsPatterns(func::FuncOp funcOp) applyEraseUnusedOperandsAndResultsPatterns() argument
204 applyEraseUnnecessaryInputs(func::FuncOp funcOp) applyEraseUnnecessaryInputs() argument
[all...]
H A DTestLinalgRankReduceContractionOps.cpp48 func::FuncOp funcOp = this->getOperation(); in runOnOperation() local
H A DTestLinalgDropUnitDims.cpp52 func::FuncOp funcOp = this->getOperation(); runOnOperation() local
/llvm-project/mlir/lib/Dialect/Bufferization/Transforms/
H A DFuncBufferizableOpInterfaceImpl.cpp25 for (Block &b : funcOp.getBody()) in startFunctionAnalysis() argument
46 getAssumedUniqueReturnOp(FuncOp funcOp) getAssumedUniqueReturnOp() argument
62 getBufferizedFunctionArgType(FuncOp funcOp,int64_t index,const BufferizationOptions & options) getBufferizedFunctionArgType() argument
104 getFuncOpAnalysisState(const AnalysisState & state,FuncOp funcOp) getFuncOpAnalysisState() argument
121 getEquivalentFuncArgIdx(FuncOp funcOp,const FuncAnalysisState & state,int64_t returnValIdx) getEquivalentFuncArgIdx() argument
142 FuncOp funcOp = getCalledFunction(callOp); bufferizesToMemoryRead() local
157 FuncOp funcOp = getCalledFunction(callOp); bufferizesToMemoryWrite() local
172 FuncOp funcOp = getCalledFunction(callOp); getAliasingValues() local
206 FuncOp funcOp = getCalledFunction(callOp); getBufferType() local
243 FuncOp funcOp = getCalledFunction(callOp); bufferize() local
332 auto funcOp = cast<FuncOp>(op); hasTensorSemantics() local
359 auto funcOp = cast<FuncOp>(op); getBufferType() local
373 auto funcOp = cast<func::FuncOp>(op); verifyAnalysis() local
389 auto funcOp = cast<FuncOp>(op); bufferize() local
466 auto funcOp = cast<FuncOp>(op); isWritable() local
[all...]
H A DOneShotModuleBufferize.cpp129 funcState.aliasingReturnVals[funcOp][bbArgIdx].push_back(returnIdx); in aliasingFuncOpBBArgsAnalysis() argument
91 getAssumedUniqueReturnOp(func::FuncOp funcOp) getAssumedUniqueReturnOp() argument
171 annotateFuncArgAccess(func::FuncOp funcOp,int64_t idx,bool isRead,bool isWritten) annotateFuncArgAccess() argument
192 funcOpBbArgReadWriteAnalysis(FuncOp funcOp,OneShotAnalysisState & state,FuncAnalysisState & funcState) funcOpBbArgReadWriteAnalysis() argument
233 auto funcOp = cast<func::FuncOp>(bbArg.getOwner()->getParentOp()); removeBufferizationAttributes() local
254 equivalenceAnalysis(func::FuncOp funcOp,OneShotAnalysisState & state,FuncAnalysisState & funcState) equivalenceAnalysis() argument
280 hasTensorSignature(func::FuncOp funcOp) hasTensorSignature() argument
301 __anon68da20ce0402(func::FuncOp funcOp) getFuncOpsOrderedByCalls() argument
352 foldMemRefCasts(func::FuncOp funcOp) foldMemRefCasts() argument
391 for (func::FuncOp funcOp : orderedFuncOps) { analyzeModuleOp() local
442 for (func::FuncOp funcOp : orderedFuncOps) { bufferizeModuleOp() local
[all...]
H A DDropEquivalentBufferResults.cpp48 static func::ReturnOp getAssumedUniqueReturnOp(func::FuncOp funcOp) { in getAssumedUniqueReturnOp() argument
74 for (auto funcOp : module.getOps<func::FuncOp>()) { dropEquivalentBufferResults() local
[all...]
/llvm-project/mlir/lib/Dialect/MemRef/Transforms/
H A DNormalizeMemRefs.cpp71 moduleOp.walk([&](func::FuncOp funcOp) { normalizableFuncs.insert(funcOp); }); in runOnOperation() argument
79 moduleOp.walk([&](func::FuncOp funcOp) { in runOnOperation() argument
114 setCalleesAndCallersNonNormalizable(func::FuncOp funcOp,ModuleOp moduleOp,DenseSet<func::FuncOp> & normalizableFuncs) setCalleesAndCallersNonNormalizable() argument
161 areMemRefsNormalizable(func::FuncOp funcOp) areMemRefsNormalizable() argument
210 updateFunctionSignature(func::FuncOp funcOp,ModuleOp moduleOp) updateFunctionSignature() argument
340 normalizeFuncOpMemRefs(func::FuncOp funcOp,ModuleOp moduleOp) normalizeFuncOpMemRefs() argument
495 createOpResultsNormalized(func::FuncOp funcOp,Operation * oldOp) createOpResultsNormalized() argument
[all...]
/llvm-project/mlir/lib/Dialect/SPIRV/Transforms/
H A DLowerABIAttributesPass.cpp38 createGlobalVarForEntryPointArgument(OpBuilder &builder, spirv::FuncOp funcOp, in createGlobalVarForEntryPointArgument() argument
82 getInterfaceVariables(spirv::FuncOp funcOp, in getInterfaceVariables() argument
118 lowerEntryPointABIAttr(spirv::FuncOp funcOp,OpBuilder & builder) lowerEntryPointABIAttr() argument
223 matchAndRewrite(spirv::FuncOp funcOp,OpAdaptor adaptor,ConversionPatternRewriter & rewriter) const matchAndRewrite() argument
334 __anona8f07cd50702(spirv::FuncOp funcOp) runOnOperation() argument
[all...]
/llvm-project/mlir/lib/Conversion/GPUCommon/
H A DOpToFuncCallLowering.h62 LLVMFuncOp funcOp = appendOrGetFuncOp(funcName, funcType, op); matchAndRewrite() local
106 Operation *funcOp = SymbolTable::lookupNearestSymbolFrom(op, funcAttr); appendOrGetFuncOp() local
H A DIndexIntrinsicsOpLowering.h76 if (auto funcOp = op->template getParentOfType<FunctionOpInterface>()) { in matchAndRewrite() local
/llvm-project/mlir/lib/Dialect/Shape/Transforms/
H A DOutlineShapeComputation.cpp97 func::FuncOp funcOp) { in getOrderedClusters() argument
127 func::FuncOp funcOp, shape::ShapeMappingAnalysis &shapeMappingAnalysis) { in constructShapeFunc() argument
206 moduleOp.walk([&](func::FuncOp funcOp) { in runOnOperation() argument
264 constructClustersForEachShape(const std::vector<shape::WithOp> & allWithOps,func::FuncOp funcOp) constructClustersForEachShape() argument
[all...]
/llvm-project/mlir/lib/Dialect/Transform/IR/
H A DUtils.cpp116 if (auto funcOp = dyn_cast<FunctionOpInterface>(op), in mergeSymbolsInto() local
208 auto funcOp = cast<FunctionOpInterface>(op.getOperation()); in mergeSymbolsInto() local
/llvm-project/flang/lib/Optimizer/Builder/
H A DPPCIntrinsicCall.cpp1083 mlir::func::FuncOp funcOp; in genMtfsf() local
1105 mlir::func::FuncOp funcOp{nullptr}; in genVecAbs() local
1133 mlir::func::FuncOp funcOp{nullptr}; in genVecAbs() local
1343 mlir::func::FuncOp funcOp{builder.createFunction(loc, fname, ftype)}; genVecAnyCompare() local
1449 mlir::func::FuncOp funcOp = builder.createFunction( genVecCmp() local
1576 auto funcOp{builder.createFunction(loc, fname, ftype)}; genVecConvert() local
1630 auto funcOp{builder.createFunction(loc, fname, ftype)}; genVecConvert() local
1638 auto funcOp{builder.createFunction(loc, fname, ftype)}; genVecConvert() local
1966 auto funcOp{builder.createFunction(loc, fname, funcType)}; genVecLdCallGrp() local
2025 auto funcOp{builder.createFunction(loc, fname, funcType)}; genVecLvsGrp() local
2060 auto funcOp{builder.createFunction(loc, std::get<0>(fmaMap[width]), genVecNmaddMsub() local
2113 auto funcOp{builder.createFunction( genVecPerm() local
2309 mlir::func::FuncOp funcOp{builder.createFunction(loc, funcName, funcTy)}; genVecShift() local
2755 mlir::func::FuncOp funcOp{ genMmaIntr() local
2893 mlir::func::FuncOp funcOp = builder.createFunction(loc, fname, funcType); genVecStore() local
[all...]
/llvm-project/mlir/test/lib/IR/
H A DTestBuiltinDistinctAttributes.cpp28 auto funcOp = getOperation(); in runOnOperation() local
H A DTestPrintInvalid.cpp37 auto funcOp = builder.create<func::FuncOp>( in runOnOperation() local
H A DTestSlicing.cpp76 for (auto funcOp : funcOps) { runOnOperation() local
/llvm-project/mlir/test/lib/Dialect/Affine/
H A DTestReifyValueBounds.cpp77 testReifyValueBounds(func::FuncOp funcOp,bool reifyToFuncArgs,bool useArithOps) testReifyValueBounds() argument
159 testEquality(func::FuncOp funcOp) testEquality() argument
H A DTestAffineLoopParametricTiling.cpp45 if (func::FuncOp funcOp = dyn_cast<func::FuncOp>(topLoop->getParentOp())) in checkIfTilingParametersExist() local
/llvm-project/mlir/lib/Conversion/FuncToLLVM/
H A DFuncToLLVM.cpp88 FunctionOpInterface funcOp, in propagateArgResAttrs() argument
120 FunctionOpInterface funcOp, in wrapForExternalCallers() argument
180 FunctionOpInterface funcOp, in wrapExternalFunction() argument
271 convertFuncOpToLLVMFuncOp(FunctionOpInterface funcOp,ConversionPatternRewriter & rewriter,const LLVMTypeConverter & converter) convertFuncOpToLLVMFuncOp() argument
625 auto funcOp = op->getParentOfType<LLVM::LLVMFuncOp>(); matchAndRewrite() local
[all...]
/llvm-project/flang/lib/Optimizer/Transforms/
H A DOMPFunctionFiltering.cpp
H A DSimplifyIntrinsics.cpp270 genReductionLoop(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,fir::InitValGeneratorTy initVal,ContinueLoopGenTy loopCond,T unorderedOrInitialLoopCond,BodyOpGeneratorTy genBody,unsigned rank,mlir::Type elementType,mlir::Location loc) genReductionLoop() argument
371 genRuntimeSumBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,unsigned rank,mlir::Type elementType) genRuntimeSumBody() argument
413 genRuntimeMaxvalBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,unsigned rank,mlir::Type elementType) genRuntimeMaxvalBody() argument
458 genRuntimeCountBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,unsigned rank,mlir::Type elementType) genRuntimeCountBody() argument
492 genRuntimeAnyBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,unsigned rank,mlir::Type elementType) genRuntimeAnyBody() argument
525 genRuntimeAllBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,unsigned rank,mlir::Type elementType) genRuntimeAllBody() argument
658 genRuntimeMinMaxlocBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,bool isMax,unsigned rank,int maskRank,mlir::Type elementType,mlir::Type maskElemType,mlir::Type resultElemTy,bool isDim) genRuntimeMinMaxlocBody() argument
905 genRuntimeDotBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,mlir::Type arg1ElementTy,mlir::Type arg2ElementTy) genRuntimeDotBody() argument
1230 __anonfe7b43d31202(fir::FirOpBuilder &builder, mlir::func::FuncOp &funcOp) simplifyMinMaxlocReduction() argument
1260 __anonfe7b43d31402(fir::FirOpBuilder &builder, mlir::func::FuncOp &funcOp) simplifyReductionBody() argument
1331 __anonfe7b43d31702(fir::FirOpBuilder &builder, mlir::func::FuncOp &funcOp) runOnOperation() argument
[all...]
/llvm-project/mlir/lib/Conversion/FuncToEmitC/
H A DFuncToEmitC.cpp52 matchAndRewrite(func::FuncOp funcOp, OpAdaptor adaptor, in matchAndRewrite()
/llvm-project/mlir/lib/Conversion/ControlFlowToSCF/
H A DControlFlowToSCF.cpp142 if (!funcOp) in createUnreachableTerminator() local
168 if (funcOp.getBody().empty()) in runOnOperation() argument
/llvm-project/mlir/lib/Dialect/OpenACC/Transforms/
H A DLegalizeData.cpp
/llvm-project/mlir/lib/Conversion/GPUToSPIRV/
H A DGPUToSPIRV.cpp226 lowerAsEntryFunction(gpu::GPUFuncOp funcOp,const TypeConverter & typeConverter,ConversionPatternRewriter & rewriter,spirv::EntryPointABIAttr entryPointInfo,ArrayRef<spirv::InterfaceVarABIAttr> argABIInfo) lowerAsEntryFunction() argument
287 getDefaultABIAttrs(const spirv::TargetEnv & targetEnv,gpu::GPUFuncOp funcOp,SmallVectorImpl<spirv::InterfaceVarABIAttr> & argABI) getDefaultABIAttrs() argument
308 matchAndRewrite(gpu::GPUFuncOp funcOp,OpAdaptor adaptor,ConversionPatternRewriter & rewriter) const matchAndRewrite() argument
[all...]

1234