Lines Matching defs:or
2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
5 * This code is free software; you can redistribute it and/or modify it
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20 * or visit www.oracle.com if you need additional information or have any
36 public static int or(int a, int b) {
59 StructuredGraph g = parseEager("or", AllowAssumptions.NO, getInitialOptions());
64 testAgainstExpected(g.method(), new Result(or(-1, 17), null), (Object) null, -1, 17);
65 testAgainstExpected(g.method(), new Result(or(-1, 1), null), (Object) null, -1, 1);
66 testAgainstExpected(g.method(), new Result(or(-1, -1), null), (Object) null, -1, -1);
67 testAgainstExpected(g.method(), new Result(or(Integer.MIN_VALUE, Integer.MIN_VALUE), null), (Object) null, Integer.MIN_VALUE, Integer.MIN_VALUE);