/external/llvm-project/mlir/lib/IR/ |
D | Region.cpp | 46 Region *Region::getParentRegion() { in getParentRegion() function in Region 48 return container->getParentRegion(); in getParentRegion() 57 while ((other = other->getParentRegion())) { in isProperAncestor() 172 if (operand.getParentRegion()->isProperAncestor(&limit)) { in isIsolatedAbove() 194 Region *llvm::ilist_traits<::mlir::Block>::getParentRegion() { in getParentRegion() function in llvm::ilist_traits::mlir::Block 205 block->parentValidOpOrderPair.setPointer(getParentRegion()); in addNodeToList() 221 auto *curParent = getParentRegion(); in transferNodesFromList() 222 if (curParent == otherList.getParentRegion()) in transferNodesFromList()
|
D | Dominance.cpp | 223 Region *aRegion = a->getParentRegion(); in properlyDominates() 258 auto *aRegion = aOp->getParentRegion(); in properlyDominates() 267 if (aOp->getParentRegion() != b->getParentRegion() && aOp->isAncestor(b)) in properlyDominates() 290 auto *aRegion = a->getParentRegion(); in properlyPostDominates()
|
D | Value.cpp | 88 Region *Value::getParentRegion() { in getParentRegion() function in Value 90 return op->getParentRegion(); in getParentRegion()
|
/external/llvm-project/mlir/lib/Dialect/Vector/ |
D | VectorTransferOpTransforms.cpp | 31 for (; op != nullptr && op->getParentRegion() != region; in findAncestorOpInRegion() 60 assert(start->getParentRegion() == dest->getParentRegion() && in isReachable() 126 Region *topRegion = firstOverwriteCandidate->getParentRegion(); in deadStoreOp() 193 Region *topRegion = lastwrite->getParentRegion(); in storeToLoadForwarding()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | tpu_extract_outside_compilation.cc | 215 if (block_arg.getParentRegion() == op->getParentRegion()) in GetExternalOperands() 315 return insertion_point->getParentRegion()->isAncestor( in MoveOpsToHost() 316 operand.getOwner()->getParentRegion()) || in MoveOpsToHost() 333 return !op.getParentRegion()->isAncestor( in MoveOpsToHost() 334 operand.getOwner()->getParentRegion()) && in MoveOpsToHost()
|
D | replicate_invariant_op_hoisting.cc | 139 if (!ancestor_of_replicate(operand.getParentRegion())) return false; in IsOpReplicateInvariant() 143 if (!ancestor_of_replicate(operand->get().getParentRegion())) in IsOpReplicateInvariant()
|
D | tpu_merge_variables_with_execute.cc | 151 read_op->getParentRegion() != execute_parent->getParentRegion()) in BuildVariableAccessInfo() 243 execute_launch->getParentRegion()->getRegionNumber()) in BuildVariableAccessInfo() 343 Region* execute_region = merged_execute_launch->getParentRegion(); in ReplaceParallelExecute() 593 op->getParentRegion()->getRegionNumber()); in ParentParallelExecuteWrapsSingleOp()
|
D | cluster_formation.cc | 110 if (launch_op_region->isAncestor(use.getOwner()->getParentRegion())) in ReplaceLiveOutExternalUses() 126 return !region->isAncestor(user->getParentRegion()); in GetLiveOuts()
|
D | tensor_device_copy_conversion.cc | 50 if (block_arg.getParentRegion() != &func_op.getRegion()) { in runOnFunction()
|
D | annotate_parameter_replication.cc | 81 } else if (!operand.getParentRegion()->isProperAncestor( in runOnOperation()
|
D | tpu_host_computation_expansion.cc | 82 if (operand_op->getParentRegion() == cluster_region) in ExpandHeadOutsideCompiledOps()
|
D | tpu_dynamic_layout_pass.cc | 248 if (maybe_replicate != block_arg.getParentRegion()->getParentOp() || in HandleCompileAndExecutes() 261 maybe_replicate.body().isAncestor(input_op->getParentRegion())) { in HandleCompileAndExecutes()
|
D | tpu_variable_runtime_reformatting.cc | 222 replicate_operand.getParentRegion()->isProperAncestor(&body); in AnnotateCompileOpAndGetExecuteArgToWhileArgsMapping() 226 if (!body.isAncestor(user->getParentRegion()) && in AnnotateCompileOpAndGetExecuteArgToWhileArgsMapping() 227 !cond.isAncestor(user->getParentRegion())) in AnnotateCompileOpAndGetExecuteArgToWhileArgsMapping()
|
D | cross_host_transfer.cc | 99 if (block_arg.getParentRegion() != &func_op.getRegion()) continue; in runOnFunction()
|
D | region_control_flow_to_functional.cc | 217 Region& first_region = *first->getParentRegion(); in MatchCallArgs() 218 Region& second_region = *second->getParentRegion(); in MatchCallArgs()
|
/external/llvm-project/mlir/lib/Transforms/ |
D | BufferOptimizations.cpp | 67 use->getParentRegion() == parentRegion) in leavesAllocationScope() 77 Region *region = alloc.getParentRegion(); in hasAllocationScope() 93 } while ((region = region->getParentRegion())); in hasAllocationScope()
|
/external/llvm-project/mlir/lib/Dialect/Async/Transforms/ |
D | AsyncRefCountingOptimization.cpp | 40 Region *definingRegion = value.getParentRegion(); in optimizeReferenceCounting() 86 while (user->getParentRegion() != definingRegion) { in optimizeReferenceCounting()
|
D | AsyncRefCounting.cpp | 142 Region *definingRegion = value.getParentRegion(); in addAutomaticRefCounting() 254 while (user->getParentRegion() != definingRegion) { in addAutomaticRefCounting()
|
/external/llvm-project/mlir/test/lib/Transforms/ |
D | TestLoopParametricTiling.cpp | 38 if (op->getParentRegion()->getParentOfType<scf::ForOp>()) in runOnFunction()
|
D | TestLoopMapping.cpp | 46 if (op->getParentRegion()->getParentOfType<scf::ForOp>()) in runOnFunction()
|
D | TestAffineLoopParametricTiling.cpp | 47 Region *funcOpRegion = topLoop->getParentRegion(); in getTilingParameters()
|
/external/llvm-project/mlir/include/mlir/Transforms/ |
D | RegionUtils.h | 25 if (!v.getParentRegion()->isProperAncestor(&limit)) in areValuesDefinedAbove()
|
/external/llvm-project/mlir/lib/Transforms/Utils/ |
D | RegionUtils.cpp | 26 if (region.isAncestor(use.getOwner()->getParentRegion())) in replaceAllUsesInRegionWith() 39 for (auto *reg = limit.getParentRegion(); reg != nullptr; in visitUsedValuesDefinedAbove() 40 reg = reg->getParentRegion()) { in visitUsedValuesDefinedAbove() 47 if (properAncestors.count(operand.get().getParentRegion())) in visitUsedValuesDefinedAbove()
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | Region.h | 181 Region *getParentRegion(); 193 } while ((region = region->getParentRegion())); in getParentOfType()
|
/external/llvm-project/mlir/lib/Dialect/GPU/Transforms/ |
D | MemoryPromotion.cpp | 94 auto loop = cast<scf::ForOp>(v.getParentRegion()->getParentOp()); in insertCopyLoops()
|