FLANG
FPMaxminBehavior.h
Go to the documentation of this file.
1//===- Support/FPMaxminBehavior.h - FP max/min behavior option --*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
13//===----------------------------------------------------------------------===//
14
15#ifndef FORTRAN_SUPPORT_FPMAXMINBEHAVIOR_H_
16#define FORTRAN_SUPPORT_FPMAXMINBEHAVIOR_H_
17
18#include "llvm/ADT/StringRef.h"
19
20namespace Fortran::common {
21
29enum class FPMaxminBehavior : unsigned {
30 Legacy,
31 Portable,
32 Extremum,
33 ExtremeNum,
34};
35
38FPMaxminBehavior parseFPMaxminBehavior(llvm::StringRef value);
39
40} // namespace Fortran::common
41
42#endif // FORTRAN_SUPPORT_FPMAXMINBEHAVIOR_H_
Definition bit-population-count.h:20
FPMaxminBehavior parseFPMaxminBehavior(llvm::StringRef value)
Definition FPMaxminBehavior.cpp:14
FPMaxminBehavior
Definition FPMaxminBehavior.h:29