Home
last modified time | relevance | path

Searched refs:getParentRegion (Results 1 – 25 of 55) sorted by relevance

123

/external/llvm-project/mlir/lib/IR/
DRegion.cpp46 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()
DDominance.cpp223 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()
DValue.cpp88 Region *Value::getParentRegion() { in getParentRegion() function in Value
90 return op->getParentRegion(); in getParentRegion()
/external/llvm-project/mlir/lib/Dialect/Vector/
DVectorTransferOpTransforms.cpp31 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/
Dtpu_extract_outside_compilation.cc215 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()
Dreplicate_invariant_op_hoisting.cc139 if (!ancestor_of_replicate(operand.getParentRegion())) return false; in IsOpReplicateInvariant()
143 if (!ancestor_of_replicate(operand->get().getParentRegion())) in IsOpReplicateInvariant()
Dtpu_merge_variables_with_execute.cc151 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()
Dcluster_formation.cc110 if (launch_op_region->isAncestor(use.getOwner()->getParentRegion())) in ReplaceLiveOutExternalUses()
126 return !region->isAncestor(user->getParentRegion()); in GetLiveOuts()
Dtensor_device_copy_conversion.cc50 if (block_arg.getParentRegion() != &func_op.getRegion()) { in runOnFunction()
Dannotate_parameter_replication.cc81 } else if (!operand.getParentRegion()->isProperAncestor( in runOnOperation()
Dtpu_host_computation_expansion.cc82 if (operand_op->getParentRegion() == cluster_region) in ExpandHeadOutsideCompiledOps()
Dtpu_dynamic_layout_pass.cc248 if (maybe_replicate != block_arg.getParentRegion()->getParentOp() || in HandleCompileAndExecutes()
261 maybe_replicate.body().isAncestor(input_op->getParentRegion())) { in HandleCompileAndExecutes()
Dtpu_variable_runtime_reformatting.cc222 replicate_operand.getParentRegion()->isProperAncestor(&body); in AnnotateCompileOpAndGetExecuteArgToWhileArgsMapping()
226 if (!body.isAncestor(user->getParentRegion()) && in AnnotateCompileOpAndGetExecuteArgToWhileArgsMapping()
227 !cond.isAncestor(user->getParentRegion())) in AnnotateCompileOpAndGetExecuteArgToWhileArgsMapping()
Dcross_host_transfer.cc99 if (block_arg.getParentRegion() != &func_op.getRegion()) continue; in runOnFunction()
Dregion_control_flow_to_functional.cc217 Region& first_region = *first->getParentRegion(); in MatchCallArgs()
218 Region& second_region = *second->getParentRegion(); in MatchCallArgs()
/external/llvm-project/mlir/lib/Transforms/
DBufferOptimizations.cpp67 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/
DAsyncRefCountingOptimization.cpp40 Region *definingRegion = value.getParentRegion(); in optimizeReferenceCounting()
86 while (user->getParentRegion() != definingRegion) { in optimizeReferenceCounting()
DAsyncRefCounting.cpp142 Region *definingRegion = value.getParentRegion(); in addAutomaticRefCounting()
254 while (user->getParentRegion() != definingRegion) { in addAutomaticRefCounting()
/external/llvm-project/mlir/test/lib/Transforms/
DTestLoopParametricTiling.cpp38 if (op->getParentRegion()->getParentOfType<scf::ForOp>()) in runOnFunction()
DTestLoopMapping.cpp46 if (op->getParentRegion()->getParentOfType<scf::ForOp>()) in runOnFunction()
DTestAffineLoopParametricTiling.cpp47 Region *funcOpRegion = topLoop->getParentRegion(); in getTilingParameters()
/external/llvm-project/mlir/include/mlir/Transforms/
DRegionUtils.h25 if (!v.getParentRegion()->isProperAncestor(&limit)) in areValuesDefinedAbove()
/external/llvm-project/mlir/lib/Transforms/Utils/
DRegionUtils.cpp26 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/
DRegion.h181 Region *getParentRegion();
193 } while ((region = region->getParentRegion())); in getParentOfType()
/external/llvm-project/mlir/lib/Dialect/GPU/Transforms/
DMemoryPromotion.cpp94 auto loop = cast<scf::ForOp>(v.getParentRegion()->getParentOp()); in insertCopyLoops()

123