Home
last modified time | relevance | path

Searched refs:insertRegion (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/mlir/lib/Transforms/Utils/
DInliningUtils.cpp111 Region *insertRegion, bool shouldCloneInlinedRegion, in isLegalToInline() argument
116 if (!interface.isLegalToInline(&op, insertRegion, in isLegalToInline()
127 return !isLegalToInline(interface, &region, insertRegion, in isLegalToInline()
162 Region *insertRegion = insertBlock->getParent(); in inlineRegion() local
165 if (!interface.isLegalToInline(insertRegion, src, shouldCloneInlinedRegion, in inlineRegion()
167 !isLegalToInline(interface, src, insertRegion, shouldCloneInlinedRegion, in inlineRegion()
179 src->cloneInto(insertRegion, postInsertBlock->getIterator(), mapper); in inlineRegion()
181 insertRegion->getBlocks().splice(postInsertBlock->getIterator(), in inlineRegion()
DFoldUtils.cpp152 auto *insertRegion = in getOrCreateConstant() local
154 auto &entry = insertRegion->front(); in getOrCreateConstant()
158 auto &uniquedConstants = foldScopes[insertRegion]; in getOrCreateConstant()
196 auto *insertRegion = in tryToFold() local
198 auto &entry = insertRegion->front(); in tryToFold()
203 auto &uniquedConstants = foldScopes[insertRegion]; in tryToFold()