mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Add isBGQ method to PPCSubtarget
This function will be used in future commits. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173729 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6bdbf061c3
commit
d3427d3f40
@ -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
Block a user