|
MLIR 22.0.0git
|
A utility result that is used to signal how to proceed with an ongoing walk: More...
#include "mlir/Support/WalkResult.h"
Public Member Functions | |
| WalkResult (ResultEnum result=Advance) | |
| WalkResult (LogicalResult result) | |
| Allow LogicalResult to interrupt the walk on failure. | |
| WalkResult (Diagnostic &&) | |
| Allow diagnostics to interrupt the walk. | |
| WalkResult (InFlightDiagnostic &&) | |
| bool | operator== (const WalkResult &rhs) const |
| bool | operator!= (const WalkResult &rhs) const |
| bool | wasInterrupted () const |
| Returns true if the walk was interrupted. | |
| bool | wasSkipped () const |
| Returns true if the walk was skipped. | |
Static Public Member Functions | |
| static WalkResult | interrupt () |
| static WalkResult | advance () |
| static WalkResult | skip () |
A utility result that is used to signal how to proceed with an ongoing walk:
Definition at line 29 of file WalkResult.h.
|
inline |
Definition at line 33 of file WalkResult.h.
Referenced by advance(), interrupt(), operator!=(), operator==(), and skip().
|
inline |
Allow LogicalResult to interrupt the walk on failure.
Definition at line 36 of file WalkResult.h.
|
inline |
Allow diagnostics to interrupt the walk.
Definition at line 40 of file WalkResult.h.
|
inline |
Definition at line 41 of file WalkResult.h.
|
inlinestatic |
Definition at line 47 of file WalkResult.h.
References WalkResult().
Referenced by mlir::detail::AttrTypeReplacerBase< Concrete >::addReplacement(), mlir::AttrTypeWalker::addWalk(), areInnerBoundsInvariant(), areInnerBoundsInvariant(), mlir::bufferization::bufferizeOp(), canBeHoisted(), checkPreBufferizationAssumptions(), checkTransformationPreconditions(), collectLocationsFromLoc(), constructIsCancellable(), mlir::OperationConverter::convertOperations(), convertTargetOpsInNest(), mlir::transform::createCheckUsesPass(), mlir::createGpuEliminateBarriers(), mlir::xegpu::doSCFStructuralTypeConversionWithTensorType(), mlir::bufferization::eliminateEmptyTensors(), emit(), findCapturedOmpOp(), mlir::LocationAttr::findInstanceOf(), findPayloadRoot(), mlir::transform::gpu::findTopLevelForallOp(), findTransformEntryPointRecursive(), mlir::bufferization::OneShotAnalysisState::gatherUndefinedTensorUses(), getBackwardSliceImpl(), getFuncOpsOrderedByCalls(), getLastDependentOpInRange(), getLocationFromLoc(), mlir::affine::getLoopNestStats(), getMemoryFootprintBytes(), getSingleOpOfType(), getSymbolUsesImpl(), handleLoopAnnotations(), haveNoReadsAfterWriteExceptSameIndex(), hoistAffineIfOp(), mlir::linalg::hoistRedundantVectorBroadcasts(), mlir::linalg::hoistRedundantVectorTransfers(), mlir::bufferization::insertTensorCopies(), interruptIfValidLocation(), isNormalizedMemRefDynamicDim(), isOpReady(), mlir::linalg::linalgOpAnchoredEmptyTensorEliminationStep(), mlir::irdl::loadDialects(), loadOperation(), mlir::transform::gpu::mapNestedForallToThreadsImpl(), AllocaScopeHoister::matchAndRewrite(), AllocaScopeInliner::matchAndRewrite(), mlir::bufferization::OneShotAnalysisState::OneShotAnalysisState(), printFunctionBody(), replaceAllSymbolUsesImpl(), replaceElementImpl(), rewriteAffineOpAfterPeeling(), mlir::StateStack::stackWalk(), symbolKnownUseEmptyImpl(), unwrap(), updateReturnOps(), vectorizeLoopNest(), verifyBlockTags(), mlir::wasmssa::detail::verifyConstantExpressionInterface(), verifyQuantifierRegions(), mlir::detail::verifySymbolTable(), mlir::Block::walk(), mlir::Block::walk(), mlir::detail::walk(), mlir::detail::walk(), mlir::detail::walk(), mlir::detail::walk(), mlir::Region::walk(), walkReferenceCountedValues(), walkSymbolTable(), walkSymbolTable(), and walkSymbolUses().
|
inlinestatic |
Definition at line 46 of file WalkResult.h.
References WalkResult().
Referenced by areInnerBoundsInvariant(), areInnerBoundsInvariant(), canBeHoisted(), checkPreBufferizationAssumptions(), checkTransformationPreconditions(), mlir::ml_program::impl::MLProgramPipelineGlobalsPassBase< DerivedT >::classof(), constructIsCancellable(), convertOmpLoopNest(), convertTargetOpsInNest(), mlir::createGpuEliminateBarriers(), emit(), findAllocaInsertPoint(), findCapturedOmpOp(), findCurrentLoopInfo(), mlir::LocationAttr::findInstanceOf(), findPayloadRoot(), mlir::transform::gpu::findTopLevelForallOp(), findTransformEntryPointRecursive(), getBackwardSliceImpl(), mlir::impl::GpuEliminateBarriersBase< DerivedT >::getDescription(), getLastDependentOpInRange(), getLocationFromLoc(), mlir::affine::getLoopNestStats(), getSingleOpOfType(), mlir::StateStack::getStackTop(), hasNestedParallelOp(), haveNoReadsAfterWriteExceptSameIndex(), hoistAffineIfOp(), mlir::linalg::hoistRedundantVectorBroadcasts(), mlir::linalg::hoistRedundantVectorTransfers(), mlir::bufferization::insertTensorCopies(), interruptIfValidLocation(), isInnermostAffineForOp(), isNormalizedMemRefDynamicDim(), isOpReady(), mlir::irdl::loadDialects(), loadOperation(), mlir::transform::gpu::mapNestedForallToThreadsImpl(), AllocaScopeInliner::matchAndRewrite(), unwrap(), updateReturnOps(), vectorizeLoopNest(), verifyBlockTags(), mlir::wasmssa::detail::verifyConstantExpressionInterface(), verifyQuantifierRegions(), mlir::Block::walk(), mlir::Block::walk(), mlir::detail::walk(), mlir::detail::walk(), mlir::detail::walk(), mlir::Region::walk(), mlir::AffineExprVisitor< SubClass, RetTy >::walkPostOrder(), walkReferenceCountedValues(), walkSymbolRefs(), and walkSymbolUses().
|
inline |
Definition at line 44 of file WalkResult.h.
References rhs, and WalkResult().
|
inline |
Definition at line 43 of file WalkResult.h.
References rhs, and WalkResult().
|
inlinestatic |
Definition at line 48 of file WalkResult.h.
References WalkResult().
Referenced by mlir::bufferization::bufferizeOp(), mlir::OperationConverter::convertOperations(), convertTargetOpsInNest(), mlir::transform::createCheckUsesPass(), mlir::xegpu::doSCFStructuralTypeConversionWithTensorType(), mlir::bufferization::eliminateEmptyTensors(), findCapturedOmpOp(), mlir::bufferization::OneShotAnalysisState::gatherUndefinedTensorUses(), getFuncOpsOrderedByCalls(), mlir::bufferization::insertTensorCopies(), mlir::linalg::linalgOpAnchoredEmptyTensorEliminationStep(), mlir::transform::gpu::mapNestedForallToThreadsImpl(), AllocaScopeHoister::matchAndRewrite(), AllocaScopeInliner::matchAndRewrite(), mlir::bufferization::OneShotAnalysisState::OneShotAnalysisState(), printFunctionBody(), remapInlinedLocations(), replaceAllSymbolUsesImpl(), mlir::StateStack::stackWalk(), unwrap(), mlir::LocationAttr::walk(), and walkSymbolRefs().
|
inline |
Returns true if the walk was interrupted.
Definition at line 51 of file WalkResult.h.
Referenced by checkPreBufferizationAssumptions(), findAllocaInsertPoint(), findPayloadRoot(), getFuncOpsOrderedByCalls(), isOpReady(), mlir::irdl::loadDialects(), mlir::transform::gpu::mapNestedForallToThreadsImpl(), replaceElementImpl(), verifyBlockTags(), mlir::wasmssa::detail::verifyConstantExpressionInterface(), and walkReferenceCountedValues().
|
inline |
Returns true if the walk was skipped.
Definition at line 54 of file WalkResult.h.
Referenced by replaceElementImpl().