/dports/misc/mnn/MNN-1.2.0/tools/train/source/grad/ |
H A D | MatMulGrad.cpp | 94 unique_ptr<OpT> newOp(new OpT); in onGrad() local 98 newOp->main.AsMatMul()->transposeB = true; in onGrad() 105 unique_ptr<OpT> newOp(new OpT); in onGrad() local 109 newOp->main.AsMatMul()->transposeA = true; in onGrad() 118 unique_ptr<OpT> newOp(new OpT); in onGrad() local 123 newOp->main.AsMatMul()->transposeB = true; in onGrad() 130 unique_ptr<OpT> newOp(new OpT); in onGrad() local 144 unique_ptr<OpT> newOp(new OpT); in onGrad() local 156 unique_ptr<OpT> newOp(new OpT); in onGrad() local 170 unique_ptr<OpT> newOp(new OpT); in onGrad() local [all …]
|
H A D | ConvGrad.cpp | 29 unique_ptr<OpT> newOp(new OpT); in onGrad() local 31 newOp->type = OpType_Deconvolution; in onGrad() 35 newOp->main.type = OpParameter_Convolution2D; in onGrad() 82 newOp->main.value = conv2D; in onGrad() 93 unique_ptr<OpT> newOp(new OpT); in onGrad() local 98 newOp->main.value = conv2D; in onGrad() 125 unique_ptr<OpT> newOp(new OpT); in onGrad() local 127 newOp->type = OpType_Convolution; in onGrad() 138 newOp->main.value = conv2D; in onGrad() 145 unique_ptr<OpT> newOp(new OpT); in onGrad() local [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/Dialect/SCF/Transforms/ |
H A D | StructuralTypeConversions.cpp | 55 newOp.getLoopBody().end()); in matchAndRewrite() 60 if (failed(rewriter.convertRegionTypes(&newOp.getLoopBody(), in matchAndRewrite() 66 newOp->setOperands(adaptor.getOperands()); in matchAndRewrite() 68 for (auto t : llvm::zip(newOp.getResults(), newResultTypes)) in matchAndRewrite() 71 rewriter.replaceOp(op, newOp.getResults()); in matchAndRewrite() 106 newOp.thenRegion().end()); in matchAndRewrite() 108 newOp.elseRegion().end()); in matchAndRewrite() 111 newOp->setOperands(adaptor.getOperands()); in matchAndRewrite() 114 rewriter.replaceOp(op, newOp.getResults()); in matchAndRewrite() 153 auto &dstRegion = newOp.getRegion(i); in matchAndRewrite() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/Dialect/SCF/Transforms/ |
H A D | StructuralTypeConversions.cpp | 55 newOp.getLoopBody().end()); in matchAndRewrite() 60 if (failed(rewriter.convertRegionTypes(&newOp.getLoopBody(), in matchAndRewrite() 66 newOp->setOperands(operands); in matchAndRewrite() 68 for (auto t : llvm::zip(newOp.getResults(), newResultTypes)) in matchAndRewrite() 71 rewriter.replaceOp(op, newOp.getResults()); in matchAndRewrite() 106 newOp.thenRegion().end()); in matchAndRewrite() 108 newOp.elseRegion().end()); in matchAndRewrite() 111 newOp->setOperands(operands); in matchAndRewrite() 114 rewriter.replaceOp(op, newOp.getResults()); in matchAndRewrite() 154 auto &dstRegion = newOp.getRegion(i); in matchAndRewrite() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/Dialect/SCF/Transforms/ |
H A D | StructuralTypeConversions.cpp | 55 newOp.getLoopBody().end()); in matchAndRewrite() 60 if (failed(rewriter.convertRegionTypes(&newOp.getLoopBody(), in matchAndRewrite() 66 newOp->setOperands(operands); in matchAndRewrite() 68 for (auto t : llvm::zip(newOp.getResults(), newResultTypes)) in matchAndRewrite() 71 rewriter.replaceOp(op, newOp.getResults()); in matchAndRewrite() 106 newOp.thenRegion().end()); in matchAndRewrite() 108 newOp.elseRegion().end()); in matchAndRewrite() 111 newOp->setOperands(operands); in matchAndRewrite() 114 rewriter.replaceOp(op, newOp.getResults()); in matchAndRewrite() 154 auto &dstRegion = newOp.getRegion(i); in matchAndRewrite() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/Dialect/SCF/Transforms/ |
H A D | StructuralTypeConversions.cpp | 55 newOp.getLoopBody().end()); 60 if (failed(rewriter.convertRegionTypes(&newOp.getLoopBody(), 66 newOp->setOperands(operands); 68 for (auto t : llvm::zip(newOp.getResults(), newResultTypes)) 71 rewriter.replaceOp(op, newOp.getResults()); 106 newOp.thenRegion().end()); 108 newOp.elseRegion().end()); 111 newOp->setOperands(operands); 114 rewriter.replaceOp(op, newOp.getResults()); 154 auto &dstRegion = newOp.getRegion(i); in ParallelLoopTiling() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/lib/Dialect/SCF/Transforms/ |
H A D | StructuralTypeConversions.cpp | 55 newOp.getLoopBody().end()); in matchAndRewrite() 60 if (failed(rewriter.convertRegionTypes(&newOp.getLoopBody(), in matchAndRewrite() 66 newOp->setOperands(operands); in matchAndRewrite() 68 for (auto t : llvm::zip(newOp.getResults(), newResultTypes)) in matchAndRewrite() 71 rewriter.replaceOp(op, newOp.getResults()); in matchAndRewrite() 105 rewriter.inlineRegionBefore(op.thenRegion(), newOp.thenRegion(), in matchAndRewrite() 106 newOp.thenRegion().end()); in matchAndRewrite() 108 newOp.elseRegion().end()); in matchAndRewrite() 111 newOp->setOperands(operands); in matchAndRewrite() 112 for (auto t : llvm::zip(newOp.getResults(), newResultTypes)) in matchAndRewrite() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/mlir/lib/Dialect/SCF/Transforms/ |
H A D | StructuralTypeConversions.cpp | 55 newOp.getLoopBody().end()); in matchAndRewrite() 60 if (failed(rewriter.convertRegionTypes(&newOp.getLoopBody(), in matchAndRewrite() 66 newOp.getOperation()->setOperands(operands); in matchAndRewrite() 68 for (auto t : llvm::zip(newOp.getResults(), newResultTypes)) in matchAndRewrite() 71 rewriter.replaceOp(op, newOp.getResults()); in matchAndRewrite() 105 rewriter.inlineRegionBefore(op.thenRegion(), newOp.thenRegion(), in matchAndRewrite() 106 newOp.thenRegion().end()); in matchAndRewrite() 108 newOp.elseRegion().end()); in matchAndRewrite() 111 newOp.getOperation()->setOperands(operands); in matchAndRewrite() 112 for (auto t : llvm::zip(newOp.getResults(), newResultTypes)) in matchAndRewrite() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/lib/Dialect/SCF/Transforms/ |
H A D | StructuralTypeConversions.cpp | 55 newOp.getLoopBody().end()); in matchAndRewrite() 60 if (failed(rewriter.convertRegionTypes(&newOp.getLoopBody(), in matchAndRewrite() 66 newOp->setOperands(operands); in matchAndRewrite() 68 for (auto t : llvm::zip(newOp.getResults(), newResultTypes)) in matchAndRewrite() 71 rewriter.replaceOp(op, newOp.getResults()); in matchAndRewrite() 105 rewriter.inlineRegionBefore(op.thenRegion(), newOp.thenRegion(), in matchAndRewrite() 106 newOp.thenRegion().end()); in matchAndRewrite() 108 newOp.elseRegion().end()); in matchAndRewrite() 111 newOp->setOperands(operands); in matchAndRewrite() 112 for (auto t : llvm::zip(newOp.getResults(), newResultTypes)) in matchAndRewrite() [all …]
|
/dports/misc/mnn/MNN-1.2.0/tools/converter/source/optimizer/tfextra/ |
H A D | TFConvolutionMerge.cpp | 70 std::unique_ptr<OpT> newOp(new OpT); in onExecute() local 71 newOp->name = expr->name(); in onExecute() 109 std::unique_ptr<OpT> newOp(new OpT); in onExecute() local 110 newOp->name = expr->name(); in onExecute() 166 std::unique_ptr<OpT> newOp(new OpT); in onExecute() local 167 newOp->name = expr->name(); in onExecute() 251 std::unique_ptr<OpT> newOp(new OpT); in onExecute() local 252 newOp->name = expr->name(); in onExecute() 253 newOp->type = OpType_Deconvolution; in onExecute() 320 std::unique_ptr<OpT> newOp(new OpT); in onExecute() local [all …]
|
/dports/games/retroarch/RetroArch-1.9.7/deps/glslang/glslang/glslang/MachineIndependent/ |
H A D | Intermediate.cpp | 496 TOperator newOp = EOpNull; in createConversion() local 639 case EbtInt8: newOp = EOpConvInt8ToInt; break; in createConversion() 640 case EbtUint8: newOp = EOpConvUint8ToInt; break; in createConversion() 641 case EbtInt16: newOp = EOpConvInt16ToInt; break; in createConversion() 642 case EbtUint16: newOp = EOpConvUint16ToInt; break; in createConversion() 643 case EbtUint: newOp = EOpConvUintToInt; break; in createConversion() 644 case EbtBool: newOp = EOpConvBoolToInt; break; in createConversion() 645 case EbtFloat: newOp = EOpConvFloatToInt; break; in createConversion() 646 case EbtDouble: newOp = EOpConvDoubleToInt; break; in createConversion() 647 case EbtFloat16: newOp = EOpConvFloat16ToInt; break; in createConversion() [all …]
|
/dports/emulators/ppsspp/ppsspp-1.12.3/ext/glslang/glslang/MachineIndependent/ |
H A D | Intermediate.cpp | 718 case EbtUint: newOp = EOpConvUintToInt; break; in buildConvertOp() 719 case EbtBool: newOp = EOpConvBoolToInt; break; in buildConvertOp() 720 case EbtFloat: newOp = EOpConvFloatToInt; break; in buildConvertOp() 722 case EbtInt8: newOp = EOpConvInt8ToInt; break; in buildConvertOp() 723 case EbtUint8: newOp = EOpConvUint8ToInt; break; in buildConvertOp() 724 case EbtInt16: newOp = EOpConvInt16ToInt; break; in buildConvertOp() 725 case EbtUint16: newOp = EOpConvUint16ToInt; break; in buildConvertOp() 726 case EbtDouble: newOp = EOpConvDoubleToInt; break; in buildConvertOp() 727 case EbtFloat16: newOp = EOpConvFloat16ToInt; break; in buildConvertOp() 728 case EbtInt64: newOp = EOpConvInt64ToInt; break; in buildConvertOp() [all …]
|
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/ext/glslang/glslang/MachineIndependent/ |
H A D | Intermediate.cpp | 718 case EbtUint: newOp = EOpConvUintToInt; break; in buildConvertOp() 719 case EbtBool: newOp = EOpConvBoolToInt; break; in buildConvertOp() 720 case EbtFloat: newOp = EOpConvFloatToInt; break; in buildConvertOp() 722 case EbtInt8: newOp = EOpConvInt8ToInt; break; in buildConvertOp() 723 case EbtUint8: newOp = EOpConvUint8ToInt; break; in buildConvertOp() 724 case EbtInt16: newOp = EOpConvInt16ToInt; break; in buildConvertOp() 725 case EbtUint16: newOp = EOpConvUint16ToInt; break; in buildConvertOp() 726 case EbtDouble: newOp = EOpConvDoubleToInt; break; in buildConvertOp() 727 case EbtFloat16: newOp = EOpConvFloat16ToInt; break; in buildConvertOp() 728 case EbtInt64: newOp = EOpConvInt64ToInt; break; in buildConvertOp() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/glslang/src/glslang/MachineIndependent/ |
H A D | Intermediate.cpp | 718 case EbtUint: newOp = EOpConvUintToInt; break; in buildConvertOp() 719 case EbtBool: newOp = EOpConvBoolToInt; break; in buildConvertOp() 720 case EbtFloat: newOp = EOpConvFloatToInt; break; in buildConvertOp() 722 case EbtInt8: newOp = EOpConvInt8ToInt; break; in buildConvertOp() 723 case EbtUint8: newOp = EOpConvUint8ToInt; break; in buildConvertOp() 724 case EbtInt16: newOp = EOpConvInt16ToInt; break; in buildConvertOp() 725 case EbtUint16: newOp = EOpConvUint16ToInt; break; in buildConvertOp() 726 case EbtDouble: newOp = EOpConvDoubleToInt; break; in buildConvertOp() 727 case EbtFloat16: newOp = EOpConvFloat16ToInt; break; in buildConvertOp() 728 case EbtInt64: newOp = EOpConvInt64ToInt; break; in buildConvertOp() [all …]
|
/dports/emulators/dolphin-emu/dolphin-3152428/Externals/glslang/glslang/MachineIndependent/ |
H A D | Intermediate.cpp | 718 case EbtUint: newOp = EOpConvUintToInt; break; in buildConvertOp() 719 case EbtBool: newOp = EOpConvBoolToInt; break; in buildConvertOp() 720 case EbtFloat: newOp = EOpConvFloatToInt; break; in buildConvertOp() 722 case EbtInt8: newOp = EOpConvInt8ToInt; break; in buildConvertOp() 723 case EbtUint8: newOp = EOpConvUint8ToInt; break; in buildConvertOp() 724 case EbtInt16: newOp = EOpConvInt16ToInt; break; in buildConvertOp() 725 case EbtUint16: newOp = EOpConvUint16ToInt; break; in buildConvertOp() 726 case EbtDouble: newOp = EOpConvDoubleToInt; break; in buildConvertOp() 727 case EbtFloat16: newOp = EOpConvFloat16ToInt; break; in buildConvertOp() 728 case EbtInt64: newOp = EOpConvInt64ToInt; break; in buildConvertOp() [all …]
|
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/glslang/glslang/MachineIndependent/ |
H A D | Intermediate.cpp | 718 case EbtUint: newOp = EOpConvUintToInt; break; in buildConvertOp() 719 case EbtBool: newOp = EOpConvBoolToInt; break; in buildConvertOp() 720 case EbtFloat: newOp = EOpConvFloatToInt; break; in buildConvertOp() 722 case EbtInt8: newOp = EOpConvInt8ToInt; break; in buildConvertOp() 723 case EbtUint8: newOp = EOpConvUint8ToInt; break; in buildConvertOp() 724 case EbtInt16: newOp = EOpConvInt16ToInt; break; in buildConvertOp() 725 case EbtUint16: newOp = EOpConvUint16ToInt; break; in buildConvertOp() 726 case EbtDouble: newOp = EOpConvDoubleToInt; break; in buildConvertOp() 727 case EbtFloat16: newOp = EOpConvFloat16ToInt; break; in buildConvertOp() 728 case EbtInt64: newOp = EOpConvInt64ToInt; break; in buildConvertOp() [all …]
|
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/glslang/glslang/MachineIndependent/ |
H A D | Intermediate.cpp | 718 case EbtUint: newOp = EOpConvUintToInt; break; in buildConvertOp() 719 case EbtBool: newOp = EOpConvBoolToInt; break; in buildConvertOp() 720 case EbtFloat: newOp = EOpConvFloatToInt; break; in buildConvertOp() 722 case EbtInt8: newOp = EOpConvInt8ToInt; break; in buildConvertOp() 723 case EbtUint8: newOp = EOpConvUint8ToInt; break; in buildConvertOp() 724 case EbtInt16: newOp = EOpConvInt16ToInt; break; in buildConvertOp() 725 case EbtUint16: newOp = EOpConvUint16ToInt; break; in buildConvertOp() 726 case EbtDouble: newOp = EOpConvDoubleToInt; break; in buildConvertOp() 727 case EbtFloat16: newOp = EOpConvFloat16ToInt; break; in buildConvertOp() 728 case EbtInt64: newOp = EOpConvInt64ToInt; break; in buildConvertOp() [all …]
|
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/ext/glslang/glslang/MachineIndependent/ |
H A D | Intermediate.cpp | 718 case EbtUint: newOp = EOpConvUintToInt; break; in buildConvertOp() 719 case EbtBool: newOp = EOpConvBoolToInt; break; in buildConvertOp() 720 case EbtFloat: newOp = EOpConvFloatToInt; break; in buildConvertOp() 722 case EbtInt8: newOp = EOpConvInt8ToInt; break; in buildConvertOp() 723 case EbtUint8: newOp = EOpConvUint8ToInt; break; in buildConvertOp() 724 case EbtInt16: newOp = EOpConvInt16ToInt; break; in buildConvertOp() 725 case EbtUint16: newOp = EOpConvUint16ToInt; break; in buildConvertOp() 726 case EbtDouble: newOp = EOpConvDoubleToInt; break; in buildConvertOp() 727 case EbtFloat16: newOp = EOpConvFloat16ToInt; break; in buildConvertOp() 728 case EbtInt64: newOp = EOpConvInt64ToInt; break; in buildConvertOp() [all …]
|
/dports/graphics/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521/src/ncnn/glslang/glslang/MachineIndependent/ |
H A D | Intermediate.cpp | 718 case EbtUint: newOp = EOpConvUintToInt; break; in buildConvertOp() 719 case EbtBool: newOp = EOpConvBoolToInt; break; in buildConvertOp() 720 case EbtFloat: newOp = EOpConvFloatToInt; break; in buildConvertOp() 722 case EbtInt8: newOp = EOpConvInt8ToInt; break; in buildConvertOp() 723 case EbtUint8: newOp = EOpConvUint8ToInt; break; in buildConvertOp() 724 case EbtInt16: newOp = EOpConvInt16ToInt; break; in buildConvertOp() 725 case EbtUint16: newOp = EOpConvUint16ToInt; break; in buildConvertOp() 726 case EbtDouble: newOp = EOpConvDoubleToInt; break; in buildConvertOp() 727 case EbtFloat16: newOp = EOpConvFloat16ToInt; break; in buildConvertOp() 728 case EbtInt64: newOp = EOpConvInt64ToInt; break; in buildConvertOp() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/glslang/src/glslang/MachineIndependent/ |
H A D | Intermediate.cpp | 718 case EbtUint: newOp = EOpConvUintToInt; break; in buildConvertOp() 719 case EbtBool: newOp = EOpConvBoolToInt; break; in buildConvertOp() 720 case EbtFloat: newOp = EOpConvFloatToInt; break; in buildConvertOp() 722 case EbtInt8: newOp = EOpConvInt8ToInt; break; in buildConvertOp() 723 case EbtUint8: newOp = EOpConvUint8ToInt; break; in buildConvertOp() 724 case EbtInt16: newOp = EOpConvInt16ToInt; break; in buildConvertOp() 725 case EbtUint16: newOp = EOpConvUint16ToInt; break; in buildConvertOp() 726 case EbtDouble: newOp = EOpConvDoubleToInt; break; in buildConvertOp() 727 case EbtFloat16: newOp = EOpConvFloat16ToInt; break; in buildConvertOp() 728 case EbtInt64: newOp = EOpConvInt64ToInt; break; in buildConvertOp() [all …]
|
/dports/graphics/glslang/glslang-11.7.1/glslang/MachineIndependent/ |
H A D | Intermediate.cpp | 722 case EbtUint: newOp = EOpConvUintToInt; break; in buildConvertOp() 723 case EbtBool: newOp = EOpConvBoolToInt; break; in buildConvertOp() 724 case EbtFloat: newOp = EOpConvFloatToInt; break; in buildConvertOp() 726 case EbtInt8: newOp = EOpConvInt8ToInt; break; in buildConvertOp() 727 case EbtUint8: newOp = EOpConvUint8ToInt; break; in buildConvertOp() 728 case EbtInt16: newOp = EOpConvInt16ToInt; break; in buildConvertOp() 729 case EbtUint16: newOp = EOpConvUint16ToInt; break; in buildConvertOp() 730 case EbtDouble: newOp = EOpConvDoubleToInt; break; in buildConvertOp() 731 case EbtFloat16: newOp = EOpConvFloat16ToInt; break; in buildConvertOp() 732 case EbtInt64: newOp = EOpConvInt64ToInt; break; in buildConvertOp() [all …]
|
/dports/benchmarks/vkpeak/vkpeak-20210430/ncnn/glslang/glslang/MachineIndependent/ |
H A D | Intermediate.cpp | 718 case EbtUint: newOp = EOpConvUintToInt; break; in buildConvertOp() 719 case EbtBool: newOp = EOpConvBoolToInt; break; in buildConvertOp() 720 case EbtFloat: newOp = EOpConvFloatToInt; break; in buildConvertOp() 722 case EbtInt8: newOp = EOpConvInt8ToInt; break; in buildConvertOp() 723 case EbtUint8: newOp = EOpConvUint8ToInt; break; in buildConvertOp() 724 case EbtInt16: newOp = EOpConvInt16ToInt; break; in buildConvertOp() 725 case EbtUint16: newOp = EOpConvUint16ToInt; break; in buildConvertOp() 726 case EbtDouble: newOp = EOpConvDoubleToInt; break; in buildConvertOp() 727 case EbtFloat16: newOp = EOpConvFloat16ToInt; break; in buildConvertOp() 728 case EbtInt64: newOp = EOpConvInt64ToInt; break; in buildConvertOp() [all …]
|
/dports/graphics/realsr-ncnn-vulkan/realsr-ncnn-vulkan-20210210/src/ncnn/glslang/glslang/MachineIndependent/ |
H A D | Intermediate.cpp | 718 case EbtUint: newOp = EOpConvUintToInt; break; in buildConvertOp() 719 case EbtBool: newOp = EOpConvBoolToInt; break; in buildConvertOp() 720 case EbtFloat: newOp = EOpConvFloatToInt; break; in buildConvertOp() 722 case EbtInt8: newOp = EOpConvInt8ToInt; break; in buildConvertOp() 723 case EbtUint8: newOp = EOpConvUint8ToInt; break; in buildConvertOp() 724 case EbtInt16: newOp = EOpConvInt16ToInt; break; in buildConvertOp() 725 case EbtUint16: newOp = EOpConvUint16ToInt; break; in buildConvertOp() 726 case EbtDouble: newOp = EOpConvDoubleToInt; break; in buildConvertOp() 727 case EbtFloat16: newOp = EOpConvFloat16ToInt; break; in buildConvertOp() 728 case EbtInt64: newOp = EOpConvInt64ToInt; break; in buildConvertOp() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/Conversion/GPUCommon/ |
H A D | IndexIntrinsicsOpLowering.h | 48 Value newOp; in matchAndRewrite() local 51 newOp = rewriter.create<XOp>(loc, IntegerType::get(context, 32)); in matchAndRewrite() 54 newOp = rewriter.create<YOp>(loc, IntegerType::get(context, 32)); in matchAndRewrite() 57 newOp = rewriter.create<ZOp>(loc, IntegerType::get(context, 32)); in matchAndRewrite() 64 newOp = rewriter.create<LLVM::SExtOp>( in matchAndRewrite() 65 loc, IntegerType::get(context, indexBitwidth), newOp); in matchAndRewrite() 67 newOp = rewriter.create<LLVM::TruncOp>( in matchAndRewrite() 68 loc, IntegerType::get(context, indexBitwidth), newOp); in matchAndRewrite() 71 rewriter.replaceOp(op, {newOp}); in matchAndRewrite()
|
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/lib/Conversion/GPUCommon/ |
H A D | IndexIntrinsicsOpLowering.h | 48 Value newOp; in matchAndRewrite() local 51 newOp = rewriter.create<XOp>(loc, IntegerType::get(context, 32)); in matchAndRewrite() 54 newOp = rewriter.create<YOp>(loc, IntegerType::get(context, 32)); in matchAndRewrite() 57 newOp = rewriter.create<ZOp>(loc, IntegerType::get(context, 32)); in matchAndRewrite() 64 newOp = rewriter.create<LLVM::SExtOp>( in matchAndRewrite() 65 loc, IntegerType::get(context, indexBitwidth), newOp); in matchAndRewrite() 67 newOp = rewriter.create<LLVM::TruncOp>( in matchAndRewrite() 68 loc, IntegerType::get(context, indexBitwidth), newOp); in matchAndRewrite() 71 rewriter.replaceOp(op, {newOp}); in matchAndRewrite()
|