Lines Matching refs:newFuncOp
1232 FuncOp funcOp, LLVM::LLVMFuncOp newFuncOp) { in wrapForExternalCallers() argument
1260 auto call = rewriter.create<LLVM::CallOp>(loc, newFuncOp, args); in wrapForExternalCallers()
1273 FuncOp funcOp, LLVM::LLVMFuncOp newFuncOp) { in wrapExternalFunction() argument
1291 builder.setInsertionPointToStart(newFuncOp.addEntryBlock()); in wrapExternalFunction()
1297 ValueRange wrapperArgsRange(newFuncOp.getArguments()); in wrapExternalFunction()
1381 auto newFuncOp = rewriter.create<LLVM::LLVMFuncOp>( in convertFuncOpToLLVMFuncOp() local
1384 rewriter.inlineRegionBefore(funcOp.getBody(), newFuncOp.getBody(), in convertFuncOpToLLVMFuncOp()
1385 newFuncOp.end()); in convertFuncOpToLLVMFuncOp()
1386 if (failed(rewriter.convertRegionTypes(&newFuncOp.getBody(), *typeConverter, in convertFuncOpToLLVMFuncOp()
1390 return newFuncOp; in convertFuncOpToLLVMFuncOp()
1405 auto newFuncOp = convertFuncOpToLLVMFuncOp(funcOp, rewriter); in matchAndRewrite() local
1406 if (!newFuncOp) in matchAndRewrite()
1411 if (newFuncOp.isExternal()) in matchAndRewrite()
1413 funcOp, newFuncOp); in matchAndRewrite()
1416 funcOp, newFuncOp); in matchAndRewrite()
1437 auto newFuncOp = convertFuncOpToLLVMFuncOp(funcOp, rewriter); in matchAndRewrite() local
1438 if (!newFuncOp) in matchAndRewrite()
1440 if (newFuncOp.getBody().empty()) { in matchAndRewrite()
1448 Block *entryBlock = &newFuncOp.getBody().front(); in matchAndRewrite()