/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/flang/lib/Optimizer/CodeGen/ |
H A D | PreCGRewrite.cpp | 112 auto shapeOp = dyn_cast<ShapeOp>(shapeVal.getDefiningOp()); in rewriteDynamicShape() 118 auto shiftOp = dyn_cast<ShapeShiftOp>(shapeVal.getDefiningOp()); in rewriteDynamicShape() 125 if (auto sliceOp = dyn_cast_or_null<SliceOp>(s.getDefiningOp())) { in rewriteDynamicShape() 159 if (auto shapeOp = dyn_cast<ShapeOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 161 else if (auto shiftOp = dyn_cast<ShapeShiftOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 163 else if (auto shiftOp = dyn_cast<ShiftOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 171 if (auto sliceOp = dyn_cast_or_null<SliceOp>(s.getDefiningOp())) { in matchAndRewrite() 207 if (auto shapeOp = dyn_cast<ShapeOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 209 else if (auto shiftOp = dyn_cast<ShapeShiftOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 211 else if (auto shiftOp = dyn_cast<ShiftOp>(shapeVal.getDefiningOp())) in matchAndRewrite() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/flang/lib/Optimizer/CodeGen/ |
H A D | PreCGRewrite.cpp | 112 auto shapeOp = dyn_cast<ShapeOp>(shapeVal.getDefiningOp()); in rewriteDynamicShape() 118 auto shiftOp = dyn_cast<ShapeShiftOp>(shapeVal.getDefiningOp()); in rewriteDynamicShape() 125 if (auto sliceOp = dyn_cast_or_null<SliceOp>(s.getDefiningOp())) { in rewriteDynamicShape() 159 if (auto shapeOp = dyn_cast<ShapeOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 161 else if (auto shiftOp = dyn_cast<ShapeShiftOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 163 else if (auto shiftOp = dyn_cast<ShiftOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 171 if (auto sliceOp = dyn_cast_or_null<SliceOp>(s.getDefiningOp())) { in matchAndRewrite() 207 if (auto shapeOp = dyn_cast<ShapeOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 209 else if (auto shiftOp = dyn_cast<ShapeShiftOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 211 else if (auto shiftOp = dyn_cast<ShiftOp>(shapeVal.getDefiningOp())) in matchAndRewrite() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/flang/lib/Optimizer/CodeGen/ |
H A D | PreCGRewrite.cpp | 112 auto shapeOp = dyn_cast<ShapeOp>(shapeVal.getDefiningOp()); in rewriteDynamicShape() 118 auto shiftOp = dyn_cast<ShapeShiftOp>(shapeVal.getDefiningOp()); in rewriteDynamicShape() 125 if (auto sliceOp = dyn_cast_or_null<SliceOp>(s.getDefiningOp())) { in rewriteDynamicShape() 159 if (auto shapeOp = dyn_cast<ShapeOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 161 else if (auto shiftOp = dyn_cast<ShapeShiftOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 163 else if (auto shiftOp = dyn_cast<ShiftOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 171 if (auto sliceOp = dyn_cast_or_null<SliceOp>(s.getDefiningOp())) { in matchAndRewrite() 207 if (auto shapeOp = dyn_cast<ShapeOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 209 else if (auto shiftOp = dyn_cast<ShapeShiftOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 211 else if (auto shiftOp = dyn_cast<ShiftOp>(shapeVal.getDefiningOp())) in matchAndRewrite() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/flang/lib/Optimizer/CodeGen/ |
H A D | PreCGRewrite.cpp | 112 auto shapeOp = dyn_cast<ShapeOp>(shapeVal.getDefiningOp()); in rewriteDynamicShape() 118 auto shiftOp = dyn_cast<ShapeShiftOp>(shapeVal.getDefiningOp()); in rewriteDynamicShape() 125 if (auto sliceOp = dyn_cast_or_null<SliceOp>(s.getDefiningOp())) { in rewriteDynamicShape() 159 if (auto shapeOp = dyn_cast<ShapeOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 161 else if (auto shiftOp = dyn_cast<ShapeShiftOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 163 else if (auto shiftOp = dyn_cast<ShiftOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 171 if (auto sliceOp = dyn_cast_or_null<SliceOp>(s.getDefiningOp())) { in matchAndRewrite() 207 if (auto shapeOp = dyn_cast<ShapeOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 209 else if (auto shiftOp = dyn_cast<ShapeShiftOp>(shapeVal.getDefiningOp())) in matchAndRewrite() 211 else if (auto shiftOp = dyn_cast<ShiftOp>(shapeVal.getDefiningOp())) in matchAndRewrite() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/Dialect/Complex/IR/ |
H A D | ComplexOps.cpp | 25 if (auto reOp = getOperand(0).getDefiningOp<ReOp>()) { in fold() 26 if (auto imOp = getOperand(1).getDefiningOp<ImOp>()) { in fold() 40 if (auto createOp = getOperand().getDefiningOp<CreateOp>()) in fold() 50 if (auto createOp = getOperand().getDefiningOp<CreateOp>()) in fold()
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/Dialect/Complex/IR/ |
H A D | ComplexOps.cpp | 25 if (auto reOp = getOperand(0).getDefiningOp<ReOp>()) { in fold() 26 if (auto imOp = getOperand(1).getDefiningOp<ImOp>()) { in fold() 40 if (auto createOp = getOperand().getDefiningOp<CreateOp>()) in fold() 50 if (auto createOp = getOperand().getDefiningOp<CreateOp>()) in fold()
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/Dialect/Complex/IR/ |
H A D | ComplexOps.cpp | 25 if (auto reOp = getOperand(0).getDefiningOp<ReOp>()) { in fold() 26 if (auto imOp = getOperand(1).getDefiningOp<ImOp>()) { in fold() 40 if (auto createOp = getOperand().getDefiningOp<CreateOp>()) in fold() 50 if (auto createOp = getOperand().getDefiningOp<CreateOp>()) in fold()
|
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/Dialect/Complex/IR/ |
H A D | ComplexOps.cpp | 25 if (auto reOp = getOperand(0).getDefiningOp<ReOp>()) { in fold() 26 if (auto imOp = getOperand(1).getDefiningOp<ImOp>()) { in fold() 40 if (auto createOp = getOperand().getDefiningOp<CreateOp>()) in fold() 50 if (auto createOp = getOperand().getDefiningOp<CreateOp>()) in fold()
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/IR/ |
H A D | Value.cpp | 20 Operation *Value::getDefiningOp() const { in getDefiningOp() function in Value 27 if (auto *op = getDefiningOp()) in getLoc() 34 if (auto *op = getDefiningOp()) in setLoc() 42 if (auto *op = getDefiningOp()) in getParentRegion() 49 if (Operation *op = getDefiningOp()) in getParentBlock()
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/IR/ |
H A D | Value.cpp | 20 Operation *Value::getDefiningOp() const { in getDefiningOp() function in Value 27 if (auto *op = getDefiningOp()) in getLoc() 34 if (auto *op = getDefiningOp()) in setLoc() 42 if (auto *op = getDefiningOp()) in getParentRegion() 49 if (Operation *op = getDefiningOp()) in getParentBlock()
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/IR/ |
H A D | Value.cpp | 20 Operation *Value::getDefiningOp() const { in getDefiningOp() function in Value 27 if (auto *op = getDefiningOp()) in getLoc() 34 if (auto *op = getDefiningOp()) in setLoc() 42 if (auto *op = getDefiningOp()) in getParentRegion() 49 if (Operation *op = getDefiningOp()) in getParentBlock()
|
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/IR/ |
H A D | Value.cpp | 20 Operation *Value::getDefiningOp() const { in getDefiningOp() function in Value 27 if (auto *op = getDefiningOp()) in getLoc() 34 if (auto *op = getDefiningOp()) in setLoc() 42 if (auto *op = getDefiningOp()) in getParentRegion() 49 if (Operation *op = getDefiningOp()) in getParentBlock()
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/Transforms/ |
H A D | BufferOptimizations.cpp | 37 if (!type || !alloc.getDefiningOp<memref::AllocOp>()) in defaultIsSmallAlloc() 46 alloc.getDefiningOp()->getOperands(), in defaultIsSmallAlloc() 47 [&](Value operand) { return operand.getDefiningOp<RankOp>(); }); in defaultIsSmallAlloc() 138 if (!StateT::shouldHoistOpType(allocValue.getDefiningOp())) in hoist() 140 Operation *definingOp = allocValue.getDefiningOp(); in hoist() 170 Operation *allocOperation = allocValue.getDefiningOp(); in hoist() 345 Operation *allocOp = alloc.getDefiningOp(); in promote()
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/Transforms/ |
H A D | BufferOptimizations.cpp | 37 if (!type || !alloc.getDefiningOp<memref::AllocOp>()) in defaultIsSmallAlloc() 46 alloc.getDefiningOp()->getOperands(), in defaultIsSmallAlloc() 47 [&](Value operand) { return operand.getDefiningOp<RankOp>(); }); in defaultIsSmallAlloc() 138 if (!StateT::shouldHoistOpType(allocValue.getDefiningOp())) in hoist() 140 Operation *definingOp = allocValue.getDefiningOp(); in hoist() 170 Operation *allocOperation = allocValue.getDefiningOp(); in hoist() 345 Operation *allocOp = alloc.getDefiningOp(); in promote()
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/Transforms/ |
H A D | BufferOptimizations.cpp | 37 if (!type || !alloc.getDefiningOp<memref::AllocOp>()) in defaultIsSmallAlloc() 46 alloc.getDefiningOp()->getOperands(), in defaultIsSmallAlloc() 47 [&](Value operand) { return operand.getDefiningOp<RankOp>(); }); in defaultIsSmallAlloc() 138 if (!StateT::shouldHoistOpType(allocValue.getDefiningOp())) in hoist() 140 Operation *definingOp = allocValue.getDefiningOp(); in hoist() 170 Operation *allocOperation = allocValue.getDefiningOp(); in hoist() 345 Operation *allocOp = alloc.getDefiningOp(); in promote()
|
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/Transforms/ |
H A D | BufferOptimizations.cpp | 37 if (!type || !alloc.getDefiningOp<memref::AllocOp>()) in defaultIsSmallAlloc() 46 alloc.getDefiningOp()->getOperands(), in defaultIsSmallAlloc() 47 [&](Value operand) { return operand.getDefiningOp<RankOp>(); }); in defaultIsSmallAlloc() 138 if (!StateT::shouldHoistOpType(allocValue.getDefiningOp())) in hoist() 140 Operation *definingOp = allocValue.getDefiningOp(); in hoist() 170 Operation *allocOperation = allocValue.getDefiningOp(); in hoist() 345 Operation *allocOp = alloc.getDefiningOp(); in promote()
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/lib/Transforms/ |
H A D | BufferOptimizations.cpp | 36 if (!type || !alloc.getDefiningOp<AllocOp>()) in isSmallAlloc() 45 alloc.getDefiningOp()->getOperands(), in isSmallAlloc() 46 [&](Value operand) { return operand.getDefiningOp<RankOp>(); }); in isSmallAlloc() 133 Operation *definingOp = allocValue.getDefiningOp(); in hoist() 163 Operation *allocOperation = allocValue.getDefiningOp(); in hoist() 321 Operation *allocOp = alloc.getDefiningOp(); in promote()
|
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/lib/Transforms/ |
H A D | BufferOptimizations.cpp | 36 if (!type || !alloc.getDefiningOp<AllocOp>()) in isSmallAlloc() 45 alloc.getDefiningOp()->getOperands(), in isSmallAlloc() 46 [&](Value operand) { return operand.getDefiningOp<RankOp>(); }); in isSmallAlloc() 133 Operation *definingOp = allocValue.getDefiningOp(); in hoist() 163 Operation *allocOperation = allocValue.getDefiningOp(); in hoist() 321 Operation *allocOp = alloc.getDefiningOp(); in promote()
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/flang/lib/Optimizer/Transforms/ |
H A D | AffinePromotion.cpp | 63 op->dump(); coordinate.getDefiningOp()->dump()); in analyzeCoordinate() 99 if (auto acoOp = memref.getDefiningOp<ArrayCoorOp>()) { in analyzeReference() 112 if (auto coOp = memref.getDefiningOp<CoordinateOp>()) { in analyzeReference() 196 if (auto op = value.getDefiningOp<mlir::SubIOp>()) in toAffineExpr() 201 if (auto op = value.getDefiningOp<mlir::AddIOp>()) in toAffineExpr() 203 if (auto op = value.getDefiningOp<mlir::MulIOp>()) in toAffineExpr() 207 if (auto op = value.getDefiningOp<mlir::ConstantOp>()) in toAffineExpr() 318 if (auto definition = value.getDefiningOp<ConstantOp>()) in constantIntegerLike() 375 if (auto shape = acoOp.shape().getDefiningOp<ShapeOp>()) in populateIndexArgs() 379 if (auto slice = acoOp.shape().getDefiningOp<SliceOp>()) in populateIndexArgs() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/mlir/lib/Conversion/SCFToGPU/ |
H A D | SCFToGPU.cpp | 153 if (auto def = value.getDefiningOp<ConstantIndexOp>()) in isConstantOne() 298 if (auto op = upperBound.getDefiningOp<ConstantIndexOp>()) { in deriveStaticUpperBound() 302 if (auto minOp = upperBound.getDefiningOp<AffineMinOp>()) { in deriveStaticUpperBound() 311 if (auto multiplyOp = upperBound.getDefiningOp<MulIOp>()) { in deriveStaticUpperBound() 314 .getDefiningOp())) in deriveStaticUpperBound() 317 .getDefiningOp())) { in deriveStaticUpperBound() 400 if (ConstantOp constOp = val.getDefiningOp<ConstantOp>()) in processParallelLoop() 444 !isa_and_nonnull<ConstantOp>(lowerBound.getDefiningOp())) in processParallelLoop() 448 !isa_and_nonnull<ConstantOp>(step.getDefiningOp())) in processParallelLoop() 454 isa_and_nonnull<ConstantOp>(upperBound.getDefiningOp()); in processParallelLoop()
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/Conversion/SCFToGPU/ |
H A D | SCFToGPU.cpp | 172 if (auto def = value.getDefiningOp<ConstantIndexOp>()) in isConstantOne() 317 if (auto op = upperBound.getDefiningOp<ConstantIndexOp>()) { in deriveStaticUpperBound() 321 if (auto minOp = upperBound.getDefiningOp<AffineMinOp>()) { in deriveStaticUpperBound() 330 if (auto multiplyOp = upperBound.getDefiningOp<MulIOp>()) { in deriveStaticUpperBound() 333 .getDefiningOp())) in deriveStaticUpperBound() 336 .getDefiningOp())) { in deriveStaticUpperBound() 419 if (ConstantOp constOp = val.getDefiningOp<ConstantOp>()) in processParallelLoop() 463 !isa_and_nonnull<ConstantOp>(lowerBound.getDefiningOp())) in processParallelLoop() 467 !isa_and_nonnull<ConstantOp>(step.getDefiningOp())) in processParallelLoop() 473 isa_and_nonnull<ConstantOp>(upperBound.getDefiningOp()); in processParallelLoop()
|
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/lib/Conversion/SCFToGPU/ |
H A D | SCFToGPU.cpp | 153 if (auto def = value.getDefiningOp<ConstantIndexOp>()) in isConstantOne() 298 if (auto op = upperBound.getDefiningOp<ConstantIndexOp>()) { in deriveStaticUpperBound() 302 if (auto minOp = upperBound.getDefiningOp<AffineMinOp>()) { in deriveStaticUpperBound() 311 if (auto multiplyOp = upperBound.getDefiningOp<MulIOp>()) { in deriveStaticUpperBound() 314 .getDefiningOp())) in deriveStaticUpperBound() 317 .getDefiningOp())) { in deriveStaticUpperBound() 400 if (ConstantOp constOp = val.getDefiningOp<ConstantOp>()) in processParallelLoop() 444 !isa_and_nonnull<ConstantOp>(lowerBound.getDefiningOp())) in processParallelLoop() 448 !isa_and_nonnull<ConstantOp>(step.getDefiningOp())) in processParallelLoop() 454 isa_and_nonnull<ConstantOp>(upperBound.getDefiningOp()); in processParallelLoop()
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/lib/Conversion/SCFToGPU/ |
H A D | SCFToGPU.cpp | 153 if (auto def = value.getDefiningOp<ConstantIndexOp>()) in isConstantOne() 298 if (auto op = upperBound.getDefiningOp<ConstantIndexOp>()) { in deriveStaticUpperBound() 302 if (auto minOp = upperBound.getDefiningOp<AffineMinOp>()) { in deriveStaticUpperBound() 311 if (auto multiplyOp = upperBound.getDefiningOp<MulIOp>()) { in deriveStaticUpperBound() 314 .getDefiningOp())) in deriveStaticUpperBound() 317 .getDefiningOp())) { in deriveStaticUpperBound() 400 if (ConstantOp constOp = val.getDefiningOp<ConstantOp>()) in processParallelLoop() 444 !isa_and_nonnull<ConstantOp>(lowerBound.getDefiningOp())) in processParallelLoop() 448 !isa_and_nonnull<ConstantOp>(step.getDefiningOp())) in processParallelLoop() 454 isa_and_nonnull<ConstantOp>(upperBound.getDefiningOp()); in processParallelLoop()
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/Conversion/SCFToGPU/ |
H A D | SCFToGPU.cpp | 154 if (auto def = value.getDefiningOp<ConstantIndexOp>()) in isConstantOne() 299 if (auto op = upperBound.getDefiningOp<ConstantIndexOp>()) { in deriveStaticUpperBound() 303 if (auto minOp = upperBound.getDefiningOp<AffineMinOp>()) { in deriveStaticUpperBound() 312 if (auto multiplyOp = upperBound.getDefiningOp<MulIOp>()) { in deriveStaticUpperBound() 315 .getDefiningOp())) in deriveStaticUpperBound() 318 .getDefiningOp())) { in deriveStaticUpperBound() 401 if (ConstantOp constOp = val.getDefiningOp<ConstantOp>()) in processParallelLoop() 445 !isa_and_nonnull<ConstantOp>(lowerBound.getDefiningOp())) in processParallelLoop() 449 !isa_and_nonnull<ConstantOp>(step.getDefiningOp())) in processParallelLoop() 455 isa_and_nonnull<ConstantOp>(upperBound.getDefiningOp()); in processParallelLoop()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/mlir/lib/Conversion/SCFToGPU/ |
H A D | SCFToGPU.cpp | 153 if (auto def = value.getDefiningOp<ConstantIndexOp>()) in isConstantOne() 298 if (auto op = upperBound.getDefiningOp<ConstantIndexOp>()) { in deriveStaticUpperBound() 302 if (auto minOp = upperBound.getDefiningOp<AffineMinOp>()) { in deriveStaticUpperBound() 311 if (auto multiplyOp = upperBound.getDefiningOp<MulIOp>()) { in deriveStaticUpperBound() 314 .getDefiningOp())) in deriveStaticUpperBound() 317 .getDefiningOp())) { in deriveStaticUpperBound() 400 if (ConstantOp constOp = val.getDefiningOp<ConstantOp>()) in processParallelLoop() 444 !isa_and_nonnull<ConstantOp>(lowerBound.getDefiningOp())) in processParallelLoop() 448 !isa_and_nonnull<ConstantOp>(step.getDefiningOp())) in processParallelLoop() 454 isa_and_nonnull<ConstantOp>(upperBound.getDefiningOp()); in processParallelLoop()
|