projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename some GC classes so that their roll will hopefully be clearer.
[oota-llvm.git]
/
include
/
llvm
/
CodeGen
/
MachineConstantPool.h
diff --git
a/include/llvm/CodeGen/MachineConstantPool.h
b/include/llvm/CodeGen/MachineConstantPool.h
index 1500053a125d3d9992aa28c6faaaaa6a31a0a642..ba491ce2556cdefe28eb368db4ea4a22d83a54d0 100644
(file)
--- a/
include/llvm/CodeGen/MachineConstantPool.h
+++ b/
include/llvm/CodeGen/MachineConstantPool.h
@@
-2,8
+2,8
@@
//
// The LLVM Compiler Infrastructure
//
//
// The LLVM Compiler Infrastructure
//
-// This file
was developed by the LLVM research group and is distributed under
-//
the University of Illinois Open Source
License. See LICENSE.TXT for details.
+// This file
is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
//
//===----------------------------------------------------------------------===//
//
@@
-16,8
+16,8
@@
#define LLVM_CODEGEN_MACHINECONSTANTPOOL_H
#include "llvm/ADT/FoldingSet.h"
#define LLVM_CODEGEN_MACHINECONSTANTPOOL_H
#include "llvm/ADT/FoldingSet.h"
-#include "llvm/CodeGen/SelectionDAGNodes.h"
#include "llvm/Support/Streams.h"
#include "llvm/Support/Streams.h"
+#include <cassert>
#include <vector>
#include <iosfwd>
#include <vector>
#include <iosfwd>
@@
-27,6
+27,7
@@
class AsmPrinter;
class Constant;
class TargetData;
class TargetMachine;
class Constant;
class TargetData;
class TargetMachine;
+class Type;
class MachineConstantPool;
/// Abstract base class for all machine specific constantpool value subclasses.
class MachineConstantPool;
/// Abstract base class for all machine specific constantpool value subclasses.
@@
-36,7
+37,7
@@
class MachineConstantPoolValue {
public:
explicit MachineConstantPoolValue(const Type *ty) : Ty(ty) {}
public:
explicit MachineConstantPoolValue(const Type *ty) : Ty(ty) {}
- virtual ~MachineConstantPoolValue() {}
;
+ virtual ~MachineConstantPoolValue() {}
/// getType - get type of this MachineConstantPoolValue.
///
/// getType - get type of this MachineConstantPoolValue.
///
@@
-114,7
+115,8
@@
class MachineConstantPool {
std::vector<MachineConstantPoolEntry> Constants; ///< The pool of constants.
public:
/// @brief The only constructor.
std::vector<MachineConstantPoolEntry> Constants; ///< The pool of constants.
public:
/// @brief The only constructor.
- MachineConstantPool(const TargetData *td) : TD(td), PoolAlignment(1) {}
+ explicit MachineConstantPool(const TargetData *td)
+ : TD(td), PoolAlignment(1) {}
~MachineConstantPool();
/// getConstantPoolAlignment - Return the log2 of the alignment required by
~MachineConstantPool();
/// getConstantPoolAlignment - Return the log2 of the alignment required by