Home
last modified time | relevance | path

Searched refs:getUsers (Results 1 – 25 of 78) sorted by relevance

1234

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_resource_read_for_write.cc52 Operation* result_user = *result.getUsers().begin(); in GetResourceWriteResult()
58 for (Operation* handle_user : handle.getUsers()) { in GetResourceWriteResult()
74 for (Operation* resource_user : resource.getUsers()) in ClusterFuncHasResourceRead()
76 for (Operation* read_user : read.value().getUsers()) in ClusterFuncHasResourceRead()
Dreadonly_references_to_resources.cc71 auto identity_op = op->getUsers().begin(); in GetNodeNameFromClassAttr()
117 if (!all_of(variable_v2_op.getResult().getUsers(), [&variable_v2_op]( in runOnFunction()
160 make_early_inc_range(variable_v2_op.getResult().getUsers())) { in runOnFunction()
Dlayout_optimization.cc206 for (Operation* user : result.getUsers()) { in MoveTransposeBefore()
263 result.setType(cast<TransposeOp>(*result.getUsers().begin()).y().getType()); in MoveTransposeBefore()
264 for (Operation* transpose : result.getUsers()) { in MoveTransposeBefore()
400 for (Operation* user : result.getUsers()) work_list->push_back(user); in MoveTransposeAfter()
439 for (Operation* user : transpose.y().getUsers()) { in runOnFunction()
Dtpu_colocate_composite_resource_ops.cc67 for (auto resource_user : composite_arguments.getUsers()) in GetResourceOpsUsingCompositeArgsInReplicate()
80 for (auto identity_user : pass_through_identity.output().getUsers()) { in GetResourceOpsUsingCompositeArgsInReplicate()
Dmerge_control_flow.cc93 for (auto* user : destination.getOperation()->getUsers()) { in SafeToMerge()
115 for (auto* user : dependency->getUsers()) { in SafeToMerge()
147 if (!llvm::all_of(index_and_value.value().getUsers(), [&](Operation* op) { in GetReturnIndicesToKeep()
179 for (Operation* user : source_op->getUsers()) { in MoveResultsAfter()
Dexecutor_tpuv1_island_coarsening.cc176 for (OpOperand use : result.getUsers()) { in MergeIsland()
201 if (llvm::any_of(result.getUsers(), [&](OpOperand user) { in MergeIsland()
224 if (llvm::any_of(std::get<0>(result).getUsers(), [&](OpOperand user) { in MergeIsland()
Ddevice_index_selector.cc63 for (auto use : op.getOperation()->getUsers()) { in runOnOperation()
Dtpu_host_computation_expansion.cc95 auto users = head_outside_compiled_op->getUsers(); in ExpandHeadOutsideCompiledOps()
Dfreeze_global_tensors.cc96 for (auto user : arg.getUsers()) { in runOnOperation()
Dremove_vars_in_session_initializer.cc46 for (Operation* user : res.getUsers()) { in RecursiveRemove()
/external/llvm-project/mlir/lib/Analysis/
DSliceAnalysis.cpp45 for (Operation *userOp : forOp.getInductionVar().getUsers()) in getForwardSliceImpl()
49 for (Operation *userOp : forOp.getInductionVar().getUsers()) in getForwardSliceImpl()
53 for (Operation *userOp : result.getUsers()) in getForwardSliceImpl()
59 for (Operation *userOp : result.getUsers()) in getForwardSliceImpl()
177 for (Operation *op : result.getUsers()) in DFSPostorder()
/external/llvm-project/mlir/lib/Transforms/
DMemRefDataFlowOpt.cpp93 for (auto *user : loadOp.getMemRef().getUsers()) { in forwardStoreToLoad()
210 if (llvm::any_of(memref.getUsers(), [&](Operation *ownerOp) { in runOnFunction()
216 for (auto *user : llvm::make_early_inc_range(memref.getUsers())) in runOnFunction()
DCopyRemoval.cpp63 auto valueUsers = value.getUsers(); in getDeallocationOpInBlock()
93 return llvm::any_of(val.getUsers(), [&](Operation *op) { in hasUsersBetween()
DNormalizeMemRefs.cpp157 if (!isMemRefNormalizable(oldMemRef.getUsers())) in areMemRefsNormalizable()
170 if (!isMemRefNormalizable(oldMemRef.getUsers())) in areMemRefsNormalizable()
181 if (!isMemRefNormalizable(oldMemRef.getUsers())) in areMemRefsNormalizable()
/external/llvm-project/mlir/lib/Dialect/Async/Transforms/
DAsyncRefCounting.cpp173 for (Operation *user : value.getUsers()) { in addAutomaticRefCounting()
252 for (Operation *user : value.getUsers()) { in addAutomaticRefCounting()
/external/llvm-project/mlir/lib/Dialect/Vector/
DVectorTransferOpTransforms.cpp97 for (auto *user : write.memref().getUsers()) { in deadStoreOp()
166 for (Operation *user : read.memref().getUsers()) { in storeToLoadForwarding()
/external/llvm-project/mlir/lib/Transforms/Utils/
DGreedyPatternRewriteDriver.cpp101 for (auto *user : result.getUsers()) in notifyRootReplaced()
183 for (auto *userOp : result.getUsers()) in simplify()
DUtils.cpp258 for (auto *op : oldMemRef.getUsers()) { in replaceAllMemRefUsesWith()
349 for (auto *user : result.getUsers()) { in createAffineComputationSlice()
430 assert(llvm::all_of(oldMemRef.getUsers(), in normalizeMemRef()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dremove_unused_func_args_tensors.cc56 if (global_tensor && func.getArgument(i).getUsers().empty()) { in runOnOperation()
/external/llvm-project/mlir/test/lib/IR/
DTestPrintDefUse.cpp57 for (Operation *userOp : result.getUsers()) { in runOnOperation()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dmhlo_control_flow_to_scf.cc103 for (auto* use : whileOp.body().front().getArgument(0).getUsers()) in MatchAndRewrite()
147 llvm::make_early_inc_range(whileOp.body().getArgument(0).getUsers())) { in MatchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.h222 for (Operation* quantized_op : quantized_value.getUsers()) { in matchAndRewrite()
357 for (auto user : new_op->getResult(i).getUsers()) { in matchAndRewrite()
360 user = *user->getResult(0).getUsers().begin(); in matchAndRewrite()
459 if (result.hasOneUse() && *result.getUsers().begin() == op) { in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/GPU/Transforms/
DAsyncRegionRewriter.cpp154 for (Operation *user : executeOp.token().getUsers()) in ~DeferWaitCallback()
197 return llvm::all_of(token.getUsers(), [](Operation *user) { in areAllUsersExecuteOrAwait()
/external/llvm-project/mlir/include/mlir/Transforms/
DBufferUtils.h91 for (Operation *user : childValue.getUsers()) { in findCommonDominator()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java343 public void getUsers() { in getUsers() method in ShadowUserManagerTest
344 assertThat(userManager.getUsers()).hasSize(1); in getUsers()
346 assertThat(userManager.getUsers()).hasSize(2); in getUsers()

1234