| /llvm-project-15.0.7/flang/test/Semantics/ |
| H A D | resolve109.f90 | 13 module procedure :: negate 16 module procedure :: negate 19 module procedure :: negate ! a subroutine 27 module procedure :: negate ! a subroutine 34 subroutine negate(x) subroutine
|
| /llvm-project-15.0.7/llvm/utils/lit/lit/ |
| H A D | ShCommands.py | 62 def __init__(self, commands, negate=False, pipe_err=False): argument 64 self.negate = negate 68 return 'Pipeline(%r, %r, %r)' % (self.commands, self.negate, 75 return ((self.commands, self.negate, self.pipe_err) == 76 (other.commands, other.negate, self.pipe_err)) 81 if self.negate:
|
| H A D | ShUtil.py | 242 negate = False 248 return Pipeline(commands, negate, self.pipefail)
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/arithmetic.operations/ |
| H A D | negate.pass.cpp | 23 typedef std::negate<int> F; in main() 31 typedef std::negate<> F2; in main() 37 constexpr int foo = std::negate<int> () (3); in main() 40 constexpr double bar = std::negate<> () (3.0); in main()
|
| H A D | transparent.pass.cpp | 54 static_assert ( !is_transparent<std::negate<int>>::value, "" ); in main() 55 static_assert ( !is_transparent<std::negate<std::string>>::value, "" ); in main() 56 static_assert ( is_transparent<std::negate<void>>::value, "" ); in main() 57 static_assert ( is_transparent<std::negate<>>::value, "" ); in main()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineNegator.cpp | 294 Value *NegOp = negate(I->getOperand(0), Depth + 1); in visitImpl() 328 Value *NegOp1 = negate(I->getOperand(1), Depth + 1); in visitImpl() 331 Value *NegOp2 = negate(I->getOperand(2), Depth + 1); in visitImpl() 341 Value *NegOp0 = negate(I->getOperand(0), Depth + 1); in visitImpl() 344 Value *NegOp1 = negate(I->getOperand(1), Depth + 1); in visitImpl() 374 Value *NegOp = negate(I->getOperand(0), Depth + 1); in visitImpl() 381 if (Value *NegOp0 = negate(I->getOperand(0), Depth + 1)) in visitImpl() 409 if (Value *NegOp = negate(Op, Depth + 1)) { in visitImpl() 450 if (Value *NegOp1 = negate(Ops[1], Depth + 1)) { in visitImpl() 453 } else if (Value *NegOp0 = negate(Ops[0], Depth + 1)) { in visitImpl() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/builtins/ |
| H A D | int_div_impl.inc | 77 fixuint_t a_u = (fixuint_t)(a ^ s_a) + (-s_a); // negate if s_a == -1 78 fixuint_t b_u = (fixuint_t)(b ^ s_b) + (-s_b); // negate if s_b == -1 80 return (COMPUTE_UDIV(a_u, b_u) ^ s_a) + (-s_a); // negate if s_a == -1 88 fixuint_t b_u = (fixuint_t)(b ^ s) + (-s); // negate if s == -1 90 fixuint_t a_u = (fixuint_t)(a ^ s) + (-s); // negate if s == -1 93 return (res ^ s) + (-s); // negate if s == -1
|
| /llvm-project-15.0.7/libcxx/test/libcxx/utilities/function.objects/refwrap/ |
| H A D | layout.unary.compile.pass.cpp | 16 struct S1 : std::negate<int>, std::bit_not<int> {}; 20 struct S2 : std::negate<int> { char c; };
|
| /llvm-project-15.0.7/flang/lib/Parser/ |
| H A D | token-parsers.h | 420 const std::optional<std::uint64_t> &x, Location at, bool negate, in SignedInteger() argument 426 if (negate) { in SignedInteger() 433 return std::make_optional<std::int64_t>(negate ? -value : value); in SignedInteger() 446 bool negate{**sign == '-'}; in Parse() 447 if (negate || **sign == '+') { in Parse() 450 return SignedInteger(digitString64.Parse(state), *sign, negate, state); in Parse() 498 bool negate{false}; in Parse() 500 negate = **sign == '-'; in Parse() 504 DigitStringIgnoreSpaces{}.Parse(state), at, negate, state); in Parse()
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/numeric.ops/transform.inclusive.scan/ |
| H A D | transform_inclusive_scan_bop_uop_init.pass.cpp | 84 test(Iter(ia), Iter(ia + i), std::plus<>(), std::negate<>(), 0, pResN0, pResN0 + i); in test() 85 test(Iter(ia), Iter(ia + i), std::multiplies<>(), std::negate<>(), 0, mResN0, mResN0 + i); in test() 88 test(Iter(ia), Iter(ia + i), std::plus<>(), std::negate<>(), 2, pResN2, pResN2 + i); in test() 89 test(Iter(ia), Iter(ia + i), std::multiplies<>(), std::negate<>(), 2, mResN2, mResN2 + i); in test()
|
| H A D | transform_inclusive_scan_bop_uop.pass.cpp | 75 test(Iter(ia), Iter(ia + i), std::plus<>(), std::negate<>(), pResN0, pResN0 + i); in test() 76 test(Iter(ia), Iter(ia + i), std::multiplies<>(), std::negate<>(), mResN0, mResN0 + i); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/numeric.ops/transform.exclusive.scan/ |
| H A D | transform_exclusive_scan_init_bop_uop.pass.cpp | 82 test(Iter(ia), Iter(ia + i), std::plus<>(), std::negate<>(), 0, pResN0, pResN0 + i); in test() 83 test(Iter(ia), Iter(ia + i), std::multiplies<>(), std::negate<>(), 0, mResN0, mResN0 + i); in test() 86 test(Iter(ia), Iter(ia + i), std::plus<>(), std::negate<>(), 2, pResN2, pResN2 + i); in test() 87 test(Iter(ia), Iter(ia + i), std::multiplies<>(), std::negate<>(), 2, mResN2, mResN2 + i); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/ |
| H A D | ranges_is_heap.pass.cpp | 154 auto negate = [](A a) { return a.x * -1; }; in test() local 158 assert(std::ranges::is_heap(in.begin(), in.end(), {}, negate)); in test() 163 assert(std::ranges::is_heap(in, {}, negate)); in test()
|
| H A D | ranges_is_heap_until.pass.cpp | 158 auto negate = [](A a) { return a.x * -1; }; in test() local 163 auto result_custom_comp = std::ranges::is_heap_until(in.begin(), in.end(), {}, negate); in test() 170 auto result_custom_comp = std::ranges::is_heap_until(in, {}, negate); in test()
|
| /llvm-project-15.0.7/mlir/test/Dialect/Tosa/ |
| H A D | quant-test.mlir | 6 // CHECK: tosa.negate 7 …%0 = "tosa.negate"(%arg0) : (tensor<16x1x1x8x!quant.uniform<u8<1:255>:f32, 0.015680249780416489:12…
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ |
| H A D | ranges_partition.pass.cpp | 176 auto negate = [](int x) { return -x; }; in test() local 188 std::ranges::partition(in.begin(), in.end(), is_negative, negate); in test() 201 std::ranges::partition(in, is_negative, negate); in test()
|
| H A D | ranges_stable_partition.pass.cpp | 212 auto negate = [](int x) { return -x; }; in test() local 224 std::ranges::partition(in.begin(), in.end(), is_negative, negate); in test() 237 std::ranges::partition(in, is_negative, negate); in test()
|
| H A D | ranges_partition_copy.pass.cpp | 235 auto negate = [](int x) { return -x; }; in test() local 248 …std::ranges::partition_copy(in.begin(), in.end(), out1.begin(), out2.begin(), is_negative, negate); in test() 263 std::ranges::partition_copy(in, out1.begin(), out2.begin(), is_negative, negate); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.permutation.generators/ |
| H A D | ranges.prev_permutation.pass.cpp | 215 constexpr A negate() const { return A{i * -1}; } in test() function 223 auto result = std::ranges::prev_permutation(in.begin(), in.end(), {}, &A::negate); in test() 232 auto result = std::ranges::prev_permutation(in, {}, &A::negate); in test()
|
| H A D | ranges.next_permutation.pass.cpp | 215 constexpr A negate() const { return A{i * -1}; } in test() function 223 auto result = std::ranges::next_permutation(in.begin(), in.end(), {}, &A::negate); in test() 232 auto result = std::ranges::next_permutation(in, {}, &A::negate); in test()
|
| /llvm-project-15.0.7/pstl/test/std/numerics/numeric.ops/ |
| H A D | transform_reduce.pass.cpp | 116 …test_by_type<int32_t>(42, std::plus<int32_t>(), std::multiplies<int32_t>(), std::negate<int32_t>(), in main() 124 …test_by_type<MyClass>(MyClass(), std::plus<MyClass>(), std::multiplies<MyClass>(), std::negate<MyC… in main()
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | format-implementation.h | 46 bool negate{ch == '-'}; in GetIntField() 47 if (negate || ch == '+') { in GetIntField() 70 if (negate && (result *= -1) > 0) { in GetIntField()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | negative-sin.ll | 50 ; The 1st negate is strict, so we can't kill that sub, but the 2nd disappears. 68 ; The 2nd negate is strict, so we can't kill it. It becomes an add of zero instead.
|
| /llvm-project-15.0.7/polly/lib/External/isl/cpp/ |
| H A D | cpp-checked.h.top | 80 boolean negate() { 89 return boolean(*this).negate();
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ConstraintSystem.h | 71 static SmallVector<int64_t, 8> negate(SmallVector<int64_t, 8> R) { in negate() function
|