Home
last modified time | relevance | path

Searched refs:getCallableRegion (Results 1 – 20 of 20) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Analysis/
H A DCallGraph.cpp32 Region *CallGraphNode::getCallableRegion() const { in getCallableRegion() function in CallGraphNode
84 if (auto *callableRegion = callable.getCallableRegion()) in computeCallGraph()
145 if (auto *node = lookupNode(callableOp.getCallableRegion())) in resolveCallable()
166 nodes.erase(node->getCallableRegion()); in eraseNode()
184 auto *callableRegion = node->getCallableRegion(); in print()
/llvm-project-15.0.7/mlir/lib/Transforms/
H A DInliner.cpp62 node = cg.lookupNode(callableOp.getCallableRegion()); in walkReferencedSymbolNodes()
141 if (auto *node = cg.lookupNode(callable.getCallableRegion())) { in CGUseList()
197 Operation *nodeOp = node->getCallableRegion()->getParentOp(); in isDead()
208 Operation *nodeOp = node->getCallableRegion()->getParentOp(); in hasOneUseAndDiscardable()
218 Operation *parentOp = node->getCallableRegion()->getParentOp(); in recomputeUses()
423 node->getCallableRegion()->getParentOp()->erase(); in eraseDeadCallables()
449 if (resolvedCall.targetNode->getCallableRegion()->isAncestor( in shouldInline()
520 Region *targetRegion = it.targetNode->getCallableRegion(); in inlineCallsInSCC()
722 auto *region = node->getCallableRegion(); in optimizeSCC()
759 getAnalysisManager().nest(node->getCallableRegion()->getParentOp()); in optimizeSCCAsync()
[all …]
/llvm-project-15.0.7/mlir/lib/Analysis/DataFlow/
H A DDeadCodeAnalysis.cpp127 Region *callableRegion = callable.getCallableRegion(); in initializeSymbolCallables()
290 return !callable.getCallableRegion(); in visitCallOperation()
H A DDenseAnalysis.cpp102 if (callable && callable.getCallableRegion() == block->getParent()) { in visitBlock()
H A DSparseAnalysis.cpp164 if (callable && callable.getCallableRegion() == block->getParent()) { in visitBlock()
/llvm-project-15.0.7/mlir/include/mlir/Analysis/
H A DCallGraph.h96 Region *getCallableRegion() const;
/llvm-project-15.0.7/mlir/include/mlir/Interfaces/
H A DCallInterfaces.td79 "::mlir::Region *", "getCallableRegion"
/llvm-project-15.0.7/mlir/include/mlir/Dialect/MLProgram/IR/
H A DMLProgramOps.td66 ::mlir::Region *getCallableRegion() {
415 ::mlir::Region *getCallableRegion() { return isExternal() ? nullptr : &getBody(); }
/llvm-project-15.0.7/mlir/examples/toy/Ch6/mlir/
H A DDialect.cpp301 mlir::Region *FuncOp::getCallableRegion() { return &getBody(); } in getCallableRegion() function in FuncOp
/llvm-project-15.0.7/mlir/examples/toy/Ch4/mlir/
H A DDialect.cpp301 mlir::Region *FuncOp::getCallableRegion() { return &getBody(); } in getCallableRegion() function in FuncOp
/llvm-project-15.0.7/mlir/examples/toy/Ch5/mlir/
H A DDialect.cpp301 mlir::Region *FuncOp::getCallableRegion() { return &getBody(); } in getCallableRegion() function in FuncOp
/llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/
H A DDialect.cpp328 mlir::Region *FuncOp::getCallableRegion() { return &getBody(); } in getCallableRegion() function in FuncOp
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Func/IR/
H A DFuncOps.td295 ::mlir::Region *getCallableRegion() { return isExternal() ? nullptr : &getBody(); }
/llvm-project-15.0.7/mlir/docs/Tutorials/Toy/
H A DCh-4.md166 Region *FuncOp::getCallableRegion() { return &getBody(); }
/llvm-project-15.0.7/mlir/docs/
H A DInterfaces.md653 - `Region * getCallableRegion()`
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Shape/IR/
H A DShapeOps.td1069 ::mlir::Region *getCallableRegion() { return isExternal() ? nullptr : &getBody(); }
/llvm-project-15.0.7/mlir/include/mlir/Dialect/LLVMIR/
H A DLLVMOps.td1402 Region *getCallableRegion() { return &getBody(); }
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVOps.cpp2317 Region *spirv::FuncOp::getCallableRegion() { in getCallableRegion() function in spirv::FuncOp
/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestOps.td474 ::mlir::Region *getCallableRegion() { return &getBody(); }
/llvm-project-15.0.7/flang/lib/Lower/
H A DBridge.cpp2880 if (mlir::Region *region = func.getCallableRegion()) in createGlobalOutsideOfFunctionLowering()