projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add method for checking if a path is a symbolic link.
[oota-llvm.git]
/
include
/
llvm
/
Type.h
diff --git
a/include/llvm/Type.h
b/include/llvm/Type.h
index dae08c03f468d6ac189277f39d7f3fe62427644a..0939d67265b096222fb004d10f9ada199ba79ee8 100644
(file)
--- a/
include/llvm/Type.h
+++ b/
include/llvm/Type.h
@@
-12,7
+12,6
@@
#include "llvm/AbstractTypeUser.h"
#include "llvm/Support/Casting.h"
#include "llvm/AbstractTypeUser.h"
#include "llvm/Support/Casting.h"
-#include "llvm/System/DataTypes.h"
#include "llvm/ADT/GraphTraits.h"
#include <string>
#include <vector>
#include "llvm/ADT/GraphTraits.h"
#include <string>
#include <vector>
@@
-213,7
+212,7
@@
public:
bool isFloatingPointTy() const { return ID == FloatTyID || ID == DoubleTyID ||
ID == X86_FP80TyID || ID == FP128TyID || ID == PPC_FP128TyID; }
bool isFloatingPointTy() const { return ID == FloatTyID || ID == DoubleTyID ||
ID == X86_FP80TyID || ID == FP128TyID || ID == PPC_FP128TyID; }
- /// is
PPC_FP128
Ty - Return true if this is X86 MMX.
+ /// is
X86_MMX
Ty - Return true if this is X86 MMX.
bool isX86_MMXTy() const { return ID == X86_MMXTyID; }
/// isFPOrFPVectorTy - Return true if this is a FP type or a vector of FP.
bool isX86_MMXTy() const { return ID == X86_MMXTyID; }
/// isFPOrFPVectorTy - Return true if this is a FP type or a vector of FP.
@@
-314,7
+313,8
@@
public:
///
bool isSized() const {
// If it's a primitive, it is always sized.
///
bool isSized() const {
// If it's a primitive, it is always sized.
- if (ID == IntegerTyID || isFloatingPointTy() || ID == PointerTyID)
+ if (ID == IntegerTyID || isFloatingPointTy() || ID == PointerTyID ||
+ ID == X86_MMXTyID)
return true;
// If it is not something that can have a size (e.g. a function or label),
// it doesn't have a size.
return true;
// If it is not something that can have a size (e.g. a function or label),
// it doesn't have a size.