Home
last modified time | relevance | path

Searched refs:getParentBlock (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/Dialect/Bufferization/Transforms/
H A DBufferUtils.h88 Block *dom = value.getParentBlock(); in findCommonDominator()
98 dom = doms.findNearestCommonDominator(dom, childValue.getParentBlock()); in findCommonDominator()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DFusion.cpp346 if (consumerOpOperand.get().getParentBlock() == in fuseProducerOfBuffer()
347 fusableDependence->getDependentValue().getParentBlock()) in fuseProducerOfBuffer()
437 if (consumerOpOperand.get().getParentBlock() == in fuseProducerOfTensor()
438 producerOpResult.getParentBlock()) in fuseProducerOfTensor()
H A DDetensorize.cpp302 currentItem.getParentBlock()->getTerminator())); in compute()
411 Block *block = blockArg.getParentBlock(); in compute()
/llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/
H A DBufferOptimizations.cpp149 StateT state(&dominators, allocValue, allocValue.getParentBlock()); in hoist()
157 Block *depBlock = depValue.getParentBlock(); in hoist()
342 alloc, alloc.getParentBlock(), liveness); in promote()
H A DBufferDeallocation.cpp270 Block *parentBlock = value.getParentBlock(); in introduceClones()
/llvm-project-15.0.7/mlir/lib/Transforms/Utils/
H A DRegionUtils.cpp438 assert(value.getParentBlock() == block && "expected value of this block"); in getOrderOf()
513 bool lhsIsInBlock = lhsOperand.getParentBlock() == leaderBlock; in addToCluster()
514 bool rhsIsInBlock = rhsOperand.getParentBlock() == mergeBlock; in addToCluster()
527 operand.getParentBlock()->getTerminator()) in addToCluster()
530 operand.getParentBlock()); in addToCluster()
H A DDialectConversion.cpp444 Block *insertBlock = input.getParentBlock(); in buildUnresolvedTargetMaterialization()
/llvm-project-15.0.7/mlir/lib/Dialect/Transform/Transforms/
H A DCheckUses.cpp139 : operand.get().getParentBlock()->getParentOp(); in isUseLive()
150 Block *defBlock = operand.get().getParentBlock(); in isUseLive()
/llvm-project-15.0.7/mlir/lib/Dialect/Async/Transforms/
H A DAsyncRuntimeRefCounting.cpp46 b.setInsertionPointToStart(value.getParentBlock()); in dropRefIfNoUses()
281 blockLiveness->getBlock() == value.getParentBlock()); in addDropRefAfterLastUse()
/llvm-project-15.0.7/mlir/lib/IR/
H A DValue.cpp48 Block *Value::getParentBlock() { in getParentBlock() function in Value
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/
H A DLoopCanonicalization.cpp92 auto forOp = dyn_cast<ForOp>(blockArg.getParentBlock()->getParentOp()); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Analysis/DataFlow/
H A DIntegerRangeAnalysis.cpp50 dialect = value.getParentBlock()->getParentOp()->getDialect(); in onUpdate()
/llvm-project-15.0.7/mlir/lib/Analysis/AliasAnalysis/
H A DLocalAliasAnalysis.cpp307 if (rhsArg && rhs.getParentBlock()->isEntryBlock()) in aliasImpl()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DValue.h150 Block *getParentBlock();
/llvm-project-15.0.7/flang/unittests/Optimizer/Builder/Runtime/
H A DCharacterTest.cpp86 auto allocas = res.getParentBlock()->getOps<fir::AllocaOp>(); in checkCharCompare2()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/IR/
H A DSCF.cpp2978 if (condOpArg.getParentBlock() != &beforeBlock) { in matchAndRewrite()
2999 if (condOpArg.getParentBlock() != &beforeBlock) { in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Transforms/
H A DSparsification.cpp967 ee = relinkBranch(codegen, rewriter, ee.getParentBlock(), ee, ldx); in genExp()
/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/IR/
H A DTensorOps.cpp2219 if (padValue.getParentBlock() == &getRegion().front()) in getConstantPaddingValue()