Home
last modified time | relevance | path

Searched refs:TargetTriple (Results 1 – 25 of 60) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86Subtarget.h455 Triple TargetTriple; variable
565 return In64BitMode && (TargetTriple.getEnvironment() == Triple::GNUX32 || in isTarget64BitILP32()
566 TargetTriple.isOSNaCl()); in isTarget64BitILP32()
571 return In64BitMode && (TargetTriple.getEnvironment() != Triple::GNUX32 && in isTarget64BitLP64()
572 !TargetTriple.isOSNaCl()); in isTarget64BitLP64()
752 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()
754 bool isTargetDarwin() const { return TargetTriple.isOSDarwin(); } in isTargetDarwin()
755 bool isTargetFreeBSD() const { return TargetTriple.isOSFreeBSD(); } in isTargetFreeBSD()
756 bool isTargetDragonFly() const { return TargetTriple.isOSDragonFly(); } in isTargetDragonFly()
757 bool isTargetSolaris() const { return TargetTriple.isOSSolaris(); } in isTargetSolaris()
[all …]
DX86Subtarget.cpp328 TM(TM), TargetTriple(TT), StackAlignOverride(StackAlignOverride), in X86Subtarget()
331 In64BitMode(TargetTriple.getArch() == Triple::x86_64), in X86Subtarget()
332 In32BitMode(TargetTriple.getArch() == Triple::x86 && in X86Subtarget()
333 TargetTriple.getEnvironment() != Triple::CODE16), in X86Subtarget()
334 In16BitMode(TargetTriple.getArch() == Triple::x86 && in X86Subtarget()
335 TargetTriple.getEnvironment() == Triple::CODE16), in X86Subtarget()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMSubtarget.h487 Triple TargetTriple; variable
698 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()
700 bool isTargetDarwin() const { return TargetTriple.isOSDarwin(); } in isTargetDarwin()
701 bool isTargetIOS() const { return TargetTriple.isiOS(); } in isTargetIOS()
702 bool isTargetWatchOS() const { return TargetTriple.isWatchOS(); } in isTargetWatchOS()
703 bool isTargetWatchABI() const { return TargetTriple.isWatchABI(); } in isTargetWatchABI()
704 bool isTargetLinux() const { return TargetTriple.isOSLinux(); } in isTargetLinux()
705 bool isTargetNaCl() const { return TargetTriple.isOSNaCl(); } in isTargetNaCl()
706 bool isTargetNetBSD() const { return TargetTriple.isOSNetBSD(); } in isTargetNetBSD()
707 bool isTargetWindows() const { return TargetTriple.isOSWindows(); } in isTargetWindows()
[all …]
DARMTargetMachine.h65 return TargetTriple.getEnvironment() == Triple::GNUEABIHF || in isTargetHardFloat()
66 TargetTriple.getEnvironment() == Triple::MuslEABIHF || in isTargetHardFloat()
67 TargetTriple.getEnvironment() == Triple::EABIHF || in isTargetHardFloat()
68 (TargetTriple.isOSBinFormatMachO() && in isTargetHardFloat()
69 TargetTriple.getSubArch() == Triple::ARMSubArch_v7em) || in isTargetHardFloat()
70 TargetTriple.isOSWindows() || in isTargetHardFloat()
DARMTargetMachine.cpp231 if ((TargetTriple.getEnvironment() == Triple::GNUEABI || in ARMBaseTargetMachine()
232 TargetTriple.getEnvironment() == Triple::GNUEABIHF || in ARMBaseTargetMachine()
233 TargetTriple.getEnvironment() == Triple::MuslEABI || in ARMBaseTargetMachine()
234 TargetTriple.getEnvironment() == Triple::MuslEABIHF) && in ARMBaseTargetMachine()
235 !(TargetTriple.isOSWindows() || TargetTriple.isOSDarwin())) in ARMBaseTargetMachine()
287 I = std::make_unique<ARMSubtarget>(TargetTriple, CPU, FS, *this, isLittle, in getSubtargetImpl()
DARMSubtarget.cpp102 TargetTriple(TT), Options(TM.Options), TM(TM), in ARMSubtarget()
166 StringRef ArchName = TargetTriple.getArchName(); in initSubtargetFeatures()
181 std::string ArchFS = ARM_MC::ParseARMTriple(TargetTriple, CPUString); in initSubtargetFeatures()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCSubtarget.cpp56 : PPCGenSubtargetInfo(TT, CPU, FS), TargetTriple(TT), in PPCSubtarget()
57 IsPPC64(TargetTriple.getArch() == Triple::ppc64 || in PPCSubtarget()
58 TargetTriple.getArch() == Triple::ppc64le), in PPCSubtarget()
128 if (TargetTriple.getArch() == Triple::ppc64le) in initSubtargetFeatures()
130 else if (TargetTriple.getSubArch() == Triple::PPCSubArch_spe) in initSubtargetFeatures()
151 if ((TargetTriple.isOSFreeBSD() && TargetTriple.getOSMajorVersion() >= 13) || in initSubtargetFeatures()
152 TargetTriple.isOSNetBSD() || TargetTriple.isOSOpenBSD() || in initSubtargetFeatures()
153 TargetTriple.isMusl()) in initSubtargetFeatures()
174 IsLittleEndian = (TargetTriple.getArch() == Triple::ppc64le); in initSubtargetFeatures()
DPPCSubtarget.h78 Triple TargetTriple;
313 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()
316 bool isDarwin() const { return TargetTriple.isMacOSX(); } in isDarwin()
318 bool isBGQ() const { return TargetTriple.getVendor() == Triple::BGQ; } in isBGQ()
320 bool isTargetELF() const { return TargetTriple.isOSBinFormatELF(); } in isTargetELF()
321 bool isTargetMachO() const { return TargetTriple.isOSBinFormatMachO(); } in isTargetMachO()
322 bool isTargetLinux() const { return TargetTriple.isOSLinux(); } in isTargetLinux()
325 bool isAIXABI() const { return TargetTriple.isOSAIX(); } in isAIXABI()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64Subtarget.h219 Triple TargetTriple; variable
266 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()
407 bool isTargetDarwin() const { return TargetTriple.isOSDarwin(); } in isTargetDarwin()
408 bool isTargetIOS() const { return TargetTriple.isiOS(); } in isTargetIOS()
409 bool isTargetLinux() const { return TargetTriple.isOSLinux(); } in isTargetLinux()
410 bool isTargetWindows() const { return TargetTriple.isOSWindows(); } in isTargetWindows()
411 bool isTargetAndroid() const { return TargetTriple.isAndroid(); } in isTargetAndroid()
412 bool isTargetFuchsia() const { return TargetTriple.isOSFuchsia(); } in isTargetFuchsia()
414 bool isTargetCOFF() const { return TargetTriple.isOSBinFormatCOFF(); } in isTargetCOFF()
415 bool isTargetELF() const { return TargetTriple.isOSBinFormatELF(); } in isTargetELF()
[all …]
DAArch64Subtarget.cpp173 TargetTriple(TT), FrameLowering(), in AArch64Subtarget()
285 if (TargetTriple.isiOS()) { in supportsAddressTopByteIgnored()
287 TargetTriple.getiOSVersion(Major, Minor, Micro); in supportsAddressTopByteIgnored()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblySubtarget.h55 Triple TargetTriple; variable
87 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()
94 bool hasAddr64() const { return TargetTriple.isArch64Bit(); } in hasAddr64()
DWebAssemblySubtarget.cpp43 TargetTriple(TT), FrameLowering(), in WebAssemblySubtarget()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp426 static ShadowMapping getShadowMapping(Triple &TargetTriple, int LongSize, in getShadowMapping() argument
428 bool IsAndroid = TargetTriple.isAndroid(); in getShadowMapping()
429 bool IsIOS = TargetTriple.isiOS() || TargetTriple.isWatchOS(); in getShadowMapping()
430 bool IsFreeBSD = TargetTriple.isOSFreeBSD(); in getShadowMapping()
431 bool IsNetBSD = TargetTriple.isOSNetBSD(); in getShadowMapping()
432 bool IsPS4CPU = TargetTriple.isPS4CPU(); in getShadowMapping()
433 bool IsLinux = TargetTriple.isOSLinux(); in getShadowMapping()
434 bool IsPPC64 = TargetTriple.getArch() == Triple::ppc64 || in getShadowMapping()
435 TargetTriple.getArch() == Triple::ppc64le; in getShadowMapping()
436 bool IsSystemZ = TargetTriple.getArch() == Triple::systemz; in getShadowMapping()
[all …]
DSanitizerCoverage.cpp241 Triple TargetTriple; member in __anon9ed5d2a00111::ModuleSanitizerCoverage
316 if (!TargetTriple.isOSBinFormatCOFF()) in CreateSecStartEnd()
338 if (TargetTriple.supportsCOMDAT()) { in CreateInitCallsForSections()
346 if (TargetTriple.isOSBinFormatCOFF()) { in CreateInitCallsForSections()
367 TargetTriple = Triple(M.getTargetTriple()); in instrumentModule()
388 if (TargetTriple.getArch() == Triple::x86_64) { in instrumentModule()
418 if (TargetTriple.getArch() == Triple::x86_64) in instrumentModule()
474 if (TargetTriple.isOSBinFormatMachO()) in instrumentModule()
651 if (TargetTriple.supportsCOMDAT() && !F.isInterposable()) in CreateFunctionLocalArrayInSection()
653 GetOrCreateFunctionComdat(F, TargetTriple, CurModuleUniqueId)) in CreateFunctionLocalArrayInSection()
[all …]
DHWAddressSanitizer.cpp246 Triple TargetTriple; member in __anonafc44ef90111::HWAddressSanitizer
264 void init(Triple &TargetTriple);
367 TargetTriple = Triple(M.getTargetTriple()); in initializeModule()
369 Mapping.init(TargetTriple); in initializeModule()
384 !TargetTriple.isAndroid() || !TargetTriple.isAndroidVersionLT(30); in initializeModule()
421 if (!TargetTriple.isAndroid()) { in initializeModule()
581 if (TargetTriple.isAArch64()) in untagPointerOperand()
613 if (!ClInlineAllChecks && TargetTriple.isAArch64() && in instrumentMemAccessInline()
614 TargetTriple.isOSBinFormatELF() && !Recover) { in instrumentMemAccessInline()
672 switch (TargetTriple.getArch()) { in instrumentMemAccessInline()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiSubtarget.cpp39 LanaiSubtarget::LanaiSubtarget(const Triple &TargetTriple, StringRef Cpu, in LanaiSubtarget() argument
44 : LanaiGenSubtargetInfo(TargetTriple, Cpu, FeatureString), in LanaiSubtarget()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/VE/
DVESubtarget.h32 Triple TargetTriple; variable
68 bool isTargetLinux() const { return TargetTriple.isOSLinux(); } in isTargetLinux()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DTargetSelect.cpp39 TargetMachine *EngineBuilder::selectTarget(const Triple &TargetTriple, in selectTarget() argument
43 Triple TheTriple(TargetTriple); in selectTarget()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcSubtarget.h32 Triple TargetTriple; variable
120 bool isTargetLinux() const { return TargetTriple.isOSLinux(); } in isTargetLinux()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsSubtarget.h213 Triple TargetTriple; variable
295 bool isTargetELF() const { return TargetTriple.isOSBinFormatELF(); } in isTargetELF()
348 bool isTargetNaCl() const { return TargetTriple.isOSNaCl(); } in isTargetNaCl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZSubtarget.h73 Triple TargetTriple;
246 bool isTargetELF() const { return TargetTriple.isOSBinFormatELF(); } in isTargetELF()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DTargetMachine.h68 const Triple &TargetTriple, StringRef CPU, StringRef FS,
84 Triple TargetTriple; variable
111 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUSubtarget.h63 Triple TargetTriple;
124 return TargetTriple.getOS() == Triple::AMDHSA; in isAmdHsaOS()
128 return TargetTriple.getOS() == Triple::AMDPAL; in isAmdPalOS()
132 return TargetTriple.getOS() == Triple::Mesa3D; in isMesa3DOS()
287 Triple TargetTriple;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCSubtargetInfo.h75 Triple TargetTriple; variable
104 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVMCAsmInfo.h25 explicit RISCVMCAsmInfo(const Triple &TargetTriple);

123