Home
last modified time | relevance | path

Searched refs:setInsertionPoint (Results 1 – 25 of 79) sorted by relevance

1234

/external/llvm-project/mlir/include/mlir/IR/
DBuilders.h191 setInsertionPoint(&region->front(), region->front().begin());
200 setInsertionPoint(op);
206 setInsertionPoint(block, insertPoint);
308 setInsertionPoint(ip.getBlock(), ip.getPoint()); in restoreInsertionPoint()
314 void setInsertionPoint(Block *block, Block::iterator insertPoint) { in setInsertionPoint() function
322 void setInsertionPoint(Operation *op) { in setInsertionPoint() function
323 setInsertionPoint(op->getBlock(), Block::iterator(op)); in setInsertionPoint()
329 setInsertionPoint(op->getBlock(), ++Block::iterator(op)); in setInsertionPointAfter()
348 setInsertionPoint(block, block->begin()); in setInsertionPointToStart()
353 setInsertionPoint(block, block->end()); in setInsertionPointToEnd()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf_control_flow.cc158 builder.setInsertionPoint(op); in LowerWhile()
243 builder->setInsertionPoint(terminator); in ReplaceTerminator()
261 builder.setInsertionPoint(op); in LowerIfRegion()
265 builder.setInsertionPoint(op); in LowerIfRegion()
271 builder.setInsertionPoint(op); in LowerIfRegion()
291 builder.setInsertionPoint(op); in LowerCaseRegion()
300 builder.setInsertionPoint(op); in LowerCaseRegion()
323 builder.setInsertionPoint(op); in LowerWhileRegion()
363 builder.setInsertionPoint(op); in LowerWhileRegion()
Dlegalize_tf_communication.cc329 builder.setInsertionPoint(host_compute); in RewriteHostComputeOp()
358 builder.setInsertionPoint(send_to_host); in RewriteSendToHostOp()
370 builder.setInsertionPoint(recv_from_host); in RewriteRecvFromHostOp()
384 builder.setInsertionPoint(call); in RewriteCallOp()
538 builder.setInsertionPoint(terminator); in RewriteControlFlowTerminator()
625 builder.setInsertionPoint(region_if); in ProcessRegionIfOp()
692 builder.setInsertionPoint(region_while); in ProcessRegionWhileOp()
725 builder.setInsertionPoint(terminator); in RewriteFunctionTerminator()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dparallel_execute_to_islands.cc102 builder->setInsertionPoint(terminator); in ExpandParallelExecuteToIslands()
108 builder->setInsertionPoint(island_op); in ExpandParallelExecuteToIslands()
149 builder.setInsertionPoint(island_op); in CreateIslandsFromParallelExecute()
173 builder.setInsertionPoint(fetch); in CreateIslandsFromParallelExecute()
Dreplicate_to_island.cc152 builder.setInsertionPoint(&terminator); in ExpandReplicateIntoReplicas()
157 builder.setInsertionPoint(island_op); in ExpandReplicateIntoReplicas()
267 builder.setInsertionPoint(island_op); in CreateIslandsFromReplicate()
290 builder.setInsertionPoint(fetch); in CreateIslandsFromReplicate()
Dcluster_outlining.cc92 builder->setInsertionPoint(cluster_return_op); in BuildFunction()
112 builder->setInsertionPoint(cluster_op); in OutlineCluster()
Dreadonly_references_to_resources.cc137 builder.setInsertionPoint(variable_v2_op); in runOnFunction()
161 builder.setInsertionPoint(user); in runOnFunction()
Dtpu_resource_partitioning.cc98 builder.setInsertionPoint(assign_var); in PartitionResourceReadsWrites()
125 builder.setInsertionPoint(partitioned_input); in PartitionResourceReadsWrites()
Dtpu_extract_head_tail_outside_compilation.cc107 before ? builder->setInsertionPoint(op) : builder->setInsertionPointAfter(op); in CreateLaunchForBlock()
316 builder->setInsertionPoint(old_terminator); in UpdateClusterResults()
321 builder->setInsertionPoint(cluster); in UpdateClusterResults()
400 builder->setInsertionPoint(cluster); in RemoveClusterAliasedOutputs()
Dtpu_extract_outside_compilation.cc278 builder.setInsertionPoint(&op); in MoveOpsToHost()
296 builder.setInsertionPoint(insertion_point); in MoveOpsToHost()
386 builder.setInsertionPoint(while_op.cond().front().getTerminator()); in DecomposeControlFlow()
438 builder.setInsertionPoint(host_launch_op.GetBody().getTerminator()); in CreateParallelExecuteForOutsideCompilation()
Dlayout_optimization.cc170 builder.setInsertionPoint(op); in runOnFunction()
271 builder.setInsertionPoint(op); in MoveTransposeBefore()
390 builder.setInsertionPoint(op); in MoveTransposeAfter()
Drewrite_tpu_embedding_ops.cc38 builder->setInsertionPoint(op); in AddOperandAndRewriteAs()
Dtpu_dynamic_layout_pass.cc173 builder.setInsertionPoint(execute_launch); in HandleInput()
200 builder.setInsertionPoint(replicate); in HandleReplicatedInputs()
/external/llvm-project/mlir/lib/Dialect/SCF/Transforms/
DUtils.cpp34 b.setInsertionPoint(loop); in cloneWithNewYields()
47 b.setInsertionPoint(yield); in cloneWithNewYields()
92 b.setInsertionPoint(ifOp->getParentOfType<FuncOp>()); in outlineIfOp()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/lite/
Dtfl_to_std.cc28 b.setInsertionPoint(op); in ConvertTFLQuantOpsToMlirQuantOps()
46 b.setInsertionPoint(op); in ConvertMlirQuantOpsToTFLQuantOps()
/external/llvm-project/mlir/lib/Conversion/GPUToSPIRV/
DConvertGPUToSPIRVPass.cpp52 builder.setInsertionPoint(moduleOp.getOperation()); in runOnOperation()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Draise_custom_ops.cc54 builder.setInsertionPoint(op); in runOnFunction()
Dsplit_merged_operands.cc95 builder->setInsertionPoint(op); in DuplicateValueIfNeeded()
/external/llvm-project/mlir/lib/Transforms/Utils/
DFoldUtils.cpp155 builder.setInsertionPoint(&entry, entry.begin()); in getOrCreateConstant()
200 builder.setInsertionPoint(&entry, entry.begin()); in tryToFold()
/external/llvm-project/mlir/lib/Dialect/GPU/Transforms/
DAsyncRegionRewriter.cpp60 builder.setInsertionPoint(op); in operator ()()
245 builder.setInsertionPoint(it->getBlock(), it); in addAsyncDependencyAfter()
/external/tensorflow/tensorflow/compiler/mlir/python/mlir_wrapper/
Dbuilders.cc39 &mlir::OpBuilder::setInsertionPoint)) in init_builders()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DFusion.cpp455 b.setInsertionPoint(consumer.getOperation()); in fuseProducerOfBuffer()
511 b.setInsertionPoint(consumer.getOperation()); in fuseProducerOfTensor()
817 builder.setInsertionPoint(tiledOp); in fuseOperations()
829 builder.setInsertionPoint(fusedOp); in fuseOperations()
859 builder.setInsertionPoint(rootOp); in tileAndFuseLinalgOpsImpl()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Transforms/
DLowerABIAttributesPass.cpp35 builder.setInsertionPoint(funcOp.getOperation()); in createGlobalVarForEntryPointArgument()
118 builder.setInsertionPoint(spirvModule.body().front().getTerminator()); in lowerEntryPointABIAttr()
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertLaunchFuncToLLVMCalls.cpp189 rewriter.setInsertionPoint(launchOp); in matchAndRewrite()
240 rewriter.setInsertionPoint(launchOp); in matchAndRewrite()
/external/llvm-project/flang/lib/Lower/
DFIRBuilder.cpp113 setInsertionPoint(module.getBody()->getTerminator()); in createGlobal()
126 setInsertionPoint(module.getBody()->getTerminator()); in createGlobal()

1234