Lines Matching refs:TargetTriple

445 static ShadowMapping getShadowMapping(Triple &TargetTriple, int LongSize,  in getShadowMapping()  argument
447 bool IsAndroid = TargetTriple.isAndroid(); in getShadowMapping()
448 bool IsIOS = TargetTriple.isiOS() || TargetTriple.isWatchOS(); in getShadowMapping()
449 bool IsMacOS = TargetTriple.isMacOSX(); in getShadowMapping()
450 bool IsFreeBSD = TargetTriple.isOSFreeBSD(); in getShadowMapping()
451 bool IsNetBSD = TargetTriple.isOSNetBSD(); in getShadowMapping()
452 bool IsPS4CPU = TargetTriple.isPS4CPU(); in getShadowMapping()
453 bool IsLinux = TargetTriple.isOSLinux(); in getShadowMapping()
454 bool IsPPC64 = TargetTriple.getArch() == Triple::ppc64 || in getShadowMapping()
455 TargetTriple.getArch() == Triple::ppc64le; in getShadowMapping()
456 bool IsSystemZ = TargetTriple.getArch() == Triple::systemz; in getShadowMapping()
457 bool IsX86_64 = TargetTriple.getArch() == Triple::x86_64; in getShadowMapping()
458 bool IsMIPS32 = TargetTriple.isMIPS32(); in getShadowMapping()
459 bool IsMIPS64 = TargetTriple.isMIPS64(); in getShadowMapping()
460 bool IsArmOrThumb = TargetTriple.isARM() || TargetTriple.isThumb(); in getShadowMapping()
461 bool IsAArch64 = TargetTriple.getArch() == Triple::aarch64; in getShadowMapping()
462 bool IsRISCV64 = TargetTriple.getArch() == Triple::riscv64; in getShadowMapping()
463 bool IsWindows = TargetTriple.isOSWindows(); in getShadowMapping()
464 bool IsFuchsia = TargetTriple.isOSFuchsia(); in getShadowMapping()
465 bool IsEmscripten = TargetTriple.isOSEmscripten(); in getShadowMapping()
466 bool IsAMDGPU = TargetTriple.isAMDGPU(); in getShadowMapping()
556 IsAndroid && !TargetTriple.isAndroidVersionLT(21); in getShadowMapping()
568 static uint64_t GetCtorAndDtorPriority(Triple &TargetTriple) { in GetCtorAndDtorPriority() argument
569 if (TargetTriple.isOSEmscripten()) { in GetCtorAndDtorPriority()
626 TargetTriple = Triple(M.getTargetTriple()); in AddressSanitizer()
628 Mapping = getShadowMapping(TargetTriple, LongSize, this->CompileKernel); in AddressSanitizer()
709 Triple TargetTriple; member
804 TargetTriple = Triple(M.getTargetTriple()); in ModuleAddressSanitizer()
805 Mapping = getShadowMapping(TargetTriple, LongSize, this->CompileKernel); in ModuleAddressSanitizer()
861 Triple TargetTriple; member in __anonf69996040211::ModuleAddressSanitizer
1411 !(TargetTriple.isAMDGPU() && !isUnsupportedAMDGPUAddrspace(Ptr))) in ignoreAccess()
1733 if (TargetTriple.isAMDGPU()) { in instrumentAddress()
1854 if (Priority->getLimitedValue() <= GetCtorAndDtorPriority(TargetTriple)) in createInitializerPoisonCalls()
1890 !(TargetTriple.isAMDGPU() && !isUnsupportedAMDGPUAddrspace(G))) in shouldInstrumentGlobal()
1904 if (!TargetTriple.isOSBinFormatCOFF()) { in shouldInstrumentGlobal()
1951 if (TargetTriple.isOSBinFormatELF()) { in shouldInstrumentGlobal()
1965 if (TargetTriple.isOSBinFormatCOFF() && Section.contains('$')) { in shouldInstrumentGlobal()
1971 if (TargetTriple.isOSBinFormatMachO()) { in shouldInstrumentGlobal()
2021 if (!TargetTriple.isOSBinFormatMachO()) in ShouldUseMachOGlobalsSection()
2024 if (TargetTriple.isMacOSX() && !TargetTriple.isMacOSXVersionLT(10, 11)) in ShouldUseMachOGlobalsSection()
2026 if (TargetTriple.isiOS() /* or tvOS */ && !TargetTriple.isOSVersionLT(9)) in ShouldUseMachOGlobalsSection()
2028 if (TargetTriple.isWatchOS() && !TargetTriple.isOSVersionLT(2)) in ShouldUseMachOGlobalsSection()
2035 switch (TargetTriple.getObjectFormat()) { in getGlobalMetadataSection()
2105 if (TargetTriple.isOSBinFormatCOFF()) { in SetComdatForGlobalMetadata()
2122 auto Linkage = TargetTriple.isOSBinFormatMachO() in CreateMetadataGlobal()
2430 if (TargetTriple.isOSBinFormatMachO() && !G->hasSection() && in InstrumentGlobals()
2463 TargetTriple.isOSBinFormatELF() || TargetTriple.isOSBinFormatMachO() || in InstrumentGlobals()
2464 TargetTriple.isOSBinFormatWasm(); in InstrumentGlobals()
2520 (UseGlobalsGC && TargetTriple.isOSBinFormatELF()) ? getUniqueModuleId(&M) in InstrumentGlobals()
2526 } else if (UseGlobalsGC && TargetTriple.isOSBinFormatCOFF()) { in InstrumentGlobals()
2602 const uint64_t Priority = GetCtorAndDtorPriority(TargetTriple); in instrumentModule()
2607 if (UseCtorComdat && TargetTriple.isOSBinFormatELF() && CtorComdat) { in instrumentModule()