mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 00:20:25 +00:00
Directly access objects which may change during compilation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184121 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -132,15 +132,17 @@ public:
|
||||
/// address of the function constant pool values.
|
||||
/// @brief The machine constant pool.
|
||||
class MachineConstantPool {
|
||||
const DataLayout *TD; ///< The machine's DataLayout.
|
||||
unsigned PoolAlignment; ///< The alignment for the pool.
|
||||
const TargetMachine &TM; ///< The target machine.
|
||||
unsigned PoolAlignment; ///< The alignment for the pool.
|
||||
std::vector<MachineConstantPoolEntry> Constants; ///< The pool of constants.
|
||||
/// MachineConstantPoolValues that use an existing MachineConstantPoolEntry.
|
||||
DenseSet<MachineConstantPoolValue*> MachineCPVsSharingEntries;
|
||||
|
||||
const DataLayout *getDataLayout() const;
|
||||
public:
|
||||
/// @brief The only constructor.
|
||||
explicit MachineConstantPool(const DataLayout *td)
|
||||
: TD(td), PoolAlignment(1) {}
|
||||
explicit MachineConstantPool(const TargetMachine &TM)
|
||||
: TM(TM), PoolAlignment(1) {}
|
||||
~MachineConstantPool();
|
||||
|
||||
/// getConstantPoolAlignment - Return the alignment required by
|
||||
|
||||
Reference in New Issue
Block a user