//===- FloatingPointMode.cpp ------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "llvm/ADT/FloatingPointMode.h" #include "llvm/ADT/StringExtras.h" usingnamespacellvm; FPClassTest llvm::fneg(FPClassTest Mask) { … } FPClassTest llvm::inverse_fabs(FPClassTest Mask) { … } FPClassTest llvm::unknown_sign(FPClassTest Mask) { … } // Every bitfield has a unique name and one or more aliasing names that cover // multiple bits. Names should be listed in order of preference, with higher // popcounts listed first. // // Bits are consumed as printed. Each field should only be represented in one // printed field. static constexpr std::pair<FPClassTest, StringLiteral> NoFPClassName[] = …; raw_ostream &llvm::operator<<(raw_ostream &OS, FPClassTest Mask) { … }