//===- ConstantPools.h - Keep track of assembler-generated ------*- 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 declares the ConstantPool and AssemblerConstantPools classes. // //===----------------------------------------------------------------------===// #ifndef LLVM_MC_CONSTANTPOOLS_H #define LLVM_MC_CONSTANTPOOLS_H #include "llvm/ADT/MapVector.h" #include "llvm/ADT/SmallVector.h" #include "llvm/Support/SMLoc.h" #include <cstdint> #include <map> namespace llvm { class MCContext; class MCExpr; class MCSection; class MCStreamer; class MCSymbol; class MCSymbolRefExpr; struct ConstantPoolEntry { … }; // A class to keep track of assembler-generated constant pools that are use to // implement the ldr-pseudo. class ConstantPool { … }; class AssemblerConstantPools { … }; } // end namespace llvm #endif // LLVM_MC_CONSTANTPOOLS_H