|
LogicalResult | mlir::transform::detail::mapPossibleTopLevelTransformOpBlockArguments (TransformState &state, Operation *op, Region ®ion) |
| Maps the only block argument of the op with PossibleTopLevelTransformOpTrait to either the list of operations associated with its operand or the root of the payload IR, depending on what is available in the context. More...
|
|
LogicalResult | mlir::transform::detail::verifyPossibleTopLevelTransformOpTrait (Operation *op) |
| Verification hook for PossibleTopLevelTransformOpTrait. More...
|
|
void | mlir::transform::detail::getPotentialTopLevelEffects (Operation *operation, Value root, Block &body, SmallVectorImpl< MemoryEffects::EffectInstance > &effects) |
| Populates effects with side effects implied by PossibleTopLevelTransformOpTrait for the given operation. More...
|
|
LogicalResult | mlir::transform::detail::verifyTransformOpInterface (Operation *op) |
| Verification hook for TransformOpInterface. More...
|
|
LogicalResult | mlir::transform::detail::appendValueMappings (MutableArrayRef< SmallVector< transform::MappedValue >> mappings, ValueRange values, const transform::TransformState &state, bool flatten=true) |
| Appends the entities associated with the given transform values in state to the pre-existing list of mappings. More...
|
|
void | mlir::transform::detail::prepareValueMappings (SmallVectorImpl< SmallVector< transform::MappedValue >> &mappings, ValueRange values, const transform::TransformState &state) |
| Populates mappings with mapped values associated with the given transform IR values in the given state . More...
|
|
void | mlir::transform::detail::forwardTerminatorOperands (Block *block, transform::TransformState &state, transform::TransformResults &results) |
| Populates results with payload associations that match exactly those of the operands to block 's terminator. More...
|
|
TransformState | mlir::transform::detail::makeTransformStateForTesting (Region *region, Operation *payloadRoot) |
| Make a dummy transform state for testing purposes. More...
|
|
SmallVector< OpOperand * > | mlir::transform::detail::getConsumedHandleOpOperands (transform::TransformOpInterface transformOp) |
| Returns all operands that are handles and being consumed by the given op. More...
|
|
LogicalResult | mlir::transform::applyTransforms (Operation *payloadRoot, TransformOpInterface transform, const RaggedArray< MappedValue > &extraMapping={}, const TransformOptions &options=TransformOptions(), bool enforceToplevelTransformOp=true, function_ref< void(TransformState &)> stateInitializer=nullptr, function_ref< LogicalResult(TransformState &)> stateExporter=nullptr) |
| Entry point to the Transform dialect infrastructure. More...
|
|
void | mlir::transform::consumesHandle (MutableArrayRef< OpOperand > handles, SmallVectorImpl< MemoryEffects::EffectInstance > &effects) |
| Populates effects with the memory effects indicating the operation on the given handle value: More...
|
|
void | mlir::transform::producesHandle (ResultRange handles, SmallVectorImpl< MemoryEffects::EffectInstance > &effects) |
|
void | mlir::transform::producesHandle (MutableArrayRef< BlockArgument > handles, SmallVectorImpl< MemoryEffects::EffectInstance > &effects) |
|
void | mlir::transform::onlyReadsHandle (MutableArrayRef< OpOperand > handles, SmallVectorImpl< MemoryEffects::EffectInstance > &effects) |
|
bool | mlir::transform::isHandleConsumed (Value handle, transform::TransformOpInterface transform) |
| Checks whether the transform op consumes the given handle. More...
|
|
void | mlir::transform::modifiesPayload (SmallVectorImpl< MemoryEffects::EffectInstance > &effects) |
| Populates effects with the memory effects indicating the access to payload IR resource. More...
|
|
void | mlir::transform::onlyReadsPayload (SmallVectorImpl< MemoryEffects::EffectInstance > &effects) |
|
bool | mlir::transform::doesModifyPayload (transform::TransformOpInterface transform) |
| Checks whether the transform op modifies the payload. More...
|
|
bool | mlir::transform::doesReadPayload (transform::TransformOpInterface transform) |
| Checks whether the transform op reads the payload. More...
|
|
void | mlir::transform::getConsumedBlockArguments (Block &block, llvm::SmallDenseSet< unsigned > &consumedArguments) |
| Populates consumedArguments with positions of block arguments that are consumed by the operations in the block . More...
|
|
void | mlir::transform::detail::getParamProducerTransformOpTraitEffects (Operation *op, SmallVectorImpl< MemoryEffects::EffectInstance > &effects) |
| Non-template implementation of ParamProducerTransformOpTrait::getEffects(). More...
|
|
LogicalResult | mlir::transform::detail::verifyParamProducerTransformOpTrait (Operation *op) |
| Non-template implementation of ParamProducerTransformOpTrait::verify(). More...
|
|
LogicalResult | mlir::transform::detail::checkApplyToOne (Operation *transformOp, Location payloadOpLoc, const ApplyToEachResultList &partialResult) |
| Check that the contents of partialResult matches the number, kind (payload op or parameter) and nullity (either all or none) requirements of transformOp . More...
|
|
void | mlir::transform::detail::setApplyToOneResults (Operation *transformOp, TransformResults &transformResults, ArrayRef< ApplyToEachResultList > results) |
| "Transpose" the results produced by individual applications, arranging them per result value of the transform op, and populate transformResults with that. More...
|
|
template<typename TransformOpTy , typename Range > |
DiagnosedSilenceableFailure | mlir::transform::detail::applyTransformToEach (TransformOpTy transformOp, TransformRewriter &rewriter, Range &&targets, SmallVectorImpl< ApplyToEachResultList > &results, TransformState &state) |
| Applies a one-to-one or a one-to-many transform to each of the given targets. More...
|
|
LogicalResult | mlir::transform::detail::checkNestedConsumption (Location loc, ArrayRef< Operation * > targets) |
| Reports an error and returns failure if targets contains an ancestor operation before its descendant (or a copy of itself). More...
|
|