forked from OSchip/llvm-project
Add isBGQ method to PPCSubtarget
This function will be used in future commits. llvm-svn: 173729
This commit is contained in:
parent
5548cb50b2
commit
7f9e8d3eaa
|
@ -160,6 +160,8 @@ public:
|
|||
bool isDarwin() const { return TargetTriple.isMacOSX(); }
|
||||
/// isBGP - True if this is a BG/P platform.
|
||||
bool isBGP() const { return TargetTriple.getVendor() == Triple::BGP; }
|
||||
/// isBGQ - True if this is a BG/Q platform.
|
||||
bool isBGQ() const { return TargetTriple.getVendor() == Triple::BGQ; }
|
||||
|
||||
bool isDarwinABI() const { return isDarwin(); }
|
||||
bool isSVR4ABI() const { return !isDarwin(); }
|
||||
|
|
Loading…
Reference in New Issue