projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updates to Win64EH.h structures.
[oota-llvm.git]
/
include
/
llvm
/
Support
/
TargetFolder.h
diff --git
a/include/llvm/Support/TargetFolder.h
b/include/llvm/Support/TargetFolder.h
index a02db2fe66681e7c0efa092dd0a7525ed83758fe..f2d83a4565d864ca753f11b2d3f50ba4a0b03e1d 100644
(file)
--- a/
include/llvm/Support/TargetFolder.h
+++ b/
include/llvm/Support/TargetFolder.h
@@
-19,18
+19,18
@@
#ifndef LLVM_SUPPORT_TARGETFOLDER_H
#define LLVM_SUPPORT_TARGETFOLDER_H
#ifndef LLVM_SUPPORT_TARGETFOLDER_H
#define LLVM_SUPPORT_TARGETFOLDER_H
-#include "llvm/Constants.h"
-#include "llvm/InstrTypes.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/Analysis/ConstantFolding.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/Analysis/ConstantFolding.h"
+#include "llvm/Constants.h"
+#include "llvm/InstrTypes.h"
namespace llvm {
namespace llvm {
-class
TargetData
;
+class
DataLayout
;
/// TargetFolder - Create constants with target dependent folding.
class TargetFolder {
/// TargetFolder - Create constants with target dependent folding.
class TargetFolder {
- const
TargetData
*TD;
+ const
DataLayout
*TD;
/// Fold - Fold the constant using target specific information.
Constant *Fold(Constant *C) const {
/// Fold - Fold the constant using target specific information.
Constant *Fold(Constant *C) const {
@@
-41,7
+41,7
@@
class TargetFolder {
}
public:
}
public:
- explicit TargetFolder(const
TargetData
*TheTD) : TD(TheTD) {}
+ explicit TargetFolder(const
DataLayout
*TheTD) : TD(TheTD) {}
//===--------------------------------------------------------------------===//
// Binary Operators
//===--------------------------------------------------------------------===//
// Binary Operators