| /llvm-project-15.0.7/mlir/lib/Conversion/AMDGPUToROCDL/ |
| H A D | AMDGPUToROCDL.cpp | 199 voffset ? rewriter.create<LLVM::AddOp>(loc, voffset, index) : index; in matchAndRewrite() 205 voffset ? rewriter.create<LLVM::AddOp>(loc, voffset, extraOffsetConst) in matchAndRewrite() 214 sgprOffset = rewriter.create<LLVM::AddOp>( in matchAndRewrite() 217 sgprOffset = rewriter.create<LLVM::AddOp>( in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch6/mlir/ |
| H A D | Dialect.cpp | 227 void AddOp::build(mlir::OpBuilder &builder, mlir::OperationState &state, in build() 233 mlir::ParseResult AddOp::parse(mlir::OpAsmParser &parser, in parse() 238 void AddOp::print(mlir::OpAsmPrinter &p) { printBinaryOp(p, *this); } in print() 242 void AddOp::inferShapes() { getResult().setType(getOperand(0).getType()); } in inferShapes()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch4/mlir/ |
| H A D | Dialect.cpp | 227 void AddOp::build(mlir::OpBuilder &builder, mlir::OperationState &state, in build() 233 mlir::ParseResult AddOp::parse(mlir::OpAsmParser &parser, in parse() 238 void AddOp::print(mlir::OpAsmPrinter &p) { printBinaryOp(p, *this); } in print() 242 void AddOp::inferShapes() { getResult().setType(getOperand(0).getType()); } in inferShapes()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch5/mlir/ |
| H A D | Dialect.cpp | 227 void AddOp::build(mlir::OpBuilder &builder, mlir::OperationState &state, in build() 233 mlir::ParseResult AddOp::parse(mlir::OpAsmParser &parser, in parse() 238 void AddOp::print(mlir::OpAsmPrinter &p) { printBinaryOp(p, *this); } in print() 242 void AddOp::inferShapes() { getResult().setType(getOperand(0).getType()); } in inferShapes()
|
| /llvm-project-15.0.7/mlir/test/python/dialects/ |
| H A D | tosa.py | 8 assert tosa.AddOp
|
| H A D | complex_dialect.py | 25 return mlir_complex.AddOp(arg, arg)
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch3/mlir/ |
| H A D | Dialect.cpp | 165 void AddOp::build(mlir::OpBuilder &builder, mlir::OperationState &state, in build() 171 mlir::ParseResult AddOp::parse(mlir::OpAsmParser &parser, in parse() 176 void AddOp::print(mlir::OpAsmPrinter &p) { printBinaryOp(p, *this); } in print()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch2/mlir/ |
| H A D | Dialect.cpp | 165 void AddOp::build(mlir::OpBuilder &builder, mlir::OperationState &state, in build() 171 mlir::ParseResult AddOp::parse(mlir::OpAsmParser &parser, in parse() 176 void AddOp::print(mlir::OpAsmPrinter &p) { printBinaryOp(p, *this); } in print()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/ComplexToLLVM/ |
| H A D | ComplexToLLVM.cpp | 163 struct AddOpConversion : public ConvertOpToLLVMPattern<complex::AddOp> { 164 using ConvertOpToLLVMPattern<complex::AddOp>::ConvertOpToLLVMPattern; 167 matchAndRewrite(complex::AddOp op, OpAdaptor adaptor, in matchAndRewrite() 171 unpackBinaryComplexOperands<complex::AddOp>(op, adaptor, rewriter); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/ |
| H A D | Dialect.cpp | 254 void AddOp::build(mlir::OpBuilder &builder, mlir::OperationState &state, in build() 260 mlir::ParseResult AddOp::parse(mlir::OpAsmParser &parser, in parse() 265 void AddOp::print(mlir::OpAsmPrinter &p) { printBinaryOp(p, *this); } in print() 269 void AddOp::inferShapes() { getResult().setType(getOperand(0).getType()); } in inferShapes()
|
| /llvm-project-15.0.7/llvm/lib/Target/XCore/ |
| H A D | XCoreISelLowering.cpp | 583 SDValue AddOp; in isADDADDMUL() local 586 AddOp = N0; in isADDADDMUL() 589 AddOp = N1; in isADDADDMUL() 602 Addend0 = AddOp.getOperand(0); in isADDADDMUL() 603 Addend1 = AddOp.getOperand(1); in isADDADDMUL() 610 Mul0 = AddOp.getOperand(0).getOperand(0); in isADDADDMUL() 611 Mul1 = AddOp.getOperand(0).getOperand(1); in isADDADDMUL() 612 Addend0 = AddOp.getOperand(1); in isADDADDMUL() 620 Mul0 = AddOp.getOperand(1).getOperand(0); in isADDADDMUL() 621 Mul1 = AddOp.getOperand(1).getOperand(1); in isADDADDMUL() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/MemRefToLLVM/ |
| H A D | AllocLikeConversion.cpp | 19 Value bumped = rewriter.create<LLVM::AddOp>(loc, input, bump); in createAligned()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Tosa/IR/ |
| H A D | TosaCanonicalizations.cpp | 163 struct AddZeroOptimization : public OpRewritePattern<tosa::AddOp> { 166 LogicalResult matchAndRewrite(tosa::AddOp op, in matchAndRewrite() 195 void AddOp::getCanonicalizationPatterns(RewritePatternSet &results, in getCanonicalizationPatterns()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch3/include/toy/ |
| H A D | Ops.td | 89 // AddOp 92 def AddOp : Toy_Op<"add", [NoSideEffect]> { 105 // Allow building an AddOp with from the two input operands.
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch2/include/toy/ |
| H A D | Ops.td | 90 // AddOp 93 def AddOp : Toy_Op<"add"> { 106 // Allow building an AddOp with from the two input operands.
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Transforms/ |
| H A D | TosaDecomposeDepthwise.cpp | 108 .replaceOpWithNewOp<tosa::AddOp>(op, outputShapeType, outputValue, in matchAndRewrite()
|
| H A D | TosaMakeBroadcastable.cpp | 245 patterns.add<ConvertTosaOp<tosa::AddOp>>(ctx); in runOnOperation()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Complex/IR/ |
| H A D | ComplexOps.cpp | 111 OpFoldResult AddOp::fold(ArrayRef<Attribute> operands) { in fold()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch4/include/toy/ |
| H A D | Ops.td | 92 // AddOp 95 def AddOp : Toy_Op<"add", 109 // Allow building an AddOp with from the two input operands.
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch6/include/toy/ |
| H A D | Ops.td | 92 // AddOp 95 def AddOp : Toy_Op<"add", 109 // Allow building an AddOp with from the two input operands.
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch5/include/toy/ |
| H A D | Ops.td | 92 // AddOp 95 def AddOp : Toy_Op<"add", 109 // Allow building an AddOp with from the two input operands.
|
| /llvm-project-15.0.7/llvm/lib/TableGen/ |
| H A D | SetTheory.cpp | 38 struct AddOp : public SetTheory::Operator { struct 257 addOperator("add", std::make_unique<AddOp>()); in SetTheory()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch7/include/toy/ |
| H A D | Ops.td | 115 // AddOp 118 def AddOp : Toy_Op<"add", 132 // Allow building an AddOp with from the two input operands.
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 1772 Instruction *AddOp = nullptr, *SubOp = nullptr; in foldAddSubSelect() local 1777 AddOp = FI; in foldAddSubSelect() 1783 AddOp = TI; in foldAddSubSelect() 1787 if (AddOp) { in foldAddSubSelect() 1789 if (SubOp->getOperand(0) == AddOp->getOperand(0)) { in foldAddSubSelect() 1790 OtherAddOp = AddOp->getOperand(1); in foldAddSubSelect() 1791 } else if (SubOp->getOperand(0) == AddOp->getOperand(1)) { in foldAddSubSelect() 1792 OtherAddOp = AddOp->getOperand(0); in foldAddSubSelect() 1802 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect() 1812 if (AddOp != TI) in foldAddSubSelect() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/LLVMCommon/ |
| H A D | MemRefBuilder.cpp | 369 builder.create<LLVM::AddOp>(loc, indexType, doubleRank, one); in computeSizes() 374 Value allocationSize = builder.create<LLVM::AddOp>( in computeSizes()
|