/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/ |
D | Hoisting.cpp | 46 auto loop = dyn_cast<scf::ForOp>(op->getParentOp()); in hoistViewAllocOps() 47 LLVM_DEBUG(DBGS() << "Parent op: " << *op->getParentOp() << "\n"); in hoistViewAllocOps() 92 auto loop = dyn_cast<scf::ForOp>(transferRead->getParentOp()); in hoistRedundantVectorTransfers() 93 LLVM_DEBUG(DBGS() << "Parent op: " << *transferRead->getParentOp() in hoistRedundantVectorTransfers()
|
/external/llvm-project/mlir/lib/Dialect/Affine/Utils/ |
D | Utils.cpp | 48 while (!isa<FuncOp>(res->getParentOp())) { in getOutermostInvariantForOp() 49 auto *parentOp = res->getParentOp(); in getOutermostInvariantForOp() 149 if (forOp->getParentOp() && in affineParallelize() 150 !forOp->getParentOp()->hasTrait<OpTrait::AffineScope>()) in affineParallelize()
|
/external/llvm-project/mlir/lib/Dialect/Affine/Transforms/ |
D | AffineParallelize.cpp | 51 for (Operation *op = loop->getParentOp(); in runOnFunction() 53 op = op->getParentOp()) { in runOnFunction()
|
/external/llvm-project/mlir/lib/Analysis/ |
D | NumberOfExecutions.cpp | 34 Operation *parentOp = region.getParentOp(); in computeRegionBlockNumberOfExecutions() 163 Operation *parentOp = block->getParentOp(); in getNumberOfExecutions() 165 while (parentOp != perEntryOfThisRegion->getParentOp()) { in getNumberOfExecutions() 182 parentOp = parentOp->getParentOp(); in getNumberOfExecutions()
|
D | CallGraph.cpp | 109 assert(region && isa<CallableOpInterface>(region->getParentOp()) && in getOrAddNode() 185 auto *parentOp = callableRegion->getParentOp(); in print() 186 os << "'" << callableRegion->getParentOp()->getName() << "' - Region #" in print()
|
/external/llvm-project/mlir/lib/IR/ |
D | SymbolTable.cpp | 53 Operation *symbolTableOp = symbol->getParentOp(); in collectValidReferencesFor() 72 symbolTableOp = symbolTableOp->getParentOp(); in collectValidReferencesFor() 143 assert(symbol->getParentOp() == symbolTableOp && in erase() 161 assert(insertPt->getParentOp() == symbolTableOp && in insert() 237 from = from->getParentOp(); in getNearestSymbolTable() 592 if (SymbolTable::getNearestSymbolTable(limit->getParentOp()) == in collectSymbolScopes() 593 symbol->getParentOp()) in collectSymbolScopes() 599 } while ((limitAncestor = limitAncestor->getParentOp())); in collectSymbolScopes() 602 Operation *commonAncestor = symbol->getParentOp(); in collectSymbolScopes() 606 } while ((commonAncestor = commonAncestor->getParentOp())); in collectSymbolScopes() [all …]
|
D | Dominance.cpp | 85 Operation *ancestor = region->getParentOp(); in traverseAncestors() 225 Operation *ancestor = aRegion->getParentOp(); in properlyDominates() 260 Operation *ancestor = aRegion->getParentOp(); in properlyDominates() 292 Operation *ancestor = aRegion->getParentOp(); in properlyPostDominates()
|
D | Region.cpp | 51 Operation *Region::getParentOp() { return container; } in getParentOp() function in Region 68 return this - &getParentOp()->getRegions()[0]; in getRegionNumber() 127 Operation *parentOp = currBlock->getParentOp(); in findAncestorBlockInRegion()
|
D | Block.cpp | 41 Operation *Block::getParentOp() { in getParentOp() function in Block 42 return getParent() ? getParent()->getParentOp() : nullptr; in getParentOp() 78 currOp = currOp->getParentOp(); in findAncestorOpInBlock()
|
/external/llvm-project/mlir/lib/Transforms/ |
D | Inliner.cpp | 43 Operation *symbolTableOp = op->getParentOp(); in walkReferencedSymbolNodes() 191 Operation *nodeOp = node->getCallableRegion()->getParentOp(); in isDead() 202 Operation *nodeOp = node->getCallableRegion()->getParentOp(); in hasOneUseAndDiscardable() 212 Operation *parentOp = node->getCallableRegion()->getParentOp(); in recomputeUses() 390 node->getCallableRegion()->getParentOp()->erase(); in eraseDeadCallables() 472 inliner, call, cast<CallableOpInterface>(targetRegion->getParentOp()), in inlineCallsInSCC() 526 if (!region->getParentOp()->isKnownIsolatedFromAbove()) in canonicalizeSCC()
|
D | SymbolDCE.cpp | 48 if (symbolTableOp->getParentOp() && symbol) in runOnOperation() 128 op->getParentOp(), use.getSymbolRef(), resolvedSymbols))) { in computeLiveness()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | executor_island_coarsening.cc | 69 Operation* graph_op = island->getParentOp(); in GetOperandCandidateToMergeWith() 75 DCHECK_EQ(def->getParentOp(), graph_op); in GetOperandCandidateToMergeWith() 83 if (!def || def->getParentOp() != graph_op) continue; in GetOperandCandidateToMergeWith() 98 Operation* graph_op = island->getParentOp(); in GetResultCandidateToMergeWith() 103 DCHECK_EQ(user->getParentOp(), graph_op); in GetResultCandidateToMergeWith()
|
D | tpu_merge_variables_with_execute.cc | 141 execute_launch->getParentOp()); in BuildVariableAccessInfo() 565 execute_launch->getParentOp())) in MergeForOneTPUExecute() 589 llvm::dyn_cast<tf_device::ParallelExecuteOp>(op->getParentOp()); in ParentParallelExecuteWrapsSingleOp() 610 llvm::isa<tf_device::ReplicateOp>(execute_launch->getParentOp()) || in runOnFunction() 612 execute_launch->getParentOp()) && in runOnFunction() 614 execute_launch->getParentOp()->getParentOp())); in runOnFunction()
|
D | tpu_dynamic_layout_pass.cc | 248 if (maybe_replicate != block_arg.getParentRegion()->getParentOp() || in HandleCompileAndExecutes() 286 llvm::dyn_cast<tf_device::LaunchOp>(compile->getParentOp()); in runOnFunction() 297 llvm::dyn_cast<tf_device::LaunchOp>(execute->getParentOp()); in runOnFunction()
|
D | mark_ops_for_outside_compilation.cc | 216 Operation* parent = op->getParentOp(); in HasOutsideCompiledAncestor() 220 parent = parent->getParentOp(); in HasOutsideCompiledAncestor() 310 while (auto* parent_op = iter_op->getParentOp()) { in UnmarkChildren()
|
D | tpu_space_to_depth_pass.cc | 140 HandleFuncOp(block_arg.getOwner()->getParentOp()); in HandleCast() 483 llvm::dyn_cast<tf_device::ReplicateOp>(cluster_func->getParentOp()); in HandleCluster() 491 if (maybe_replicate == block_arg.getParentRegion()->getParentOp()) { in HandleCluster() 597 HandleFuncOp(block_arg.getOwner()->getParentOp()); in HandleFirstConvolution() 606 HandleFuncOp(block_arg.getOwner()->getParentOp()); in HandleFirstConvolution()
|
D | tpu_device_propagation.cc | 90 if (llvm::isa<tf_executor::IslandOp>(op_to_update->getParentOp())) in PopulateDeviceForOpResults() 91 op_to_update = op_to_update->getParentOp(); in PopulateDeviceForOpResults()
|
/external/llvm-project/mlir/test/lib/Transforms/ |
D | TestDynamicPipeline.cpp | 65 if (getOperation()->getParentOp()) in runOnOperation() 66 if (!failed(runPipeline(*pm, getOperation()->getParentOp()))) in runOnOperation()
|
D | TestLoopUnrolling.cpp | 26 while ((currOp = currOp->getParentOp())) { in getNestingDepth()
|
D | TestAffineLoopParametricTiling.cpp | 36 if (FuncOp funcOp = dyn_cast<FuncOp>(topLoop->getParentOp())) in checkIfTilingParametersExist()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/ |
D | breakup-islands.cc | 196 if (!defining_op || defining_op->getParentOp() != island) continue; in FindSourcesAndSinksInIsland() 233 } else if (fetch.getDefiningOp()->getParentOp() == island_op) { in BreakUpIsland() 307 llvm::dyn_cast<tf_executor::IslandOp>(owner->getParentOp())) { in BreakUpIsland()
|
/external/llvm-project/mlir/test/lib/Dialect/Shape/ |
D | TestShapeFunctions.cpp | 60 if (isa<shape::FunctionLibraryOp>(func->getParentOp())) in runOnOperation()
|
/external/llvm-project/mlir/lib/Dialect/SPIRV/ |
D | TargetAndABI.cpp | 133 op = op->getParentOp(); in lookupEntryPointABI() 185 op = op->getParentOp(); in lookupTargetEnv()
|
/external/llvm-project/mlir/lib/Dialect/PDL/IR/ |
D | PDL.cpp | 68 if (!isa<PatternOp>(op->getParentOp())) in verifyHasBindingUseInMatcher() 100 if (!attrValue && isa<RewriteOp>(op->getParentOp())) in verify() 276 bool isWithinRewrite = isa<RewriteOp>(op->getParentOp()); in verify()
|
/external/llvm-project/mlir/lib/Dialect/Tosa/IR/ |
D | TosaOps.cpp | 52 return (isa<tosa::IfOp>(dest->getParentOp()) || in isLegalToInline() 53 isa<tosa::WhileOp>(dest->getParentOp())); in isLegalToInline()
|