Home
last modified time | relevance | path

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

/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/
Dunary_transform.pass.cpp25 TEST_CONSTEXPR int plusOne(int v) { return v + 1; } in plusOne() function
34 auto it = std::transform(std::begin(ia), std::end(ia), std::begin(ib), plusOne); in test_constexpr()
52 OutIter(ib), plusOne); in test()
/external/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/
Dunary_transform.pass.cpp24 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()
/external/llvm-project/mlir/lib/Dialect/StandardOps/Transforms/
DExpandOps.cpp125 Value plusOne = in matchAndRewrite() local
133 Value x = rewriter.create<SelectOp>(loc, compare, minusOne, plusOne); in matchAndRewrite()
137 Value posRes = rewriter.create<AddIOp>(loc, plusOne, xPlusADivB); in matchAndRewrite()
176 Value plusOne = in matchAndRewrite() local
184 Value x = rewriter.create<SelectOp>(loc, compare, plusOne, minusOne); in matchAndRewrite()