Home
last modified time | relevance | path

Searched refs:areCastCompatible (Results 1 – 22 of 22) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/Interfaces/
H A DCastInterfaces.td34 "bool", "areCastCompatible",
47 return impl::verifyCastInterfaceOp($_op, ConcreteOp::areCastCompatible);
/llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/
H A DArithmeticOps.cpp891 bool arith::ExtUIOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() function in arith::ExtUIOp
920 bool arith::ExtSIOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() function in arith::ExtSIOp
937 bool arith::ExtFOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() function in arith::ExtFOp
975 bool arith::TruncIOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() function in arith::TruncIOp
1008 bool arith::TruncFOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() function in arith::TruncFOp
1053 bool arith::UIToFPOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() function in arith::UIToFPOp
1079 bool arith::SIToFPOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() function in arith::SIToFPOp
1104 bool arith::FPToUIOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() function in arith::FPToUIOp
1130 bool arith::FPToSIOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() function in arith::FPToSIOp
1156 bool arith::IndexCastOp::areCastCompatible(TypeRange inputs, in areCastCompatible() function in arith::IndexCastOp
[all …]
/llvm-project-15.0.7/mlir/lib/Conversion/BufferizationToMemRef/
H A DBufferizationToMemRef.cpp49 if (!memref::CastOp::areCastCompatible({allocType}, {memrefType})) in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/IR/
H A DBuiltinDialect.cpp170 bool UnrealizedConversionCastOp::areCastCompatible(TypeRange inputs, in areCastCompatible() function in UnrealizedConversionCastOp
H A DOperation.cpp1158 Operation *op, function_ref<bool(TypeRange, TypeRange)> areCastCompatible) { in verifyCastInterfaceOp() argument
1165 if (!areCastCompatible(operandTypes, resultTypes)) { in verifyCastInterfaceOp()
/llvm-project-15.0.7/mlir/lib/Dialect/EmitC/IR/
H A DEmitC.cpp69 bool CastOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() function in CastOp
/llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/IR/
H A DBufferizationOps.cpp63 if (memref::CastOp::areCastCompatible(srcType, destType) && in castOrReallocMemRefValue()
125 assert(memref::CastOp::areCastCompatible(srcType, destType) && in foldToMemrefToTensorPair()
/llvm-project-15.0.7/mlir/examples/toy/Ch6/mlir/
H A DDialect.cpp255 bool CastOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() function in CastOp
/llvm-project-15.0.7/mlir/examples/toy/Ch4/mlir/
H A DDialect.cpp255 bool CastOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() function in CastOp
/llvm-project-15.0.7/mlir/examples/toy/Ch5/mlir/
H A DDialect.cpp255 bool CastOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() function in CastOp
/llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/
H A DDialect.cpp282 bool CastOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() function in CastOp
/llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/
H A DFuncBufferizableOpInterfaceImpl.cpp325 memref::CastOp::areCastCompatible(buffer.getType(), memRefType) && in bufferize()
/llvm-project-15.0.7/mlir/docs/Tutorials/Toy/
H A DCh-4.md246 providing a definition for the `areCastCompatible` method:
252 bool CastOp::areCastCompatible(TypeRange inputs, TypeRange outputs) {
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorTransferSplitRewritePatterns.cpp156 if (memref::CastOp::areCastCompatible(aT, bT)) in getCastCompatibleMemRefType()
/llvm-project-15.0.7/mlir/lib/Dialect/Shape/IR/
H A DShape.cpp1680 bool SizeToIndexOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() function in SizeToIndexOp
1745 bool ToExtentTensorOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() function in ToExtentTensorOp
/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/Transforms/
H A DBufferizableOpInterfaceImpl.cpp74 assert(memref::CastOp::areCastCompatible(resultBuffer->getType(), in bufferize()
/llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/
H A DTosaToLinalg.cpp467 if (srcTy.isInteger(1) && arith::UIToFPOp::areCastCompatible(srcTy, dstTy)) in createLinalgBodyCalculationForElementwiseOp()
489 if (arith::SIToFPOp::areCastCompatible(srcTy, dstTy)) in createLinalgBodyCalculationForElementwiseOp()
501 if (arith::FPToSIOp::areCastCompatible(srcTy, dstTy)) { in createLinalgBodyCalculationForElementwiseOp()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/
H A DBufferizableOpInterfaceImpl.cpp278 assert(memref::CastOp::areCastCompatible(buffer.getType(), type) && in castBuffer()
/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/IR/
H A DTensorOps.cpp144 bool CastOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() function in CastOp
1750 !tensor::CastOp::areCastCompatible(srcType, newSrcType)) in matchAndRewrite()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DOpDefinition.h1969 Operation *op, function_ref<bool(TypeRange, TypeRange)> areCastCompatible);
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/IR/
H A DLinalgOps.cpp1155 if (!tensor::CastOp::areCastCompatible(returnedArg.getType(), in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/MemRef/IR/
H A DMemRefOps.cpp565 bool CastOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() function in CastOp