Module transform

Module transform 

Source
Expand description

transform dialect.

Structs§

AlternativesOperation
An alternatives operation. Attempts sequences of transforms until one succeeds.
AlternativesOperationBuilder
A builder for an alternatives operation.
AnnotateOperation
An annotate operation. Annotates the target operation with an attribute by name.
AnnotateOperationBuilder
A builder for an annotate operation.
ApplyCanonicalizationPatternsOperation
An apply_patterns.canonicalization operation. Populates canonicalization patterns.
ApplyCanonicalizationPatternsOperationBuilder
A builder for an apply_patterns.canonicalization operation.
ApplyCommonSubexpressionEliminationOperation
An apply_cse operation. Eliminate common subexpressions in the body of the target op.
ApplyCommonSubexpressionEliminationOperationBuilder
A builder for an apply_cse operation.
ApplyConversionPatternsOperation
An apply_conversion_patterns operation. Applies conversion patterns to the body of the targeted op.
ApplyConversionPatternsOperationBuilder
A builder for an apply_conversion_patterns operation.
ApplyDeadCodeEliminationOperation
An apply_dce operation. Eliminate dead operations in the body of the target op.
ApplyDeadCodeEliminationOperationBuilder
A builder for an apply_dce operation.
ApplyLoopInvariantCodeMotionOperation
An apply_licm operation. Move loop-invariant code out of a loop-like op.
ApplyLoopInvariantCodeMotionOperationBuilder
A builder for an apply_licm operation.
ApplyPatternsOperation
An apply_patterns operation. Greedily applies patterns to the body of the targeted op.
ApplyPatternsOperationBuilder
A builder for an apply_patterns operation.
ApplyRegisteredPassOperation
An apply_registered_pass operation. Applies the specified registered pass or pass pipeline.
ApplyRegisteredPassOperationBuilder
A builder for an apply_registered_pass operation.
ApplyToLLVMConversionPatternsOperation
An apply_conversion_patterns.dialect_to_llvm operation.
ApplyToLLVMConversionPatternsOperationBuilder
A builder for an apply_conversion_patterns.dialect_to_llvm operation.
CastOperation
A cast operation.
CastOperationBuilder
A builder for a cast operation.
CollectMatchingOperation
A collect_matching operation. Collects all payload ops that match the given named matcher.
CollectMatchingOperationBuilder
A builder for a collect_matching operation.
ForeachMatchOperation
A foreach_match operation. Applies named sequences when a named matcher succeeds.
ForeachMatchOperationBuilder
A builder for a foreach_match operation.
ForeachOperation
A foreach operation. Executes the body for each element of the payload.
ForeachOperationBuilder
A builder for a foreach operation.
GetConsumersOfResultOperation
A get_consumers_of_result operation. Get handle to the consumers of this operation’s result number.
GetConsumersOfResultOperationBuilder
A builder for a get_consumers_of_result operation.
GetDefiningOperation
A get_defining_op operation. Get handle to the defining op of a value.
GetDefiningOperationBuilder
A builder for a get_defining_op operation.
GetOperandOperation
A get_operand operation. Get a handle to the operand(s) of the targeted op.
GetOperandOperationBuilder
A builder for a get_operand operation.
GetParentOperation
A get_parent_op operation. Gets handles to the closest parent ops.
GetParentOperationBuilder
A builder for a get_parent_op operation.
GetProducerOfOperandOperation
A get_producer_of_operand operation. Get handle to the producer of this operation’s operand number.
GetProducerOfOperandOperationBuilder
A builder for a get_producer_of_operand operation.
GetResultOperation
A get_result operation. Get a handle to the result(s) of the targeted op.
GetResultOperationBuilder
A builder for a get_result operation.
GetTypeOperation
A get_type operation. Get a parameter containing the type of the given value.
GetTypeOperationBuilder
A builder for a get_type operation.
IncludeOperation
An include operation. Includes a named transform sequence.
IncludeOperationBuilder
A builder for an include operation.
MatchOperationEmptyOperation
A match.operation_empty operation. Matches if the handle is not associated to any op.
MatchOperationEmptyOperationBuilder
A builder for a match.operation_empty operation.
MatchOperationNameOperation
A match.operation_name operation. Matches a single operation of one of the given kinds.
MatchOperationNameOperationBuilder
A builder for a match.operation_name operation.
MatchParamCmpIOperation
A match.param.cmpi operation. Matches if two parameter lists are associated with the same value.
MatchParamCmpIOperationBuilder
A builder for a match.param.cmpi operation.
MergeHandlesOperation
A merge_handles operation. Merges handles into one pointing to the union of payload ops.
MergeHandlesOperationBuilder
A builder for a merge_handles operation.
NamedSequenceOperation
A named_sequence operation. Named transform sequence that can be included elsewhere.
NamedSequenceOperationBuilder
A builder for a named_sequence operation.
NumAssociationsOperation
A num_associations operation. Returns the number of payload objects associated with the argument.
NumAssociationsOperationBuilder
A builder for a num_associations operation.
ParamConstantOperation
A param.constant operation. Produces a new transform dialect parameter value associated with the given attribute.
ParamConstantOperationBuilder
A builder for a param.constant operation.
PrintOperation
A print operation. Dump each payload op.
PrintOperationBuilder
A builder for a print operation.
ReplicateOperation
A replicate operation. Lists payload ops multiple times in the new handle.
ReplicateOperationBuilder
A builder for a replicate operation.
SelectOperation
A select operation. Select payload ops by name.
SelectOperationBuilder
A builder for a select operation.
SequenceOperation
A sequence operation. Contains a sequence of other transform ops to apply.
SequenceOperationBuilder
A builder for a sequence operation.
SplitHandleOperation
A split_handle operation. Splits a handle or parameter into multiple values.
SplitHandleOperationBuilder
A builder for a split_handle operation.
VerifyOperation
A verify operation. Verifies the targeted ops.
VerifyOperationBuilder
A builder for a verify operation.
YieldOperation
A yield operation. Yields operation handles from a transform IR region.
YieldOperationBuilder
A builder for a yield operation.

Enums§

TransformDialectOperation

Functions§

alternatives
Creates an alternatives operation.
annotate
Creates an annotate operation.
apply_conversion_patterns
Creates an apply_conversion_patterns operation.
apply_conversion_patterns_dialect_to_llvm
Creates an apply_conversion_patterns.dialect_to_llvm operation.
apply_cse
Creates an apply_cse operation.
apply_dce
Creates an apply_dce operation.
apply_licm
Creates an apply_licm operation.
apply_patterns
Creates an apply_patterns operation.
apply_patterns_canonicalization
Creates an apply_patterns.canonicalization operation.
apply_registered_pass
Creates an apply_registered_pass operation.
cast
Creates a cast operation.
collect_matching
Creates a collect_matching operation.
foreach
Creates a foreach operation.
foreach_match
Creates a foreach_match operation.
get_consumers_of_result
Creates a get_consumers_of_result operation.
get_defining_op
Creates a get_defining_op operation.
get_operand
Creates a get_operand operation.
get_parent_op
Creates a get_parent_op operation.
get_producer_of_operand
Creates a get_producer_of_operand operation.
get_result
Creates a get_result operation.
get_type
Creates a get_type operation.
include
Creates an include operation.
match_operation_empty
Creates a match.operation_empty operation.
match_operation_name
Creates a match.operation_name operation.
match_param_cmpi
Creates a match.param.cmpi operation.
merge_handles
Creates a merge_handles operation.
named_sequence
Creates a named_sequence operation.
num_associations
Creates a num_associations operation.
param_constant
Creates a param.constant operation.
print
Creates a print operation.
replicate
Creates a replicate operation.
select
Creates a select operation.
sequence
Creates a sequence operation.
split_handle
Creates a split_handle operation.
verify
Creates a verify operation.
yield
Creates a yield operation.