mini-llvm 0.1.0
Loading...
Searching...
No Matches
SGE.h
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2
3#pragma once
4
5#include <concepts>
6
8
9namespace mini_llvm::ops {
10
11struct SGE {
12 template <typename T>
13 requires std::integral<T>
14 bool operator()(T x, T y) const noexcept {
15 return !SLT()(x, y);
16 }
17};
18
19} // namespace mini_llvm::ops
Definition Add.h:9
Definition SGE.h:11
bool operator()(T x, T y) const noexcept
Definition SGE.h:14
Definition SLT.h:11