//===- llvm/FixedPointBuilder.h - Builder for fixed-point ops ---*- 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 FixedPointBuilder class, which is used as a convenient // way to lower fixed-point arithmetic operations to LLVM IR. // //===----------------------------------------------------------------------===// #ifndef LLVM_IR_FIXEDPOINTBUILDER_H #define LLVM_IR_FIXEDPOINTBUILDER_H #include "llvm/ADT/APFixedPoint.h" #include "llvm/IR/Constant.h" #include "llvm/IR/Constants.h" #include "llvm/IR/IRBuilder.h" #include "llvm/IR/InstrTypes.h" #include "llvm/IR/Instruction.h" #include "llvm/IR/IntrinsicInst.h" #include "llvm/IR/Intrinsics.h" #include "llvm/IR/Type.h" #include "llvm/IR/Value.h" #include <cmath> namespace llvm { template <class IRBuilderTy> class FixedPointBuilder { … }; } // end namespace llvm #endif // LLVM_IR_FIXEDPOINTBUILDER_H