Home
last modified time | relevance | path

Searched refs:regionInterface (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/mlir/lib/Analysis/
DBufferAliasAnalysis.cpp80 op->walk([&](RegionBranchOpInterface regionInterface) { in build() argument
83 regionInterface.getSuccessorRegions(/*index=*/llvm::None, entrySuccessors); in build()
89 registerAliases(regionInterface.getSuccessorEntryOperands( in build()
95 for (Region &region : regionInterface->getRegions()) { in build()
99 regionInterface.getSuccessorRegions(region.getRegionNumber(), in build()
DNumberOfExecutions.cpp54 if (auto regionInterface = dyn_cast<RegionBranchOpInterface>(parentOp)) { in computeRegionBlockNumberOfExecutions() local
59 regionInterface.getNumRegionInvocations(operands, numRegionsInvocations); in computeRegionBlockNumberOfExecutions()
/external/llvm-project/mlir/lib/Transforms/
DBufferDeallocation.cpp281 RegionBranchOpInterface regionInterface; in introduceBlockArgCopy() local
283 !(regionInterface = dyn_cast<RegionBranchOpInterface>(parentOp))) in introduceBlockArgCopy()
287 regionInterface, argRegion->getParentOp()->getRegions(), blockArg, in introduceBlockArgCopy()
297 regionInterface.getSuccessorRegions(/*index=*/llvm::None, successorRegions); in introduceBlockArgCopy()
308 regionInterface.getSuccessorEntryOperands(argRegion->getRegionNumber()) in introduceBlockArgCopy()
323 auto regionInterface = cast<RegionBranchOpInterface>(operation); in introduceValueCopyForRegionResult() local
335 introduceCopiesForRegionSuccessors(regionInterface, operation->getRegions(), in introduceValueCopyForRegionResult()
344 RegionBranchOpInterface regionInterface, MutableArrayRef<Region> regions, in introduceCopiesForRegionSuccessors() argument
350 regionInterface.getSuccessorRegions(region.getRegionNumber(), in introduceCopiesForRegionSuccessors()
DBufferUtils.cpp124 RegionBranchOpInterface regionInterface; in isLoop() local
125 if (!(regionInterface = dyn_cast<RegionBranchOpInterface>(op))) in isLoop()
139 regionInterface.getSuccessorRegions(current->getRegionNumber(), successors); in isLoop()
148 regionInterface.getSuccessorRegions(/*index=*/llvm::None, successorRegions); in isLoop()
DSCCP.cpp613 auto regionInterface = dyn_cast<RegionBranchOpInterface>(op); in visitRegionOperation() local
614 if (!regionInterface) { in visitRegionOperation()
633 regionInterface.getSuccessorRegions(/*index=*/llvm::None, constantOperands, in visitRegionOperation()
646 return regionInterface.getSuccessorEntryOperands(*index); in visitRegionOperation()
727 auto regionInterface = dyn_cast<RegionBranchOpInterface>(parentOp); in visitTerminatorOperation() local
728 if (!regionInterface || !isBlockExecutable(parentOp->getBlock())) in visitTerminatorOperation()
733 regionInterface.getSuccessorRegions(parentRegion->getRegionNumber(), in visitTerminatorOperation()
/external/llvm-project/mlir/lib/Interfaces/
DControlFlowInterfaces.cpp89 auto regionInterface = cast<RegionBranchOpInterface>(op); in verifyTypesAlongAllEdges() local
100 regionInterface.getSuccessorRegions(sourceNo, operands, successors); in verifyTypesAlongAllEdges()
152 auto regionInterface = cast<RegionBranchOpInterface>(op); in verifyTypesAlongControlFlowEdges() local
156 return regionInterface.getSuccessorEntryOperands(regionNo.getValue()) in verifyTypesAlongControlFlowEdges()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlhlo_fuse_linalg.cc122 if (auto regionInterface = in runOnFunction() local
124 for (Region& region : regionInterface.getOperation()->getRegions()) { in runOnFunction()
127 regionInterface.getSuccessorRegions(region.getRegionNumber(), in runOnFunction()