llvm/llvm/include/llvm/IR/FMF.h

//===-- llvm/FMF.h - Fast math flags subclass -------------------*- 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
//
//===----------------------------------------------------------------------===//
//
// This file defines the fast math flags.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_IR_FMF_H
#define LLVM_IR_FMF_H

namespace llvm {
class raw_ostream;

/// Convenience struct for specifying and reasoning about fast-math flags.
class FastMathFlags {};

inline FastMathFlags operator|(FastMathFlags LHS, FastMathFlags RHS) {}

inline FastMathFlags operator&(FastMathFlags LHS, FastMathFlags RHS) {}

inline raw_ostream &operator<<(raw_ostream &O, FastMathFlags FMF) {}

} // end namespace llvm

#endif // LLVM_IR_FMF_H