Home
last modified time | relevance | path

Searched refs:setInsertionPointToEnd (Results 1 – 25 of 52) sorted by relevance

123

/external/llvm-project/mlir/lib/Conversion/SCFToStandard/
DSCFToStandard.cpp308 rewriter.setInsertionPointToEnd(lastBodyBlock); in matchAndRewrite()
321 rewriter.setInsertionPointToEnd(initBlock); in matchAndRewrite()
336 rewriter.setInsertionPointToEnd(conditionBlock); in matchAndRewrite()
373 rewriter.setInsertionPointToEnd(&thenRegion.back()); in matchAndRewrite()
387 rewriter.setInsertionPointToEnd(&elseRegion.back()); in matchAndRewrite()
393 rewriter.setInsertionPointToEnd(condBlock); in matchAndRewrite()
436 rewriter.setInsertionPointToEnd(rewriter.getInsertionBlock()); in matchAndRewrite()
471 rewriter.setInsertionPointToEnd(rewriter.getInsertionBlock()); in matchAndRewrite()
499 rewriter.setInsertionPointToEnd(currentBlock); in matchAndRewrite()
505 rewriter.setInsertionPointToEnd(beforeLast); in matchAndRewrite()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlegalize_control_flow.cc55 builder->setInsertionPointToEnd(block); in ReplaceTerminators()
83 builder.setInsertionPointToEnd(orig_block); in LowerIfOp()
142 builder.setInsertionPointToEnd(orig_block); in LowerWhileOp()
167 builder.setInsertionPointToEnd(new_block); in LowerWhileOp()
196 builder.setInsertionPointToEnd(new_block); in LowerWhileOp()
Dlhlo_legalize_to_gpu.cc94 rewriter.setInsertionPointToEnd(&launch_op.body().front()); in matchAndRewrite()
163 rewriter.setInsertionPointToEnd(&launch_op.body().front()); in matchAndRewrite()
Dmhlo_control_flow_to_scf.cc176 b.setInsertionPointToEnd(&forOp.getLoopBody().front()); in MatchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/SCFToSPIRV/
DSCFToSPIRV.cpp169 rewriter.setInsertionPointToEnd(&(loopOp.body().front())); in matchAndRewrite()
173 rewriter.setInsertionPointToEnd(header); in matchAndRewrite()
184 rewriter.setInsertionPointToEnd(continueBlock); in matchAndRewrite()
231 rewriter.setInsertionPointToEnd(&thenRegion.back()); in matchAndRewrite()
241 rewriter.setInsertionPointToEnd(&elseRegion.back()); in matchAndRewrite()
247 rewriter.setInsertionPointToEnd(selectionHeaderBlock); in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_extract_outside_compilation.cc137 builder.setInsertionPointToEnd(&then_branch.front()); in CloneEmptyIfWithPredicate()
144 builder.setInsertionPointToEnd(&else_branch.front()); in CloneEmptyIfWithPredicate()
161 builder.setInsertionPointToEnd(&body.front()); in CloneEmptyWhile()
191 builder.setInsertionPointToEnd(&launch_op.GetBody()); in CreateLaunchOpForOutsideCluster()
389 builder.setInsertionPointToEnd(&cond.front()); in DecomposeControlFlow()
433 builder.setInsertionPointToEnd(&host_computation_block); in CreateParallelExecuteForOutsideCompilation()
466 builder.setInsertionPointToEnd(&host_computation_block); in CreateParallelExecuteForOutsideCompilation()
472 builder.setInsertionPointToEnd(&parallel_execute_tpu_block); in CreateParallelExecuteForOutsideCompilation()
Dfunctional_control_flow_to_cfg.cc175 builder.setInsertionPointToEnd(orig_block); in LowerIfOp()
238 builder.setInsertionPointToEnd(orig_block_head); in LowerWhileOp()
244 builder.setInsertionPointToEnd(cond_block); in LowerWhileOp()
258 builder.setInsertionPointToEnd(body_block); in LowerWhileOp()
Doutside_compiled_to_host_launch.cc70 builder.setInsertionPointToEnd(&launch_op.GetBody()); in WrapOpInLaunch()
Dtpu_colocate_composite_resource_ops.cc49 builder->setInsertionPointToEnd(&launch.GetBody()); in WrapOpInLaunch()
Dmerge_control_flow.cc260 builder.setInsertionPointToEnd(&new_if_op.then_branch().front()); in CreateMergedIf()
272 builder.setInsertionPointToEnd(&new_if_op.else_branch().front()); in CreateMergedIf()
Dcluster_ops_by_policy_pass.cc142 builder.setInsertionPointToEnd(block); in ClusterMatchedOps()
Dparallel_execute_to_islands.cc154 builder.setInsertionPointToEnd(&island_sink.GetBody()); in CreateIslandsFromParallelExecute()
Dcluster_formation.cc160 return_builder.setInsertionPointToEnd(block); in BuildLaunchForCluster()
Dtpu_variable_runtime_reformatting.cc372 builder->setInsertionPointToEnd(&launch.GetBody()); in WrapOpInLaunch()
497 builder.setInsertionPointToEnd(&unformat_replicate.GetBody()); in HandleReplicateOp()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dtf_functional_to_executor.cc75 builder.setInsertionPointToEnd(&graph_op.GetBody()); in runOnFunction()
91 builder.setInsertionPointToEnd(&island.body().front()); in runOnFunction()
/external/llvm-project/mlir/lib/Conversion/PDLToPDLInterp/
DPDLToPDLInterp.cpp165 builder.setInsertionPointToEnd(block); in generateMatcher()
228 builder.setInsertionPointToEnd(cur); in getValueAt()
275 builder.setInsertionPointToEnd(currentBlock); in generatePredicate()
351 builder.setInsertionPointToEnd(currentBlock); in generateSwitch()
400 builder.setInsertionPointToEnd(currentBlock); in generateRecordMatch()
415 builder.setInsertionPointToEnd(rewriterFunc.addEntryBlock()); in generateRewriter()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Draise_custom_ops.cc60 builder.setInsertionPointToEnd(&region.front()); in runOnFunction()
/external/llvm-project/mlir/test/lib/IR/
DTestSlicing.cpp35 builder.setInsertionPointToEnd(clonedFuncOp.addEntryBlock()); in createBackwardSliceFunction()
/external/llvm-project/mlir/lib/Conversion/SCFToOpenMP/
DSCFToOpenMP.cpp39 rewriter.setInsertionPointToEnd(parallelOp.getBody()); in matchAndRewrite()
/external/llvm-project/mlir/lib/EDSC/
DBuilders.cpp89 builder.setInsertionPointToEnd(block); in appendToBlock()
/external/llvm-project/mlir/lib/Dialect/GPU/Transforms/
DAllReduceLowering.cpp198 rewriter.setInsertionPointToEnd(block); in getFactory()
277 rewriter.setInsertionPointToEnd(currentBlock); in createIf()
/external/llvm-project/mlir/lib/Dialect/SCF/Transforms/
DUtils.cpp115 b.setInsertionPointToEnd(&ifOrElseRegion.front()); in outlineIfOp()
/external/llvm-project/mlir/examples/toy/Ch7/mlir/
DLowerToLLVM.cpp82 rewriter.setInsertionPointToEnd(loop.getBody()); in matchAndRewrite()
/external/llvm-project/mlir/examples/toy/Ch6/mlir/
DLowerToLLVM.cpp82 rewriter.setInsertionPointToEnd(loop.getBody()); in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/AsyncToLLVM/
DAsyncToLLVM.cpp378 builder.setInsertionPointToEnd(entryBlock); in setupCoroMachinery()
428 builder.setInsertionPointToEnd(suspended); in addSuspensionPoint()
449 builder.setInsertionPointToEnd(suspended); in addSuspensionPoint()

123