projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a GR32_NOREX_NOSP register class and fix a bug where getMatchingSuperRegClass()
[oota-llvm.git]
/
lib
/
Target
/
ARM
/
ARMSubtarget.h
diff --git
a/lib/Target/ARM/ARMSubtarget.h
b/lib/Target/ARM/ARMSubtarget.h
index f880bc958feee366e926a15f94daa618012cd054..0271c873f191a92942c00925f408e9230d3b8689 100644
(file)
--- a/
lib/Target/ARM/ARMSubtarget.h
+++ b/
lib/Target/ARM/ARMSubtarget.h
@@
-201,6
+201,8
@@
protected:
bool hasFP16() const { return HasFP16; }
bool hasD16() const { return HasD16; }
bool hasFP16() const { return HasFP16; }
bool hasD16() const { return HasD16; }
+ const Triple &getTargetTriple() const { return TargetTriple; }
+
bool isTargetDarwin() const { return TargetTriple.isOSDarwin(); }
bool isTargetELF() const { return !isTargetDarwin(); }
bool isTargetDarwin() const { return TargetTriple.isOSDarwin(); }
bool isTargetELF() const { return !isTargetDarwin(); }