Lines Matching refs:TargetTriple
491 static ShadowMapping getShadowMapping(Triple &TargetTriple, int LongSize, in getShadowMapping() argument
493 bool IsAndroid = TargetTriple.isAndroid(); in getShadowMapping()
494 bool IsIOS = TargetTriple.isiOS() || TargetTriple.isWatchOS(); in getShadowMapping()
495 bool IsFreeBSD = TargetTriple.isOSFreeBSD(); in getShadowMapping()
496 bool IsNetBSD = TargetTriple.isOSNetBSD(); in getShadowMapping()
497 bool IsPS4CPU = TargetTriple.isPS4CPU(); in getShadowMapping()
498 bool IsLinux = TargetTriple.isOSLinux(); in getShadowMapping()
499 bool IsPPC64 = TargetTriple.getArch() == Triple::ppc64 || in getShadowMapping()
500 TargetTriple.getArch() == Triple::ppc64le; in getShadowMapping()
501 bool IsSystemZ = TargetTriple.getArch() == Triple::systemz; in getShadowMapping()
502 bool IsX86 = TargetTriple.getArch() == Triple::x86; in getShadowMapping()
503 bool IsX86_64 = TargetTriple.getArch() == Triple::x86_64; in getShadowMapping()
504 bool IsMIPS32 = TargetTriple.isMIPS32(); in getShadowMapping()
505 bool IsMIPS64 = TargetTriple.isMIPS64(); in getShadowMapping()
506 bool IsArmOrThumb = TargetTriple.isARM() || TargetTriple.isThumb(); in getShadowMapping()
507 bool IsAArch64 = TargetTriple.getArch() == Triple::aarch64; in getShadowMapping()
508 bool IsWindows = TargetTriple.isOSWindows(); in getShadowMapping()
509 bool IsFuchsia = TargetTriple.isOSFuchsia(); in getShadowMapping()
510 bool IsMyriad = TargetTriple.getVendor() == llvm::Triple::Myriad; in getShadowMapping()
596 IsAndroid && !TargetTriple.isAndroidVersionLT(21); in getShadowMapping()
711 Triple TargetTriple; member
811 Triple TargetTriple; member in __anon17c98fd50211::AddressSanitizerModule
1516 bool IsMyriad = TargetTriple.getVendor() == llvm::Triple::Myriad; in instrumentAddress()
1675 if (!TargetTriple.isOSBinFormatCOFF()) { in ShouldInstrumentGlobal()
1722 if (TargetTriple.isOSBinFormatCOFF() && Section.contains('$')) { in ShouldInstrumentGlobal()
1728 if (TargetTriple.isOSBinFormatMachO()) { in ShouldInstrumentGlobal()
1772 if (!TargetTriple.isOSBinFormatMachO()) in ShouldUseMachOGlobalsSection()
1775 if (TargetTriple.isMacOSX() && !TargetTriple.isMacOSXVersionLT(10, 11)) in ShouldUseMachOGlobalsSection()
1777 if (TargetTriple.isiOS() /* or tvOS */ && !TargetTriple.isOSVersionLT(9)) in ShouldUseMachOGlobalsSection()
1779 if (TargetTriple.isWatchOS() && !TargetTriple.isOSVersionLT(2)) in ShouldUseMachOGlobalsSection()
1786 switch (TargetTriple.getObjectFormat()) { in getGlobalMetadataSection()
1863 if (TargetTriple.isOSBinFormatCOFF()) { in SetComdatForGlobalMetadata()
1880 auto Linkage = TargetTriple.isOSBinFormatMachO() in CreateMetadataGlobal()
2159 if (TargetTriple.isOSBinFormatMachO() && !G->hasSection() && in InstrumentGlobals()
2195 TargetTriple.isOSBinFormatELF() || TargetTriple.isOSBinFormatMachO() || in InstrumentGlobals()
2196 TargetTriple.isOSBinFormatWasm(); in InstrumentGlobals()
2252 (UseGlobalsGC && TargetTriple.isOSBinFormatELF()) ? getUniqueModuleId(&M) in InstrumentGlobals()
2258 } else if (UseGlobalsGC && TargetTriple.isOSBinFormatCOFF()) { in InstrumentGlobals()
2288 TargetTriple = Triple(M.getTargetTriple()); in runOnModule()
2289 Mapping = getShadowMapping(TargetTriple, LongSize, CompileKernel); in runOnModule()
2314 if (UseCtorComdat && TargetTriple.isOSBinFormatELF() && CtorComdat) { in runOnModule()
2411 TargetTriple = Triple(M.getTargetTriple()); in doInitialization()
2413 Mapping = getShadowMapping(TargetTriple, LongSize, CompileKernel); in doInitialization()