Home
last modified time | relevance | path

Searched refs:setInsertionPointToStart (Results 1 – 25 of 72) sorted by relevance

123

/external/llvm-project/mlir/examples/toy/Ch7/mlir/
DLowerToLLVM.cpp89 rewriter.setInsertionPointToStart(loop.getBody()); in matchAndRewrite()
121 rewriter.setInsertionPointToStart(module.getBody()); in getOrInsertPrintf()
135 builder.setInsertionPointToStart(module.getBody()); in getOrCreateGlobalString()
/external/llvm-project/mlir/examples/toy/Ch6/mlir/
DLowerToLLVM.cpp89 rewriter.setInsertionPointToStart(loop.getBody()); in matchAndRewrite()
121 rewriter.setInsertionPointToStart(module.getBody()); in getOrInsertPrintf()
135 builder.setInsertionPointToStart(module.getBody()); in getOrCreateGlobalString()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlhlo_legalize_to_parallel_loops.cc70 b->setInsertionPointToStart(&loop_reduce_op_body); in ConvertToReductionOperator()
259 rewriter->setInsertionPointToStart(outer.getBody()); in CreateReduceOpInNestedParallelLoops()
292 rewriter->setInsertionPointToStart(inner.getBody()); in CreateReduceOpInNestedParallelLoops()
399 rewriter->setInsertionPointToStart(output_loop.getBody()); in CreateParallelLoopsToTraverseOutputAndWindow()
418 rewriter->setInsertionPointToStart(window_loop.getBody()); in CreateReduceOpInNestedParallelLoops()
494 rewriter.setInsertionPointToStart(loop_over_src.getBody()); in matchAndRewrite()
525 b->setInsertionPointToStart(loop_over_output.getBody()); in InitializeOutput()
567 b->setInsertionPointToStart(result.inner_loop.getBody()); in InsertWindowLoops()
/external/llvm-project/mlir/lib/Dialect/GPU/Transforms/
DAllReduceLowering.cpp204 rewriter.setInsertionPointToStart(split); in getFactory()
282 rewriter.setInsertionPointToStart(thenBlock); in createIf()
286 rewriter.setInsertionPointToStart(elseBlock); in createIf()
291 rewriter.setInsertionPointToStart(continueBlock); in createIf()
DMemoryPromotion.cpp145 builder.setInsertionPointToStart(&region.front()); in insertCopies()
/external/llvm-project/mlir/lib/Dialect/SCF/Transforms/
DUtils.cpp62 b.setInsertionPointToStart(&newLoopBody); in cloneWithNewYields()
101 b.setInsertionPointToStart(outlinedFunc.addEntryBlock()); in outlineIfOp()
DParallelLoopTiling.cpp62 b.setInsertionPointToStart(outerLoop.getBody()); in tileParallelLoop()
116 b.setInsertionPointToStart(innerLoop.getBody()); in tileParallelLoop()
DParallelLoopFusion.cpp125 b.setInsertionPointToStart(secondPloop.getBody()); in fuseIfLegal()
/external/llvm-project/mlir/lib/Dialect/Async/Transforms/
DAsyncRefCounting.cpp118 builder.setInsertionPointToStart(value.getParentBlock()); in addAutomaticRefCounting()
234 builder.setInsertionPointToStart(dropRefSuccessor); in addAutomaticRefCounting()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dinsert_call_once_op.cc58 builder.setInsertionPointToStart(&func.getBlocks().front()); in runOnOperation()
Dpost_quantize.cc66 builder.setInsertionPointToStart(&bb); in RemoveQuantizationAdaptorOps()
Ddefault_quant_params.cc178 builder.setInsertionPointToStart(&block); in QuantizeValue()
/external/llvm-project/mlir/lib/Conversion/SCFToGPU/
DSCFToGPU.cpp239 builder.setInsertionPointToStart(&launchOp.body().front()); in createLaunch()
498 rewriter.setInsertionPointToStart(&ifOp.thenRegion().front()); in processParallelLoop()
512 rewriter.setInsertionPointToStart(loopOp.getBody()); in processParallelLoop()
582 rewriter.setInsertionPointToStart(&launchOp.body().front()); in matchAndRewrite()
/external/llvm-project/flang/lib/Lower/
DDoLoopHelper.cpp24 builder.setInsertionPointToStart(loop.getBody()); in createLoop()
DFIRBuilder.cpp95 setInsertionPointToStart(getEntryBlock()); in createTemporary()
132 setInsertionPointToStart(&block); in createGlobal()
DOpenMP.cpp56 firOpBuilder.setInsertionPointToStart(&block); in createBodyOfOp()
60 firOpBuilder.setInsertionPointToStart(&block); in createBodyOfOp()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf_control_flow.cc229 builder->setInsertionPointToStart(&block); in TupleImplicitInputs()
341 builder.setInsertionPointToStart(&cond_block); in LowerWhileRegion()
354 builder.setInsertionPointToStart(&body_block); in LowerWhileRegion()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dfreeze_global_tensors.cc110 builder.setInsertionPointToStart(&func.getBody().front()); in runOnOperation()
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertLaunchFuncToLLVMCalls.cpp183 rewriter.setInsertionPointToStart(module.getBody()); in matchAndRewrite()
236 rewriter.setInsertionPointToStart(module.getBody()); in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/Async/IR/
DAsync.cpp180 builder.setInsertionPointToStart(&bodyBlock); in build()
184 builder.setInsertionPointToStart(&bodyBlock); in build()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dembed_memref_prints.cc50 b->setInsertionPointToStart(module.getBody()); in emitCallToPrint()
/external/llvm-project/mlir/lib/Conversion/AsyncToLLVM/
DAsyncToLLVM.cpp349 builder.setInsertionPointToStart(cleanupBlock); in setupCoroMachinery()
367 builder.setInsertionPointToStart(suspendBlock); in setupCoroMachinery()
456 builder.setInsertionPointToStart(resumeOrCleanup); in addSuspensionPoint()
529 builder.setInsertionPointToStart(resume); in outlineExecuteOp()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DSparsification.cpp715 rewriter.setInsertionPointToStart(parOp.getBody()); in genFor()
725 rewriter.setInsertionPointToStart(forOp.getBody()); in genFor()
757 rewriter.setInsertionPointToStart(&whileOp.before().front()); in genWhile()
775 rewriter.setInsertionPointToStart(&whileOp.after().front()); in genWhile()
887 rewriter.setInsertionPointToStart(&ifOp.elseRegion().front()); in genIf()
905 rewriter.setInsertionPointToStart(&ifOp.thenRegion().front()); in genIf()
/external/llvm-project/mlir/lib/EDSC/
DBuilders.cpp112 builder.setInsertionPointToStart(block); in buildInNewBlock()
/external/llvm-project/mlir/include/mlir/IR/
DBuilders.h342 setInsertionPointToStart(blockArg.getOwner()); in setInsertionPointAfterValue()
347 void setInsertionPointToStart(Block *block) { in setInsertionPointToStart() function

123