//===---- llvm/MDBuilder.h - Builder for LLVM metadata ----------*- 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 MDBuilder class, which is used as a convenient way to // create LLVM metadata with a consistent and simplified interface. // //===----------------------------------------------------------------------===// #ifndef LLVM_IR_MDBUILDER_H #define LLVM_IR_MDBUILDER_H #include "llvm/ADT/DenseSet.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "llvm/IR/GlobalValue.h" #include "llvm/Support/DataTypes.h" #include <utility> namespace llvm { class APInt; template <typename T> class ArrayRef; class LLVMContext; class Constant; class ConstantAsMetadata; class Function; class MDNode; class MDString; class Metadata; class MDBuilder { … }; } // end namespace llvm #endif