Add DebugLoc-aware constructors for SDNode derived
[oota-llvm.git] / include / llvm / CodeGen / MachineConstantPool.h
index 9db68319e8c2e54315c66d20497d1c9d6cd7d496..cfa192aca6b26fb80247df3185724c95a430ef1c 100644 (file)
 #ifndef LLVM_CODEGEN_MACHINECONSTANTPOOL_H
 #define LLVM_CODEGEN_MACHINECONSTANTPOOL_H
 
-#include "llvm/ADT/FoldingSet.h"
 #include <cassert>
 #include <vector>
 
 namespace llvm {
 
-class AsmPrinter;
 class Constant;
+class FoldingSetNodeID;
 class TargetData;
 class TargetMachine;
 class Type;
@@ -122,7 +121,8 @@ public:
   unsigned getConstantPoolAlignment() const { return PoolAlignment; }
   
   /// getConstantPoolIndex - Create a new entry in the constant pool or return
-  /// an existing one.  User must specify an alignment in bytes for the object.
+  /// an existing one.  User must specify the log2 of the minimum required
+  /// alignment for the object.
   unsigned getConstantPoolIndex(Constant *C, unsigned Alignment);
   unsigned getConstantPoolIndex(MachineConstantPoolValue *V,unsigned Alignment);