projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add accessor
[oota-llvm.git]
/
lib
/
Target
/
X86
/
X86Subtarget.h
diff --git
a/lib/Target/X86/X86Subtarget.h
b/lib/Target/X86/X86Subtarget.h
index d21bf32f07006361d99b59d88b92b9d1c50f58fa..24247ba6ab3c591fc40b020e1809151beab2f0a5 100644
(file)
--- a/
lib/Target/X86/X86Subtarget.h
+++ b/
lib/Target/X86/X86Subtarget.h
@@
-82,6
+82,7
@@
public:
bool has3DNowA() const { return X863DNowLevel >= ThreeDNowA; }
bool isTargetDarwin() const { return TargetType == isDarwin; }
+ bool isTargetELF() const { return TargetType == isELF; }
};
} // End llvm namespace