//===- RuntimeLibcalls.h - Interface for runtime libcalls -------*- 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 implements a common interface to work with library calls into a // runtime that may be emitted by a given backend. // //===----------------------------------------------------------------------===// #ifndef LLVM_IR_RUNTIME_LIBCALLS_H #define LLVM_IR_RUNTIME_LIBCALLS_H #include "llvm/ADT/ArrayRef.h" #include "llvm/IR/CallingConv.h" #include "llvm/Support/AtomicOrdering.h" #include "llvm/TargetParser/Triple.h" namespace llvm { namespace RTLIB { /// RTLIB::Libcall enum - This enum defines all of the runtime library calls /// the backend can emit. The various long double types cannot be merged, /// because 80-bit library functions use "xf" and 128-bit use "tf". /// /// When adding PPCF128 functions here, note that their names generally need /// to be overridden for Darwin with the xxx$LDBL128 form. See /// PPCISelLowering.cpp. /// enum Libcall { … }; /// A simple container for information about the supported runtime calls. struct RuntimeLibcallsInfo { … }; } // namespace RTLIB } // namespace llvm #endif // LLVM_IR_RUNTIME_LIBCALLS_H