Searched refs:plusOne (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/ |
| H A D | unary_transform.pass.cpp | 24 TEST_CONSTEXPR int plusOne(int v) { return v + 1; } in plusOne() function 33 auto it = std::transform(std::begin(ia), std::end(ia), std::begin(ib), plusOne); in test_constexpr() 51 OutIter(ib), plusOne); in test()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/Transforms/ |
| H A D | ExpandOps.cpp | 41 Value plusOne = rewriter.create<arith::AddIOp>(loc, quotient, one); in matchAndRewrite() local 42 rewriter.replaceOpWithNewOp<arith::SelectOp>(op, compare, zero, plusOne); in matchAndRewrite() 58 Value plusOne = createConst(loc, type, 1, rewriter); in matchAndRewrite() local 64 Value x = rewriter.create<arith::SelectOp>(loc, compare, minusOne, plusOne); in matchAndRewrite() 68 Value posRes = rewriter.create<arith::AddIOp>(loc, plusOne, xPlusADivB); in matchAndRewrite() 110 Value plusOne = createConst(loc, type, 1, rewriter); in matchAndRewrite() local 116 Value x = rewriter.create<arith::SelectOp>(loc, compare, plusOne, minusOne); in matchAndRewrite()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | LSPBinderTests.cpp | 67 void plusOne(const Foo &Params, Callback<Foo> Reply) { in TEST() function 82 Binder.method("plusOne", &H, &Handler::plusOne); in TEST() 85 Binder.command("cmdPlusOne", &H, &Handler::plusOne); in TEST()
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | ConvertExpr.cpp | 6455 auto plusOne = builder.create<mlir::arith::AddIOp>(loc, off, one); in copyNextArrayCtorSection() local 6458 mem = growBuffer(mem, plusOne, limit, buffSize, eleSz); in copyNextArrayCtorSection() 6473 builder.create<fir::StoreOp>(loc, plusOne, buffPos); in copyNextArrayCtorSection() 6485 auto plusOne = builder.create<mlir::arith::AddIOp>(loc, off, one); in copyNextArrayCtorSection() local 6488 mem = growBuffer(mem, plusOne, limit, buffSize, eleSz); in copyNextArrayCtorSection() 6499 builder.create<fir::StoreOp>(loc, plusOne, buffPos); in copyNextArrayCtorSection()
|