13#ifndef LLVM_FRONTEND_OPENMP_OMPVERSION_H
14#define LLVM_FRONTEND_OPENMP_OMPVERSION_H
23 constexpr explicit operator value_type()
const {
return V; }
24 constexpr explicit operator bool()
const {
return V != 0; }
37 return A <
B ||
A ==
B;
54 static_cast<UnderlyingTy
>(V));
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
This file defines DenseMapInfo traits for DenseMap.
constexpr bool operator>(Version A, Version B)
constexpr bool operator<(Version A, Version B)
constexpr bool operator<=(Version A, Version B)
constexpr bool operator>=(Version A, Version B)
constexpr bool operator!=(Version A, Version B)
constexpr bool operator==(Version A, Version B)
This is an optimization pass for GlobalISel generic memory operations.
static bool isEqual(omp::Version LHS, omp::Version RHS)
static unsigned getHashValue(omp::Version V)
An information struct used to provide DenseMap with the various necessary components for a given valu...
friend constexpr bool operator<(Version A, Version B)
friend constexpr bool operator==(Version A, Version B)
constexpr Version(value_type Ver=0)