mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +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 isUnalignedMemAccessFast() const { return IsUAMemFast; }
|
||||||
bool hasVectorUAMem() const { return HasVectorUAMem; }
|
bool hasVectorUAMem() const { return HasVectorUAMem; }
|
||||||
|
|
||||||
|
const Triple &getTargetTriple() const { return TargetTriple; }
|
||||||
|
|
||||||
bool isTargetDarwin() const { return TargetTriple.getOS() == Triple::Darwin; }
|
bool isTargetDarwin() const { return TargetTriple.getOS() == Triple::Darwin; }
|
||||||
bool isTargetFreeBSD() const { return TargetTriple.getOS() == Triple::FreeBSD; }
|
bool isTargetFreeBSD() const { return TargetTriple.getOS() == Triple::FreeBSD; }
|
||||||
bool isTargetSolaris() const { return TargetTriple.getOS() == Triple::Solaris; }
|
bool isTargetSolaris() const { return TargetTriple.getOS() == Triple::Solaris; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user