mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-09 10:31:14 +00:00
Target/X86: Add getTargetTriple() accessor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129812 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
18a0929a7a
commit
24cfd06d03
@ -165,6 +165,8 @@ public:
|
||||
bool isUnalignedMemAccessFast() const { return IsUAMemFast; }
|
||||
bool hasVectorUAMem() const { return HasVectorUAMem; }
|
||||
|
||||
const Triple &getTargetTriple() const { return TargetTriple; }
|
||||
|
||||
bool isTargetDarwin() const { return TargetTriple.getOS() == Triple::Darwin; }
|
||||
bool isTargetFreeBSD() const { return TargetTriple.getOS() == Triple::FreeBSD; }
|
||||
bool isTargetSolaris() const { return TargetTriple.getOS() == Triple::Solaris; }
|
||||
|
Loading…
Reference in New Issue
Block a user