| /llvm-project-15.0.7/mlir/lib/Conversion/GPUToVulkan/ |
| H A D | ConvertLaunchFuncToVulkanCalls.cpp | 105 bool isVulkanLaunchCallOp(LLVM::CallOp callOp) { in isVulkanLaunchCallOp() 112 bool isCInterfaceVulkanLaunchCallOp(LLVM::CallOp callOp) { in isCInterfaceVulkanLaunchCallOp() 123 void createBindMemRefCalls(LLVM::CallOp vulkanLaunchCallOp, 175 getOperation().walk([this](LLVM::CallOp op) { in runOnOperation() 181 getOperation().walk([this](LLVM::CallOp op) { in runOnOperation() 188 LLVM::CallOp vulkanLaunchCallOp) { in collectSPIRVAttributes() 250 builder.create<LLVM::CallOp>( in createBindMemRefCalls() 369 LLVM::CallOp cInterfaceVulkanLaunchCallOp) { in translateVulkanLaunchCall() 373 auto initVulkanCall = builder.create<LLVM::CallOp>( in translateVulkanLaunchCall() 395 builder.create<LLVM::CallOp>( in translateVulkanLaunchCall() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/ |
| H A D | FuncBufferizableOpInterfaceImpl.cpp | 146 func::CallOp> { 149 func::CallOp callOp = cast<func::CallOp>(op); in bufferizesToMemoryRead() 164 func::CallOp callOp = cast<func::CallOp>(op); in bufferizesToMemoryWrite() 179 func::CallOp callOp = cast<func::CallOp>(op); in getAliasingOpResult() 206 func::CallOp callOp = cast<func::CallOp>(op); in getAliasingOpOperand() 231 func::CallOp callOp = cast<func::CallOp>(op); in bufferRelation() 261 func::CallOp callOp = cast<func::CallOp>(op); in bufferize() 335 Operation *newCallOp = rewriter.create<func::CallOp>( in bufferize() 520 func::CallOp::attachInterface<func_ext::CallOpInterface>(*ctx); in registerBufferizableOpInterfaceExternalModels()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Builder/Runtime/ |
| H A D | Transformational.cpp | 34 builder.create<fir::CallOp>(loc, cshiftFunc, args); in genCshift() 50 builder.create<fir::CallOp>(loc, cshiftFunc, args); in genCshiftVector() 67 builder.create<fir::CallOp>(loc, eoshiftFunc, args); in genEoshift() 86 builder.create<fir::CallOp>(loc, eoshiftFunc, args); in genEoshiftVector() 101 builder.create<fir::CallOp>(loc, func, args); in genMatmul() 116 builder.create<fir::CallOp>(loc, packFunc, args); in genPack() 132 builder.create<fir::CallOp>(loc, func, args); in genReshape() 147 builder.create<fir::CallOp>(loc, func, args); in genSpread() 160 builder.create<fir::CallOp>(loc, func, args); in genTranspose() 175 builder.create<fir::CallOp>(loc, unpackFunc, args); in genUnpack()
|
| H A D | Command.cpp | 32 return builder.create<fir::CallOp>(loc, argumentCountFunc).getResult(0); in genCommandArgumentCount() 44 return builder.create<fir::CallOp>(loc, argumentValueFunc, args).getResult(0); in genArgumentValue() 54 return builder.create<fir::CallOp>(loc, argumentLengthFunc, args) in genArgumentLength() 70 return builder.create<fir::CallOp>(loc, valueFunc, args).getResult(0); in genEnvVariableValue() 85 return builder.create<fir::CallOp>(loc, lengthFunc, args).getResult(0); in genEnvVariableLength()
|
| H A D | Inquiry.cpp | 28 return builder.create<fir::CallOp>(loc, lboundFunc, args).getResult(0); in genLboundDim() 45 builder.create<fir::CallOp>(loc, uboundFunc, args).getResult(0); in genUbound() 61 return builder.create<fir::CallOp>(loc, sizeFunc, args).getResult(0); in genSizeDim() 76 return builder.create<fir::CallOp>(loc, sizeFunc, args).getResult(0); in genSize()
|
| H A D | Character.cpp | 37 builder.create<fir::CallOp>(loc, func, args); in genCharacterSearch() 75 builder.create<fir::CallOp>(loc, adjustFunc, args); in genAdjust() 117 auto tri = builder.create<fir::CallOp>(loc, beginFunc, args).getResult(0); in genCharCompare() 168 return builder.create<fir::CallOp>(loc, indexFunc, args).getResult(0); in genIndex() 192 builder.create<fir::CallOp>(loc, repeatFunc, args); in genRepeat() 205 builder.create<fir::CallOp>(loc, trimFunc, args); in genTrim() 240 return builder.create<fir::CallOp>(loc, func, args).getResult(0); in genScan() 277 return builder.create<fir::CallOp>(loc, func, args).getResult(0); in genVerify()
|
| H A D | Derived.cpp | 26 builder.create<fir::CallOp>(loc, func, args); in genDerivedTypeInitialize() 34 builder.create<fir::CallOp>(loc, func, args); in genDerivedTypeDestroy()
|
| H A D | Numeric.cpp | 245 return builder.create<fir::CallOp>(loc, func, args).getResult(0); in genExponent() 270 return builder.create<fir::CallOp>(loc, func, args).getResult(0); in genFraction() 308 return builder.create<fir::CallOp>(loc, func, args).getResult(0); in genNearest() 334 return builder.create<fir::CallOp>(loc, func, args).getResult(0); in genRRSpacing() 360 return builder.create<fir::CallOp>(loc, func, args).getResult(0); in genScale() 381 return builder.create<fir::CallOp>(loc, func, args).getResult(0); in genSelectedIntKind() 413 return builder.create<fir::CallOp>(loc, func, args).getResult(0); in genSelectedRealKind() 439 return builder.create<fir::CallOp>(loc, func, args).getResult(0); in genSetExponent() 465 return builder.create<fir::CallOp>(loc, func, args).getResult(0); in genSpacing()
|
| H A D | Stop.cpp | 22 builder.create<fir::CallOp>(loc, exitFunc, args); in genExit() 38 builder.create<fir::CallOp>(loc, crashFunc, args); in genReportFatalUserError()
|
| H A D | Reduction.cpp | 383 return builder.create<fir::CallOp>(loc, func, args).getResult(0); in genSpecial2Args() 399 builder.create<fir::CallOp>(loc, func, args); in genReduction2Args() 417 builder.create<fir::CallOp>(loc, func, args); in genReduction3Args() 434 builder.create<fir::CallOp>(loc, func, args); in genReduction4Args() 451 builder.create<fir::CallOp>(loc, func, args); in genReduction5Args() 512 builder.create<fir::CallOp>(loc, func, args); in genCountDim() 603 builder.create<fir::CallOp>(loc, func, args); in genMaxvalChar() 650 builder.create<fir::CallOp>(loc, func, args); in genMinvalChar() 762 builder.create<fir::CallOp>(loc, func, args); in genProduct() 840 builder.create<fir::CallOp>(loc, func, args); in genDotProduct() [all …]
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | Runtime.cpp | 107 builder.create<fir::CallOp>(loc, callee, operands); in genStopStatement() 117 builder.create<fir::CallOp>(loc, callee, llvm::None); in genFailImageStatement() 176 builder.create<fir::CallOp>(loc, callee, llvm::None); in genPauseStatement() 188 return builder.create<fir::CallOp>(loc, func, args).getResult(0); in genAssociated() 238 builder.create<fir::CallOp>(loc, callee, args); in genDateAndTime() 248 builder.create<fir::CallOp>(loc, func, args); in genRandomInit() 261 builder.create<fir::CallOp>(loc, func, args); in genRandomNumber() 274 builder.create<fir::CallOp>(loc, func); in genRandomSeed() 294 builder.create<fir::CallOp>(loc, func, args); in genRandomSeed() 310 builder.create<fir::CallOp>(loc, func, args); in genTransfer() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/FuncToSPIRV/ |
| H A D | FuncToSPIRV.cpp | 61 class CallOpPattern final : public OpConversionPattern<func::CallOp> { 63 using OpConversionPattern<func::CallOp>::OpConversionPattern; 66 matchAndRewrite(func::CallOp callOp, OpAdaptor adaptor, in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/AsyncToLLVM/ |
| H A D | AsyncToLLVM.cpp | 367 auto coroAlloc = rewriter.create<LLVM::CallOp>( in matchAndRewrite() 403 rewriter.replaceOpWithNewOp<LLVM::CallOp>(op, TypeRange(), in matchAndRewrite() 552 rewriter.replaceOpWithNewOp<func::CallOp>( in matchAndRewrite() 604 rewriter.replaceOpWithNewOp<func::CallOp>( in matchAndRewrite() 682 rewriter.replaceOpWithNewOp<func::CallOp>( in matchAndRewrite() 707 rewriter.create<func::CallOp>(op->getLoc(), apiFuncName, TypeRange(), in matchAndRewrite() 744 rewriter.create<func::CallOp>( in matchAndRewrite() 774 rewriter.replaceOpWithNewOp<func::CallOp>( in matchAndRewrite() 882 rewriter.replaceOpWithNewOp<func::CallOp>( in matchAndRewrite() 906 rewriter.replaceOpWithNewOp<func::CallOp>(op, kGetNumWorkerThreads, in matchAndRewrite() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Func/Transforms/ |
| H A D | FuncConversions.cpp | 19 struct CallOpSignatureConversion : public OpConversionPattern<CallOp> { 20 using OpConversionPattern<CallOp>::OpConversionPattern; 24 matchAndRewrite(CallOp callOp, OpAdaptor adaptor, in matchAndRewrite() 34 rewriter.replaceOpWithNewOp<CallOp>( in matchAndRewrite()
|
| H A D | DecomposeCallGraphTypes.cpp | 130 : public DecomposeCallGraphTypesOpConversionPattern<CallOp> { 135 matchAndRewrite(CallOp op, OpAdaptor adaptor, in matchAndRewrite() 160 CallOp newCallOp = rewriter.create<CallOp>(op.getLoc(), op.getCalleeAttr(), in matchAndRewrite()
|
| H A D | FuncBufferize.cpp | 43 target.addDynamicallyLegalOp<CallOp>( in runOnOperation() 44 [&](CallOp op) { return typeConverter.isLegal(op); }); in runOnOperation()
|
| /llvm-project-15.0.7/mlir/test/python/dialects/ |
| H A D | func.py | 88 func.CallOp(foo, []) 89 func.CallOp([IndexType.get()], "bar", []) 90 func.CallOp([F32Type.get()], FlatSymbolRefAttr.get("qux"), [])
|
| /llvm-project-15.0.7/flang/unittests/Optimizer/Builder/Runtime/ |
| H A D | RuntimeCallTestBase.h | 88 EXPECT_TRUE(mlir::isa<fir::CallOp>(*op)); 89 auto callOp = mlir::dyn_cast<fir::CallOp>(*op); 120 if (mlir::isa<fir::CallOp>(*u)) 137 if (auto callOp = mlir::dyn_cast<fir::CallOp>(op)) { in checkBlockForCallOp()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Transforms/ |
| H A D | ExternalNameConversion.cpp | 43 class MangleNameOnCallOp : public mlir::OpRewritePattern<fir::CallOp> { 48 matchAndRewrite(fir::CallOp op, in matchAndRewrite() 139 target.addDynamicallyLegalOp<fir::CallOp>([](fir::CallOp op) { in runOnOperation()
|
| H A D | AbstractResult.cpp | 59 class CallOpConversion : public mlir::OpRewritePattern<fir::CallOp> { 65 matchAndRewrite(fir::CallOp callOp, in matchAndRewrite() 94 rewriter.create<fir::CallOp>(loc, *callOp.getCallee(), newResultTypes, in matchAndRewrite() 110 rewriter.create<fir::CallOp>(loc, mlir::SymbolRefAttr{}, newResultTypes, in matchAndRewrite() 233 target.addDynamicallyLegalOp<fir::CallOp>([](fir::CallOp call) { in runOnOperation()
|
| /llvm-project-15.0.7/mlir/benchmark/python/ |
| H A D | common.py | 94 start = func.CallOp(timer_func, []) 95 call = func.CallOp( 99 end = func.CallOp(timer_func, [])
|
| /llvm-project-15.0.7/mlir/lib/Dialect/MemRef/Transforms/ |
| H A D | NormalizeMemRefs.cpp | 132 funcOp.walk([&](func::CallOp callOp) { in setCalleesAndCallersNonNormalizable() 168 .walk([&](func::CallOp callOp) -> WalkResult { in areMemRefsNormalizable() 256 auto callOp = dyn_cast<func::CallOp>(userOp); in updateFunctionSignature() 260 builder.create<func::CallOp>(userOp->getLoc(), callOp.getCalleeAttr(), in updateFunctionSignature() 398 op->getNumResults() > 0 && !isa<func::CallOp>(op) && in normalizeFuncOpMemRefs()
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/ |
| H A D | FIROpsSupport.h | 29 return mlir::isa<fir::CallOp>(op) || mlir::isa<fir::DispatchOp>(op) || in isaCall() 30 mlir::isa<mlir::func::CallOp>(op) || in isaCall()
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/Func/ |
| H A D | TestDecomposeCallGraphTypes.cpp | 50 target.addDynamicallyLegalOp<func::CallOp>( in runOnOperation() 51 [&](func::CallOp op) { return typeConverter.isLegal(op); }); in runOnOperation()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SCF/Utils/ |
| H A D | Utils.h | 32 class CallOp; variable 87 StringRef funcName, func::CallOp *callOp = nullptr);
|