Home
last modified time | relevance | path

Searched refs:minusOne (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/StandardOps/Transforms/
DExpandOps.cpp129 Value minusOne = in matchAndRewrite() local
133 Value x = rewriter.create<SelectOp>(loc, compare, minusOne, plusOne); in matchAndRewrite()
180 Value minusOne = in matchAndRewrite() local
184 Value x = rewriter.create<SelectOp>(loc, compare, plusOne, minusOne); in matchAndRewrite()
188 Value negRes = rewriter.create<SubIOp>(loc, minusOne, xMinusADivB); in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVM.cpp364 Value minusOne = createConstantAllBitsSet(loc, srcType, dstType, rewriter); in matchAndRewrite() local
366 rewriter.create<LLVM::ShlOp>(loc, dstType, minusOne, count); in matchAndRewrite()
368 maskShiftedByCount, minusOne); in matchAndRewrite()
372 loc, dstType, maskShiftedByCountAndOffset, minusOne); in matchAndRewrite()
506 Value minusOne = createConstantAllBitsSet(loc, srcType, dstType, rewriter); in matchAndRewrite() local
508 rewriter.create<LLVM::ShlOp>(loc, dstType, minusOne, count); in matchAndRewrite()
510 minusOne); in matchAndRewrite()
936 IntegerAttr minusOne = minusOneIntegerAttribute(srcType, rewriter); in matchAndRewrite() local
941 srcType.template cast<VectorType>(), minusOne)) in matchAndRewrite()
942 : rewriter.create<LLVM::ConstantOp>(loc, dstType, minusOne); in matchAndRewrite()
/external/llvm-project/flang/lib/Lower/
DCharacterExpr.cpp349 auto minusOne = builder.createIntegerConstant(loc, indexType, -1); in createLenTrim() local
356 loc, lastChar, zero, minusOne, trueVal, lastChar); in createLenTrim()