/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | tpu_resource_read_for_write.cc | 52 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()
|
D | readonly_references_to_resources.cc | 71 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()
|
D | layout_optimization.cc | 206 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()
|
D | tpu_colocate_composite_resource_ops.cc | 67 for (auto resource_user : composite_arguments.getUsers()) in GetResourceOpsUsingCompositeArgsInReplicate() 80 for (auto identity_user : pass_through_identity.output().getUsers()) { in GetResourceOpsUsingCompositeArgsInReplicate()
|
D | merge_control_flow.cc | 93 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()
|
D | executor_tpuv1_island_coarsening.cc | 176 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()
|
D | device_index_selector.cc | 63 for (auto use : op.getOperation()->getUsers()) { in runOnOperation()
|
D | tpu_host_computation_expansion.cc | 95 auto users = head_outside_compiled_op->getUsers(); in ExpandHeadOutsideCompiledOps()
|
D | freeze_global_tensors.cc | 96 for (auto user : arg.getUsers()) { in runOnOperation()
|
D | remove_vars_in_session_initializer.cc | 46 for (Operation* user : res.getUsers()) { in RecursiveRemove()
|
/external/llvm-project/mlir/lib/Analysis/ |
D | SliceAnalysis.cpp | 45 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/ |
D | MemRefDataFlowOpt.cpp | 93 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()
|
D | CopyRemoval.cpp | 63 auto valueUsers = value.getUsers(); in getDeallocationOpInBlock() 93 return llvm::any_of(val.getUsers(), [&](Operation *op) { in hasUsersBetween()
|
D | NormalizeMemRefs.cpp | 157 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/ |
D | AsyncRefCounting.cpp | 173 for (Operation *user : value.getUsers()) { in addAutomaticRefCounting() 252 for (Operation *user : value.getUsers()) { in addAutomaticRefCounting()
|
/external/llvm-project/mlir/lib/Dialect/Vector/ |
D | VectorTransferOpTransforms.cpp | 97 for (auto *user : write.memref().getUsers()) { in deadStoreOp() 166 for (Operation *user : read.memref().getUsers()) { in storeToLoadForwarding()
|
/external/llvm-project/mlir/lib/Transforms/Utils/ |
D | GreedyPatternRewriteDriver.cpp | 101 for (auto *user : result.getUsers()) in notifyRootReplaced() 183 for (auto *userOp : result.getUsers()) in simplify()
|
D | Utils.cpp | 258 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/ |
D | remove_unused_func_args_tensors.cc | 56 if (global_tensor && func.getArgument(i).getUsers().empty()) { in runOnOperation()
|
/external/llvm-project/mlir/test/lib/IR/ |
D | TestPrintDefUse.cpp | 57 for (Operation *userOp : result.getUsers()) { in runOnOperation()
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/ |
D | mhlo_control_flow_to_scf.cc | 103 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/ |
D | quantization_utils.h | 222 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/ |
D | AsyncRegionRewriter.cpp | 154 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/ |
D | BufferUtils.h | 91 for (Operation *user : childValue.getUsers()) { in findCommonDominator()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowUserManagerTest.java | 343 public void getUsers() { in getUsers() method in ShadowUserManagerTest 344 assertThat(userManager.getUsers()).hasSize(1); in getUsers() 346 assertThat(userManager.getUsers()).hasSize(2); in getUsers()
|