| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Verifier.cpp | 84 if (op.getNumRegions() != 0) { in verifyOpAndDominance() 137 if (op.getNumRegions() != 0 && in verifyBlock() 191 if (unsigned numRegions = op.getNumRegions()) { in verifyOperation() 353 if (verifyRecursively && op.getNumRegions() != 0) { in verifyDominanceOfContainedRegions()
|
| H A D | Operation.cpp | 573 successors, getNumRegions()); in clone() 770 if (op->getNumRegions() != 0) in verifyZeroRegions() 776 if (op->getNumRegions() != 1) in verifyOneRegion() 783 if (op->getNumRegions() != numRegions) in verifyNRegions() 790 if (op->getNumRegions() < numRegions) in verifyAtLeastNRegions() 1035 if (op->getNumRegions() > 1) in verifyNoRegionArguments() 1117 if (op.getNumRegions() && in verifyIsIsolatedFromAbove()
|
| H A D | Visitors.cpp | 15 : numRegions(op->getNumRegions()), nextRegion(0) {} in WalkStage()
|
| /llvm-project-15.0.7/llvm/tools/llvm-cov/ |
| H A D | CoverageReport.cpp | 188 (unsigned)File.RegionCoverage.getNumRegions()); in render() 191 (unsigned)(File.RegionCoverage.getNumRegions() - in render() 193 if (File.RegionCoverage.getNumRegions()) in render() 272 (unsigned)Function.RegionCoverage.getNumRegions()); in render() 275 (unsigned)(Function.RegionCoverage.getNumRegions() - in render()
|
| H A D | CoverageExporterJson.cpp | 171 {{"count", int64_t(Summary.RegionCoverage.getNumRegions())}, in renderSummary() 173 {"notcovered", int64_t(Summary.RegionCoverage.getNumRegions() - in renderSummary()
|
| H A D | CoverageSummaryInfo.h | 51 size_t getNumRegions() const { return NumRegions; } in getNumRegions() function
|
| /llvm-project-15.0.7/mlir/lib/Interfaces/ |
| H A D | ParallelCombiningOpInterface.cpp | 19 if (op->getNumRegions() != 1) in verifyParallelCombiningOpInterface()
|
| H A D | ControlFlowInterfaces.cpp | 164 assert(op->getNumRegions() != 0); in verifyTypesAlongControlFlowEdges() 179 for (unsigned regionNo : llvm::seq(0U, op->getNumRegions())) { in verifyTypesAlongControlFlowEdges() 232 SmallVector<bool> visited(op->getNumRegions(), false); in isRegionReachable()
|
| /llvm-project-15.0.7/mlir/test/lib/Analysis/ |
| H A D | TestDataFlowFramework.cpp | 98 if (top->getNumRegions() != 1) in initialize() 108 if (op.getNumRegions()) in initialize()
|
| H A D | TestMatchReduction.cpp | 56 if (op->getNumRegions() != 1) in runOnOperation()
|
| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | OpPythonBindingGen.cpp | 593 op.getNumRegions() == 0; in hasInferTypeInterface() 897 op.getRegion(op.getNumRegions() - 1).isVariadic() && in populateBuilderRegions() 900 const NamedRegion ®ion = op.getRegion(op.getNumRegions() - 1); in populateBuilderRegions() 906 llvm::formatv("regions = {0} + {1}", op.getNumRegions() - 1, name)); in populateBuilderRegions() 1021 unsigned minRegionCount = op.getNumRegions() - op.getNumVariadicRegions(); in emitRegionAttributes() 1033 assert((!region.isVariadic() || en.index() == op.getNumRegions() - 1) && in emitRegionAccessors()
|
| H A D | OpDefinitionsGen.cpp | 1392 unsigned numRegions = op.getNumRegions(); in genNamedRegionGetters() 1547 if (canInferType(op) && op.getNumRegions() == 0) in genSeparateArgParamBuilder() 1581 if (int numRegions = op.getNumRegions()) { in genUseOperandAsResultTypeCollectiveParamBuilder() 1668 if (int numRegions = op.getNumRegions()) { in genInferredTypeCollectiveParamBuilder() 1886 if (int numRegions = op.getNumRegions()) { in genCollectiveParamBuilder() 2707 unsigned numRegions = op.getNumRegions(); in genTraits() 2944 unsigned numRegions = op.getNumRegions(); in OpOperandAdaptorEmitter()
|
| /llvm-project-15.0.7/mlir/lib/CAPI/Dialect/ |
| H A D | Linalg.cpp | 26 assert(op->getNumRegions() == 1 && "Expected Linalg op with 1 region"); in mlirLinalgFillBuiltinNamedOpRegion()
|
| /llvm-project-15.0.7/mlir/test/lib/IR/ |
| H A D | TestClone.cpp | 30 if (op->getNumRegions() != 1) in runOnOperation()
|
| H A D | TestPrintNesting.cpp | 46 printIndent() << " " << op->getNumRegions() << " nested regions:\n"; in printOperation()
|
| /llvm-project-15.0.7/mlir/lib/Transforms/ |
| H A D | CSE.cpp | 202 if (op->getNumRegions() != 0) in simplifyOperation() 250 if (op.getNumRegions() == 0) in simplifyBlock()
|
| /llvm-project-15.0.7/mlir/lib/Analysis/DataFlow/ |
| H A D | ConstantPropagationAnalysis.cpp | 41 if (op->getNumRegions()) in visitOperation()
|
| H A D | DeadCodeAnalysis.cpp | 183 if (op->getNumRegions() || op->getNumSuccessors() || in initializeRecursively() 233 if (op->getNumRegions()) { in visit()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/ |
| H A D | Generalization.cpp | 56 assert(linalgOp->getNumRegions() == 1 && in generalizeNamedOp()
|
| H A D | BufferizableOpInterfaceImpl.cpp | 73 assert(op->getNumRegions() == 1 && "expected that op has 1 region"); in bufferizeLinalgOp()
|
| H A D | HoistPadding.cpp | 326 if (hasMemoryEffect || op->getNumRegions() != 0) { in dropNonIndexDependencies() 473 assert(clonedForOp->getNumRegions() == 1); in hoistPaddingOnTensors()
|
| /llvm-project-15.0.7/mlir/include/mlir/Parser/ |
| H A D | Parser.h | 60 assert(op->getNumRegions() == 1 && llvm::hasSingleElement(op->getRegion(0)) && in constructContainerOpForParserIfNecessary()
|
| /llvm-project-15.0.7/mlir/lib/TableGen/ |
| H A D | Operator.cpp | 98 for (int i : llvm::seq<int>(0, getNumRegions())) in assertInvariants() 239 unsigned Operator::getNumRegions() const { return regions.size(); } in getNumRegions() function in Operator 725 if (op.getNumRegions() == 1 && op.getNumVariadicRegions() == 1) in getGetterOrSetterNames()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/ |
| H A D | ParallelLoopFusion.cpp | 154 MemoryEffectOpInterface::hasNoEffect(&op) && op.getNumRegions() == 0; in naivelyFuseParallelOps()
|
| /llvm-project-15.0.7/mlir/lib/Reducer/ |
| H A D | ReductionTreePass.cpp | 231 if (op.getNumRegions() != 0) in runOnOperation()
|