Home
last modified time | relevance | path

Searched defs:castOp (Results 1 – 25 of 33) sorted by relevance

12

/llvm-project/mlir/lib/Conversion/ReconcileUnrealizedCasts/
H A DReconcileUnrealizedCasts.cpp45 [&](UnrealizedConversionCastOp castOp) { ops.push_back(castOp); }); in runOnOperation() argument
49 __anon82431e0a0302(UnrealizedConversionCastOp castOp) runOnOperation() argument
59 __anon82431e0a0402(UnrealizedConversionCastOp castOp) runOnOperation() argument
74 UnrealizedConversionCastOp castOp = worklist.pop_back_val(); runOnOperation() local
/llvm-project/mlir/test/lib/Dialect/SCF/
H A DTestWhileOpBuilder.cpp58 auto castOp = in runOnOperation() local
67 auto castOp = builder.create<UnrealizedConversionCastOp>( in runOnOperation() local
/llvm-project/mlir/lib/Transforms/Utils/
H A DOneToNTypeConversion.cpp327 op->walk([&](UnrealizedConversionCastOp castOp) { in applyPartialOneToNConversion() argument
126 auto castOp = buildUnrealizedCast() local
341 __anond22309d50302(UnrealizedConversionCastOp castOp) applyPartialOneToNConversion() argument
350 for (UnrealizedConversionCastOp castOp : worklist) { applyPartialOneToNConversion() local
[all...]
H A DInliningUtils.cpp410 Operation *castOp = interface->materializeCallConversion(castBuilder, arg, materializeConversion() local
/llvm-project/mlir/lib/Dialect/Bufferization/Transforms/
H A DDropEquivalentBufferResults.cpp90 while (auto castOp = val.getDefiningOp<memref::CastOp>()) dropEquivalentBufferResults() local
H A DOneShotModuleBufferize.cpp360 if (auto castOp = operand.get().getDefiningOp<memref::CastOp>()) { foldMemRefCasts() local
/llvm-project/mlir/lib/Dialect/MemRef/IR/
H A DValueBoundsOpInterfaceImpl.cpp37 auto castOp = cast<CastOp>(op); in populateBoundsForShapedValueDim() local
H A DMemRefOps.cpp649 MemRefType resultType = llvm::dyn_cast<MemRefType>(castOp.getType()); in canFoldIntoConsumerOp() argument
788 if (auto castOp = copyOp.getSource().getDefiningOp<CastOp>()) { matchAndRewrite() local
804 if (auto castOp = copyOp.getTarget().getDefiningOp<CastOp>()) { matchAndRewrite() local
869 auto castOp = operand.get().getDefiningOp<memref::CastOp>(); fold() local
3174 auto castOp = subViewOp.getSource().getDefiningOp<CastOp>(); matchAndRewrite() local
[all...]
/llvm-project/mlir/lib/Dialect/Tensor/IR/
H A DValueBoundsOpInterfaceImpl.cpp24 auto castOp = cast<CastOp>(op); in populateBoundsForShapedValueDim() local
H A DTensorOps.cpp319 if (!castOp) in canFoldIntoConsumerOp() argument
349 if (!castOp) in canFoldIntoProducerOp() argument
361 if (castOp in foldTensorCast() local
806 auto castOp = dimOp.getSource().getDefiningOp<CastOp>(); matchAndRewrite() local
1865 auto castOp = collapseShapeOp.getSrc().getDefiningOp<tensor::CastOp>(); matchAndRewrite() local
2247 auto castOp = sliceOp.getSource().getDefiningOp<CastOp>(); matchAndRewrite() local
2705 auto castOp = v.getDefiningOp<tensor::CastOp>(); matchAndRewrite() local
3072 auto castOp = padTensorOp.getSource().getDefiningOp<tensor::CastOp>(); matchAndRewrite() local
4532 auto castOp = opOperand.get().getDefiningOp<tensor::CastOp>(); matchAndRewrite() local
[all...]
/llvm-project/mlir/lib/Dialect/SPIRV/Transforms/
H A DSPIRVConversion.cpp634 auto castOp = builder.create<UnrealizedConversionCastOp>(loc, type, inputs); castToSourceType() local
641 auto castOp = builder.create<UnrealizedConversionCastOp>(loc, type, inputs); castToSourceType() local
648 auto castOp = builder.create<UnrealizedConversionCastOp>(loc, type, inputs); castToSourceType() local
656 auto castOp = builder.create<UnrealizedConversionCastOp>(loc, type, inputs); castToSourceType() local
673 auto castOp = builder.create<UnrealizedConversionCastOp>(loc, type, inputs); castToSourceType() local
[all...]
H A DUnifyAliasedResourcePass.cpp449 auto castOp = rewriter.create<spirv::BitcastOp>(loc, srcElemType, in matchAndRewrite() local
/llvm-project/mlir/lib/Dialect/Arith/Transforms/
H A DBufferizableOpInterfaceImpl.cpp87 auto castOp = cast<arith::IndexCastOp>(op); in bufferize() local
/llvm-project/mlir/lib/Dialect/MemRef/Transforms/
H A DIndependenceTransforms.cpp154 if ([[maybe_unused]] auto castOp = in replaceAndPropagateMemRefType() local
H A DRuntimeOpVerification.cpp31 auto castOp = cast<CastOp>(op); in generateRuntimeVerification() local
H A DExpandStridedMetadata.cpp1006 auto castOp = source.getDefiningOp<memref::CastOp>(); matchAndRewrite() local
/llvm-project/mlir/lib/Conversion/ArithToEmitC/
H A DArithToEmitC.cpp516 matchAndRewrite(CastOp castOp,typename CastOp::Adaptor adaptor,ConversionPatternRewriter & rewriter) const matchAndRewrite() argument
563 matchAndRewrite(CastOp castOp,typename CastOp::Adaptor adaptor,ConversionPatternRewriter & rewriter) const matchAndRewrite() argument
[all...]
/llvm-project/mlir/lib/Dialect/MemRef/Utils/
H A DMemRefUtils.cpp186 } else if (auto castOp = dyn_cast<memref::CastOp>(op)) { skipFullyAliasingOperations() local
/llvm-project/mlir/lib/Dialect/Tensor/Transforms/
H A DBufferizableOpInterfaceImpl.cpp54 auto castOp = cast<tensor::CastOp>(op); getBufferType() local
86 auto castOp = cast<tensor::CastOp>(op); bufferize() local
[all...]
/llvm-project/mlir/lib/Dialect/Vector/Transforms/
H A DVectorTransforms.cpp461 auto *castOp = in matchAndRewrite() local
577 auto castOp = extractOp.getVector().getDefiningOp<vector::BitCastOp>(); in matchAndRewrite() local
649 if (!castOp) in matchAndRewrite() local
[all...]
/llvm-project/mlir/unittests/IR/
H A DInterfaceAttachmentTest.cpp319 OwningOpRef<UnrealizedConversionCastOp> castOp = in TEST() local
/llvm-project/mlir/lib/Dialect/Bufferization/IR/
H A DBufferizationOps.cpp848 if (!castOp) in matchAndRewrite() local
/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp777 ConstantRange ConstantRange::castOp(Instruction::CastOps CastOp, castOp() function in ConstantRange
/llvm-project/mlir/lib/Target/Cpp/
H A DTranslateToCpp.cpp722 printOperation(CppEmitter & emitter,emitc::CastOp castOp) printOperation() argument
/llvm-project/mlir/lib/Conversion/VectorToLLVM/
H A DConvertVectorToLLVM.cpp1391 matchAndRewrite(vector::TypeCastOp castOp,OpAdaptor adaptor,ConversionPatternRewriter & rewriter) const matchAndRewrite() argument

12