Home
last modified time | relevance | path

Searched refs:ConversionPattern (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestPatterns.cpp390 : ConversionPattern("test.region", 1, ctx) {} in TestRegionRewriteBlockMovement()
478 struct TestUndoBlockArgReplace : public ConversionPattern {
495 struct TestUndoBlockErase : public ConversionPattern {
540 : ConversionPattern("test.invalid", 1, ctx) {} in TestPassthroughInvalidOp()
550 struct TestSplitReturnType : public ConversionPattern {
552 : ConversionPattern("test.return", 1, ctx) {} in TestSplitReturnType()
578 : ConversionPattern("test.type_producer", 1, ctx) {} in TestChangeProducerTypeI32ToF32()
591 : ConversionPattern("test.type_producer", 1, ctx) {} in TestChangeProducerTypeF32ToF64()
614 struct TestUpdateConsumerType : public ConversionPattern {
616 : ConversionPattern("test.type_consumer", 1, ctx) {} in TestUpdateConsumerType()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Transforms/
H A DDialectConversion.h339 class ConversionPattern : public RewritePattern {
383 ConversionPattern(TypeConverter &typeConverter, Args &&...args) in ConversionPattern() function
399 class OpConversionPattern : public ConversionPattern {
404 : ConversionPattern(SourceOp::getOperationName(), benefit, context) {} in ConversionPattern() function
407 : ConversionPattern(typeConverter, SourceOp::getOperationName(), benefit, in ConversionPattern() function
447 using ConversionPattern::matchAndRewrite;
454 class OpInterfaceConversionPattern : public ConversionPattern {
457 : ConversionPattern(Pattern::MatchInterfaceOpTypeTag(), in ConversionPattern() function
461 : ConversionPattern(typeConverter, Pattern::MatchInterfaceOpTypeTag(), in ConversionPattern() function
492 using ConversionPattern::matchAndRewrite;
/llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/
H A DLowerToAffineLoops.cpp99 struct BinaryOpLowering : public ConversionPattern {
101 : ConversionPattern(BinaryOp::getOperationName(), 1, ctx) {} in BinaryOpLowering()
275 struct TransposeOpLowering : public ConversionPattern {
277 : ConversionPattern(toy::TransposeOp::getOperationName(), 1, ctx) {} in TransposeOpLowering()
H A DLowerToLLVM.cpp56 class PrintOpLowering : public ConversionPattern {
59 : ConversionPattern(toy::PrintOp::getOperationName(), 1, context) {} in PrintOpLowering()
/llvm-project-15.0.7/mlir/examples/toy/Ch6/mlir/
H A DLowerToAffineLoops.cpp99 struct BinaryOpLowering : public ConversionPattern {
101 : ConversionPattern(BinaryOp::getOperationName(), 1, ctx) {} in BinaryOpLowering()
275 struct TransposeOpLowering : public ConversionPattern {
277 : ConversionPattern(toy::TransposeOp::getOperationName(), 1, ctx) {} in TransposeOpLowering()
H A DLowerToLLVM.cpp56 class PrintOpLowering : public ConversionPattern {
59 : ConversionPattern(toy::PrintOp::getOperationName(), 1, context) {} in PrintOpLowering()
/llvm-project-15.0.7/mlir/examples/toy/Ch5/mlir/
H A DLowerToAffineLoops.cpp99 struct BinaryOpLowering : public ConversionPattern {
101 : ConversionPattern(BinaryOp::getOperationName(), 1, ctx) {} in BinaryOpLowering()
275 struct TransposeOpLowering : public ConversionPattern {
277 : ConversionPattern(toy::TransposeOp::getOperationName(), 1, ctx) {} in TransposeOpLowering()
/llvm-project-15.0.7/mlir/lib/Conversion/LLVMCommon/
H A DPattern.cpp26 : ConversionPattern(typeConverter, rootOpName, benefit, context) {} in ConvertToLLVMPattern()
30 ConversionPattern::getTypeConverter()); in getTypeConverter()
/llvm-project-15.0.7/mlir/include/mlir/Conversion/LLVMCommon/
H A DPattern.h34 class ConvertToLLVMPattern : public ConversionPattern {
/llvm-project-15.0.7/mlir/docs/Tutorials/Toy/
H A DCh-5.md98 specific to the conversion framework `ConversionPattern`. `ConversionPatterns`
110 struct TransposeOpLowering : public mlir::ConversionPattern {
112 : mlir::ConversionPattern(TransposeOp::getOperationName(), 1, ctx) {}
/llvm-project-15.0.7/mlir/docs/
H A DDialectConversion.md173 `ConversionPattern`. For example, the conversion process does not necessarily
192 struct MyConversionPattern : public ConversionPattern {
H A DBufferization.md443 `ConversionPattern`'s that dialect authors write for converting ops that operate
555 `ConversionPattern`s with a `tensor` to `memref` type conversion.
/llvm-project-15.0.7/mlir/lib/Transforms/Utils/
H A DDialectConversion.cpp1689 ConversionPattern::matchAndRewrite(Operation *op, in matchAndRewrite()
3067 struct FunctionOpInterfaceSignatureConversion : public ConversionPattern {
3071 : ConversionPattern(converter, functionLikeOpName, /*benefit=*/1, ctx) {} in FunctionOpInterfaceSignatureConversion()