/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/Dialect/SCF/Transforms/ |
H A D | LoopSpecialization.cpp | 34 auto minOp = bound.getDefiningOp<AffineMinOp>(); in specializeParallelLoopForUnrolling() 69 auto minOp = bound.getDefiningOp<AffineMinOp>(); in specializeForLoopForUnrolling()
|
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/lib/Dialect/SCF/Transforms/ |
H A D | LoopSpecialization.cpp | 34 auto minOp = bound.getDefiningOp<AffineMinOp>(); in specializeParallelLoopForUnrolling() 69 auto minOp = bound.getDefiningOp<AffineMinOp>(); in specializeForLoopForUnrolling()
|
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/Dialect/SCF/Transforms/ |
H A D | LoopSpecialization.cpp | 34 auto minOp = bound.getDefiningOp<AffineMinOp>(); in specializeParallelLoopForUnrolling() 69 auto minOp = bound.getDefiningOp<AffineMinOp>(); in specializeForLoopForUnrolling()
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/Dialect/Linalg/Transforms/ |
H A D | Hoisting.cpp | 63 if (!attr && ofr.get<Value>().getDefiningOp<ConstantOp>()) in isEqualOffsetSizeOrStride() 64 attr = ofr.get<Value>().getDefiningOp<ConstantOp>().getValue(); in isEqualOffsetSizeOrStride() 226 if (auto write = v.getDefiningOp<vector::TransferWriteOp>()) { in getLoopInvariantTransferWriteOpDefining() 235 if (auto insertSliceOp = v.getDefiningOp<tensor::InsertSliceOp>()) { in getLoopInvariantTransferWriteOpDefining() 238 insertSliceOp.source().getDefiningOp<vector::TransferWriteOp>(); in getLoopInvariantTransferWriteOpDefining() 532 return outer.isDefinedOutsideOfLoop(v) || v.getDefiningOp<ConstantOp>(); in isDefinedOutsideOrConstant() 615 backwardSlice.insert(ub.getDefiningOp()); in foldUpperBoundsIntoConstraintsSet() 953 cast<PadTensorOp>(bvm.lookup(padTensorOp.result()).getDefiningOp()); in hoistPaddingOnTensors()
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/Dialect/Linalg/Transforms/ |
H A D | Hoisting.cpp | 63 if (!attr && ofr.get<Value>().getDefiningOp<ConstantOp>()) in isEqualOffsetSizeOrStride() 64 attr = ofr.get<Value>().getDefiningOp<ConstantOp>().getValue(); in isEqualOffsetSizeOrStride() 226 if (auto write = v.getDefiningOp<vector::TransferWriteOp>()) { in getLoopInvariantTransferWriteOpDefining() 235 if (auto insertSliceOp = v.getDefiningOp<tensor::InsertSliceOp>()) { in getLoopInvariantTransferWriteOpDefining() 238 insertSliceOp.source().getDefiningOp<vector::TransferWriteOp>(); in getLoopInvariantTransferWriteOpDefining() 532 return outer.isDefinedOutsideOfLoop(v) || v.getDefiningOp<ConstantOp>(); in isDefinedOutsideOrConstant() 615 backwardSlice.insert(ub.getDefiningOp()); in foldUpperBoundsIntoConstraintsSet() 953 cast<PadTensorOp>(bvm.lookup(padTensorOp.result()).getDefiningOp()); in hoistPaddingOnTensors()
|
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/Dialect/Linalg/Transforms/ |
H A D | Hoisting.cpp | 63 if (!attr && ofr.get<Value>().getDefiningOp<ConstantOp>()) 64 attr = ofr.get<Value>().getDefiningOp<ConstantOp>().getValue(); 226 if (auto write = v.getDefiningOp<vector::TransferWriteOp>()) { 235 if (auto insertSliceOp = v.getDefiningOp<tensor::InsertSliceOp>()) { 238 insertSliceOp.source().getDefiningOp<vector::TransferWriteOp>(); 532 return outer.isDefinedOutsideOfLoop(v) || v.getDefiningOp<ConstantOp>(); 615 backwardSlice.insert(ub.getDefiningOp()); 953 cast<PadTensorOp>(bvm.lookup(padTensorOp.result()).getDefiningOp());
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/Dialect/Linalg/Transforms/ |
H A D | Fusion.cpp | 83 opOperand->get().getDefiningOp())) in getShapeDefiningLoopRange() 239 Operation *shapeProducingOp = shapedOperand.getDefiningOp(); in getRangeFromOperandShape() 415 auto subView = consumerOpOperand.get().getDefiningOp<memref::SubViewOp>(); in fuseProducerOfBuffer() 443 if (auto linalgOp = tensor.getDefiningOp<LinalgOp>()) { in getProducerOfTensor() 447 if (auto sliceOp = tensor.getDefiningOp<tensor::ExtractSliceOp>()) { in getProducerOfTensor() 452 if (auto forOp = blockArg.getDefiningOp<scf::ForOp>()) { in getProducerOfTensor() 487 auto sliceOp = inputTensor.getDefiningOp<tensor::ExtractSliceOp>(); in fuseProducerOfTensor()
|
H A D | Detensorize.cpp | 178 extract.tensor().getDefiningOp<TensorCollapseShapeOp>(); in matchAndRewrite() 184 .getDefiningOp<mlir::tensor::FromElementsOp>(); in matchAndRewrite() 397 Operation *currentItemDefiningOp = currentItem.getDefiningOp(); in compute() 470 .getDefiningOp(); in compute()
|
H A D | ComprehensiveBufferize.cpp | 183 while ((castOp = value.getDefiningOp<tensor::CastOp>())) in isInitTensorOp() 185 return value.getDefiningOp<InitTensorOp>(); in isInitTensorOp() 403 auto *op = value.getDefiningOp(); in printValueInfo() 761 if (Operation *op = v.getDefiningOp()) { in aliasesNonWritableBuffer() 886 Operation *opToBufferize = result.getDefiningOp(); in wouldCreateReadAfterWriteInterference() 1128 Operation *candidateOp = mit->v.getDefiningOp(); in existsInterleavedValueClobber() 1331 parent = v.getDefiningOp()->getParentOp(); in getFirstParentOfType() 1364 b.setInsertionPointAfter(shapedValue.getDefiningOp()); in createNewAllocDeallocPairForShapedValue() 1365 loc = shapedValue.getDefiningOp()->getLoc(); in createNewAllocDeallocPairForShapedValue() 2292 Operation *op = result.getDefiningOp(); in bufferizableInPlaceAnalysis() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/Conversion/PDLToPDLInterp/ |
H A D | PredicateTree.cpp | 45 pdl::AttributeOp attr = cast<pdl::AttributeOp>(val.getDefiningOp()); in getTreePredicates() 64 TypeSwitch<Operation *>(val.getDefiningOp()) in getOperandTreePredicates() 107 pdl::OperationOp op = cast<pdl::OperationOp>(val.getDefiningOp()); in getTreePredicates() 194 if (pdl::TypeOp typeOp = val.getDefiningOp<pdl::TypeOp>()) { in getTreePredicates() 197 } else if (pdl::TypesOp typeOp = val.getDefiningOp<pdl::TypesOp>()) { in getTreePredicates() 214 pdl::TypeOp>(val.getDefiningOp())) { in getTreePredicates()
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/Conversion/PDLToPDLInterp/ |
H A D | PredicateTree.cpp | 45 pdl::AttributeOp attr = cast<pdl::AttributeOp>(val.getDefiningOp()); in getTreePredicates() 64 TypeSwitch<Operation *>(val.getDefiningOp()) in getOperandTreePredicates() 107 pdl::OperationOp op = cast<pdl::OperationOp>(val.getDefiningOp()); in getTreePredicates() 194 if (pdl::TypeOp typeOp = val.getDefiningOp<pdl::TypeOp>()) { in getTreePredicates() 197 } else if (pdl::TypesOp typeOp = val.getDefiningOp<pdl::TypesOp>()) { in getTreePredicates() 214 pdl::TypeOp>(val.getDefiningOp())) { in getTreePredicates()
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/Conversion/PDLToPDLInterp/ |
H A D | PredicateTree.cpp | 45 pdl::AttributeOp attr = cast<pdl::AttributeOp>(val.getDefiningOp()); in getTreePredicates() 64 TypeSwitch<Operation *>(val.getDefiningOp()) in getOperandTreePredicates() 107 pdl::OperationOp op = cast<pdl::OperationOp>(val.getDefiningOp()); in getTreePredicates() 194 if (pdl::TypeOp typeOp = val.getDefiningOp<pdl::TypeOp>()) { in getTreePredicates() 197 } else if (pdl::TypesOp typeOp = val.getDefiningOp<pdl::TypesOp>()) { in getTreePredicates() 214 pdl::TypeOp>(val.getDefiningOp())) { in getTreePredicates()
|
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/Conversion/PDLToPDLInterp/ |
H A D | PredicateTree.cpp | 45 pdl::AttributeOp attr = cast<pdl::AttributeOp>(val.getDefiningOp()); in getTreePredicates() 64 TypeSwitch<Operation *>(val.getDefiningOp()) in getOperandTreePredicates() 107 pdl::OperationOp op = cast<pdl::OperationOp>(val.getDefiningOp()); in getTreePredicates() 194 if (pdl::TypeOp typeOp = val.getDefiningOp<pdl::TypeOp>()) { in getTreePredicates() 197 } else if (pdl::TypesOp typeOp = val.getDefiningOp<pdl::TypesOp>()) { in getTreePredicates() 214 pdl::TypeOp>(val.getDefiningOp())) { in getTreePredicates()
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/mlir/include/mlir/IR/ |
H A D | Value.h | 123 Operation *getDefiningOp() const; 128 OpTy getDefiningOp() const { in getDefiningOp() function 129 return llvm::dyn_cast_or_null<OpTy>(getDefiningOp()); in getDefiningOp()
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/Dialect/PDL/IR/ |
H A D | PDL.cpp | 176 Operation *replacedOp = replOpUser.operation().getDefiningOp(); in verifyResultTypesAreInferrable() 188 Operation *resultTypeOp = it.value().getDefiningOp(); in verifyResultTypesAreInferrable() 300 OperationOp rootOp = cast<OperationOp>(getRewriter().root().getDefiningOp()); in getRootKind()
|
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/include/mlir/IR/ |
H A D | Value.h | 123 Operation *getDefiningOp() const; 128 OpTy getDefiningOp() const { in getDefiningOp() function 129 return llvm::dyn_cast_or_null<OpTy>(getDefiningOp()); in getDefiningOp()
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/mlir/lib/Analysis/ |
H A D | Liveness.cpp | 176 if (Operation *defOp = value.getDefiningOp()) in resolveLiveness() 274 if (Operation *defOp = value.getDefiningOp()) in print() 348 Operation *definingOp = value.getDefiningOp(); in getStartOperation()
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/include/mlir/IR/ |
H A D | Value.h | 123 Operation *getDefiningOp() const; 128 OpTy getDefiningOp() const { in getDefiningOp() function 129 return llvm::dyn_cast_or_null<OpTy>(getDefiningOp()); in getDefiningOp()
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/Dialect/PDL/IR/ |
H A D | PDL.cpp | 176 Operation *replacedOp = replOpUser.operation().getDefiningOp(); in verifyResultTypesAreInferrable() 188 Operation *resultTypeOp = it.value().getDefiningOp(); in verifyResultTypesAreInferrable() 300 OperationOp rootOp = cast<OperationOp>(getRewriter().root().getDefiningOp()); in getRootKind()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/mlir/include/mlir/IR/ |
H A D | Value.h | 123 Operation *getDefiningOp() const; 128 OpTy getDefiningOp() const { in getDefiningOp() function 129 return llvm::dyn_cast_or_null<OpTy>(getDefiningOp()); in getDefiningOp()
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/Dialect/PDL/IR/ |
H A D | PDL.cpp | 176 Operation *replacedOp = replOpUser.operation().getDefiningOp(); in verifyResultTypesAreInferrable() 188 Operation *resultTypeOp = it.value().getDefiningOp(); in verifyResultTypesAreInferrable() 300 OperationOp rootOp = cast<OperationOp>(getRewriter().root().getDefiningOp()); in getRootKind()
|
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/Dialect/PDL/IR/ |
H A D | PDL.cpp | 176 Operation *replacedOp = replOpUser.operation().getDefiningOp(); 188 Operation *resultTypeOp = it.value().getDefiningOp(); 300 OperationOp rootOp = cast<OperationOp>(getRewriter().root().getDefiningOp());
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/flang/lib/Optimizer/Dialect/ |
H A D | FIROps.cpp | 158 if (auto *op = sh.getDefiningOp()) { in getExtents() 203 if (auto v = val().getDefiningOp()) { in fold() 218 if (auto v = val().getDefiningOp()) { in fold() 408 auto inner = cast<fir::ConvertOp>(value().getDefiningOp()); in fold() 491 if (dyn_cast_or_null<fir::LenParamIndexOp>(co.getDefiningOp())) { in verify() 708 if (!insval2 || !isa<fir::UndefOp>(insval2.adt().getDefiningOp())) in matchAndRewrite() 710 auto binf = dyn_cast_or_null<FltOp>(insval.val().getDefiningOp()); in matchAndRewrite() 1264 if (auto sliceOp = slice.getDefiningOp()) { in verify() 1710 auto op = triples[i].getDefiningOp(); in getOutputRank() 1929 if (auto definingOp = value.getDefiningOp()) in valueHasFirAttribute() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/flang/lib/Optimizer/Dialect/ |
H A D | FIROps.cpp | 158 if (auto *op = sh.getDefiningOp()) { in getExtents() 203 if (auto v = val().getDefiningOp()) { in fold() 218 if (auto v = val().getDefiningOp()) { in fold() 408 auto inner = cast<fir::ConvertOp>(value().getDefiningOp()); in fold() 491 if (dyn_cast_or_null<fir::LenParamIndexOp>(co.getDefiningOp())) { in verify() 708 if (!insval2 || !isa<fir::UndefOp>(insval2.adt().getDefiningOp())) in matchAndRewrite() 710 auto binf = dyn_cast_or_null<FltOp>(insval.val().getDefiningOp()); in matchAndRewrite() 1264 if (auto sliceOp = slice.getDefiningOp()) { in verify() 1710 auto op = triples[i].getDefiningOp(); in getOutputRank() 1929 if (auto definingOp = value.getDefiningOp()) in valueHasFirAttribute() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/flang/lib/Optimizer/Dialect/ |
H A D | FIROps.cpp | 158 if (auto *op = sh.getDefiningOp()) { in getExtents() 203 if (auto v = val().getDefiningOp()) { in fold() 218 if (auto v = val().getDefiningOp()) { in fold() 408 auto inner = cast<fir::ConvertOp>(value().getDefiningOp()); in fold() 491 if (dyn_cast_or_null<fir::LenParamIndexOp>(co.getDefiningOp())) { in verify() 708 if (!insval2 || !isa<fir::UndefOp>(insval2.adt().getDefiningOp())) in matchAndRewrite() 710 auto binf = dyn_cast_or_null<FltOp>(insval.val().getDefiningOp()); in matchAndRewrite() 1264 if (auto sliceOp = slice.getDefiningOp()) { in verify() 1710 auto op = triples[i].getDefiningOp(); in getOutputRank() 1929 if (auto definingOp = value.getDefiningOp()) in valueHasFirAttribute() [all …]
|