Home
last modified time | relevance | path

Searched refs:currOp (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/mlir/test/lib/Transforms/
DTestLoopUnrolling.cpp24 Operation *currOp = op; in getNestingDepth() local
26 while ((currOp = currOp->getParentOp())) { in getNestingDepth()
27 if (isa<scf::ForOp>(currOp)) in getNestingDepth()
/external/llvm-project/mlir/lib/IR/
DBlock.cpp76 auto *currOp = &op; in findAncestorOpInBlock() local
77 while (currOp->getBlock() != this) { in findAncestorOpInBlock()
78 currOp = currOp->getParentOp(); in findAncestorOpInBlock()
79 if (!currOp) in findAncestorOpInBlock()
82 return currOp; in findAncestorOpInBlock()
/external/llvm-project/mlir/lib/Analysis/
DUtils.cpp34 auto *currOp = op.getParentOp(); in getLoopIVs() local
38 while (currOp && ((currAffineForOp = dyn_cast<AffineForOp>(currOp)) || in getLoopIVs()
39 isa<AffineIfOp>(currOp))) { in getLoopIVs()
42 currOp = currOp->getParentOp(); in getLoopIVs()
53 Operation *currOp = op.getParentOp(); in getEnclosingAffineForAndIfOps() local
57 while (currOp && (isa<AffineIfOp, AffineForOp>(currOp))) { in getEnclosingAffineForAndIfOps()
58 ops->push_back(currOp); in getEnclosingAffineForAndIfOps()
59 currOp = currOp->getParentOp(); in getEnclosingAffineForAndIfOps()
945 Operation *currOp = op; in getNestingDepth() local
947 while ((currOp = currOp->getParentOp())) { in getNestingDepth()
[all …]
/external/llvm-project/mlir/lib/Dialect/OpenACC/IR/
DOpenACC.cpp720 Operation *currOp = initOp; in verify() local
721 while ((currOp = currOp->getParentOp())) { in verify()
722 if (isComputeOperation(currOp)) in verify()
733 Operation *currOp = op; in verify() local
734 while ((currOp = currOp->getParentOp())) { in verify()
735 if (isComputeOperation(currOp)) in verify()