Searched refs:minusOne (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/Transforms/ |
| H A D | ExpandOps.cpp | 39 Value minusOne = rewriter.create<arith::SubIOp>(loc, a, one); in matchAndRewrite() local 40 Value quotient = rewriter.create<arith::DivUIOp>(loc, minusOne, b); in matchAndRewrite() 60 Value minusOne = createConst(loc, type, -1, rewriter); in matchAndRewrite() local 64 Value x = rewriter.create<arith::SelectOp>(loc, compare, minusOne, plusOne); in matchAndRewrite() 112 Value minusOne = createConst(loc, type, -1, rewriter); in matchAndRewrite() local 116 Value x = rewriter.create<arith::SelectOp>(loc, compare, plusOne, minusOne); in matchAndRewrite() 120 Value negRes = rewriter.create<arith::SubIOp>(loc, minusOne, xMinusADivB); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/SPIRVToLLVM/ |
| H A D | SPIRVToLLVM.cpp | 361 Value minusOne = createConstantAllBitsSet(loc, srcType, dstType, rewriter); in matchAndRewrite() local 363 rewriter.create<LLVM::ShlOp>(loc, dstType, minusOne, count); in matchAndRewrite() 365 maskShiftedByCount, minusOne); in matchAndRewrite() 369 loc, dstType, maskShiftedByCountAndOffset, minusOne); in matchAndRewrite() 502 Value minusOne = createConstantAllBitsSet(loc, srcType, dstType, rewriter); in matchAndRewrite() local 504 rewriter.create<LLVM::ShlOp>(loc, dstType, minusOne, count); in matchAndRewrite() 506 minusOne); in matchAndRewrite() 940 IntegerAttr minusOne = minusOneIntegerAttribute(srcType, rewriter); in matchAndRewrite() local 945 srcType.template cast<VectorType>(), minusOne)) in matchAndRewrite() 946 : rewriter.create<LLVM::ConstantOp>(loc, dstType, minusOne); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/GPUToNVVM/ |
| H A D | LowerGpuOpsToNVVMOps.cpp | 94 Value minusOne = rewriter.create<LLVM::ConstantOp>( in matchAndRewrite() local 101 Value activeMask = rewriter.create<LLVM::LShrOp>(loc, int32Type, minusOne, in matchAndRewrite()
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/ |
| H A D | Factory.h | 95 auto minusOne = [&](mlir::Value v) -> mlir::Value { in genCharacterCopy() 100 mlir::Value len = dstLen ? minusOne(dstLen) in genCharacterCopy()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Builder/ |
| H A D | Character.cpp | 527 auto minusOne = builder.createIntegerConstant(loc, indexType, -1); in createLenTrim() local 534 builder.create<fir::IterWhileOp>(loc, lastChar, zero, minusOne, trueVal, in createLenTrim()
|