| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Region.cpp | 45 Region *Region::getParentRegion() { in getParentRegion() function in Region 47 return container->getParentRegion(); in getParentRegion() 54 while ((other = other->getParentRegion())) { in isProperAncestor() 170 while (Region *opRegion = curOp->getParentRegion()) { in findAncestorOpInRegion() 186 Region *llvm::ilist_traits<::mlir::Block>::getParentRegion() { in getParentRegion() function in llvm::ilist_traits::mlir::Block 197 block->parentValidOpOrderPair.setPointer(getParentRegion()); in addNodeToList() 213 auto *curParent = getParentRegion(); in transferNodesFromList() 214 if (curParent == otherList.getParentRegion()) in transferNodesFromList()
|
| H A D | Value.cpp | 41 Region *Value::getParentRegion() { in getParentRegion() function in Value 43 return op->getParentRegion(); in getParentRegion()
|
| /llvm-project-15.0.7/mlir/lib/Transforms/Utils/ |
| H A D | LoopInvariantCodeMotionUtils.cpp | 40 if (op->isAncestor(operand.getParentRegion()->getParentOp())) in canBeHoisted() 74 if (op->getParentRegion() != region) in moveLoopInvariantCode() 89 if (user->getParentRegion() == region) in moveLoopInvariantCode()
|
| H A D | RegionUtils.cpp | 27 if (region.isAncestor(use.getOwner()->getParentRegion())) in replaceAllUsesInRegionWith() 40 for (auto *reg = limit.getParentRegion(); reg != nullptr; in visitUsedValuesDefinedAbove() 41 reg = reg->getParentRegion()) { in visitUsedValuesDefinedAbove() 48 if (properAncestors.count(operand.get().getParentRegion())) in visitUsedValuesDefinedAbove()
|
| H A D | ControlFlowSinkUtils.cpp | 91 if (!op || op->getParentRegion() == region) in tryToSinkPredecessors()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/ |
| H A D | VectorTransferOpTransforms.cpp | 34 for (; op != nullptr && op->getParentRegion() != region; in findAncestorOpInRegion() 63 assert(start->getParentRegion() == dest->getParentRegion() && in isReachable() 127 Region *topRegion = firstOverwriteCandidate->getParentRegion(); in deadStoreOp() 191 Region *topRegion = lastwrite->getParentRegion(); in storeToLoadForwarding()
|
| /llvm-project-15.0.7/mlir/lib/Interfaces/ |
| H A D | ControlFlowInterfaces.cpp | 335 while (Region *region = op->getParentRegion()) { in getEnclosingRepetitiveRegion() 345 Region *region = value.getParentRegion(); in getEnclosingRepetitiveRegion() 351 region = op->getParentRegion(); in getEnclosingRepetitiveRegion()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/ |
| H A D | BufferOptimizations.cpp | 67 if (isRegionReturnLike(use) && use->getParentRegion() == parentRegion) in leavesAllocationScope() 77 Region *region = alloc.getParentRegion(); in hasAllocationScope() 93 } while ((region = region->getParentRegion())); in hasAllocationScope()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Async/Transforms/ |
| H A D | AsyncRuntimeRefCountingOpt.cpp | 42 Region *definingRegion = value.getParentRegion(); in optimizeReferenceCounting() 78 while (user->getParentRegion() != definingRegion) { in optimizeReferenceCounting()
|
| H A D | AsyncRuntimeRefCounting.cpp | 244 Region *definingRegion = value.getParentRegion(); in addDropRefAfterLastUse() 348 Region *definingRegion = value.getParentRegion(); in addDropRefInDivergentLivenessSuccessor()
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/SCF/ |
| H A D | TestLoopParametricTiling.cpp | 45 if (op->getParentRegion()->getParentOfType<scf::ForOp>()) in runOnOperation()
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/Affine/ |
| H A D | TestLoopMapping.cpp | 55 if (op->getParentRegion()->getParentOfType<scf::ForOp>()) in runOnOperation()
|
| H A D | TestAffineLoopParametricTiling.cpp | 55 Region *funcOpRegion = topLoop->getParentRegion(); in getTilingParameters()
|
| /llvm-project-15.0.7/mlir/include/mlir/Transforms/ |
| H A D | RegionUtils.h | 26 if (!v.getParentRegion()->isProperAncestor(&limit)) in areValuesDefinedAbove()
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | Region.h | 197 Region *getParentRegion(); 210 } while ((region = region->getParentRegion())); in getParentOfType()
|
| H A D | BlockSupport.h | 256 mlir::Region *getParentRegion();
|
| /llvm-project-15.0.7/mlir/test/lib/Transforms/ |
| H A D | TestIntRangeInference.cpp | 39 : value.getParentRegion()->getParentOp()->getDialect(); in replaceWithConstant()
|
| /llvm-project-15.0.7/mlir/test/lib/Analysis/ |
| H A D | TestAliasAnalysis.cpp | 25 Region *region = arg.getParentRegion(); in printAliasOperand()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Transform/IR/ |
| H A D | TransformInterfaces.h | 281 assert(argument.getParentRegion() == regionStack.back() && in mapBlockArguments() 437 auto it = mappings.find(value.getParentRegion()); in getMapping() 448 auto it = mappings.find(operation->getParentRegion()); in getMapping()
|
| /llvm-project-15.0.7/mlir/include/mlir/Interfaces/ |
| H A D | LoopLikeInterface.td | 34 return value.getParentRegion()->isProperAncestor(&$_op.getLoopBody());
|
| /llvm-project-15.0.7/mlir/lib/Dialect/GPU/Transforms/ |
| H A D | MemoryPromotion.cpp | 83 auto loop = cast<scf::ForOp>(v.getParentRegion()->getParentOp()); in insertCopyLoops()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Affine/Utils/ |
| H A D | Utils.cpp | 774 from->getParentRegion()->isAncestor(untilOp->getParentRegion()) && in hasNoInterveningEffect() 781 if (from->getParentRegion() != untilOp->getParentRegion()) { in hasNoInterveningEffect() 914 if (writeB->getParentRegion() != writeA->getParentRegion()) in findUnusedStore()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/SCFToGPU/ |
| H A D | SCFToGPU.cpp | 413 return val.getParentRegion()->isAncestor(launchOp->getParentRegion()); in processParallelLoop()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SCF/IR/ |
| H A D | SCF.cpp | 1582 if (&op.getThenRegion() == trueVal.getParentRegion() || in matchAndRewrite() 1583 &op.getElseRegion() == falseVal.getParentRegion()) in matchAndRewrite() 1608 if (&replacement.getThenRegion() == trueVal.getParentRegion() || in matchAndRewrite() 1609 &replacement.getElseRegion() == falseVal.getParentRegion()) { in matchAndRewrite() 1664 if (op.getThenRegion().isAncestor(use.getOwner()->getParentRegion())) { in matchAndRewrite() 1674 use.getOwner()->getParentRegion())) { in matchAndRewrite() 1868 use.getOwner()->getParentRegion())) { in matchAndRewrite() 1873 use.getOwner()->getParentRegion())) { in matchAndRewrite() 2038 if (tup.value().getParentRegion() == &op.getThenRegion()) { in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Transforms/ |
| H A D | Inliner.cpp | 408 region = region->getParentRegion(); in processInlinedBlocks() 450 resolvedCall.call->getParentRegion())) in shouldInline()
|