• Home
  • Raw
  • Download

Lines Matching refs:Triple

41                                              const llvm::Triple &Triple,  in CalculateRTTIMode()  argument
52 if (!Triple.isPS4CPU()) in CalculateRTTIMode()
68 ToolChain::ToolChain(const Driver &D, const llvm::Triple &T, in ToolChain()
70 : D(D), Triple(T), Args(Args), CachedRTTIArg(GetRTTIArgument(Args)), in ToolChain()
71 CachedRTTIMode(CalculateRTTIMode(Args, Triple, CachedRTTIArg)) { in ToolChain()
193 switch (Triple.getArch()) { in getDefaultUniversalArchName()
194 case llvm::Triple::ppc: in getDefaultUniversalArchName()
196 case llvm::Triple::ppc64: in getDefaultUniversalArchName()
198 case llvm::Triple::ppc64le: in getDefaultUniversalArchName()
201 return Triple.getArchName(); in getDefaultUniversalArchName()
273 const llvm::Triple &Triple = TC.getTriple(); in getArchNameForCompilerRTLib() local
274 bool IsWindows = Triple.isOSWindows(); in getArchNameForCompilerRTLib()
276 if (Triple.isWindowsMSVCEnvironment() && TC.getArch() == llvm::Triple::x86) in getArchNameForCompilerRTLib()
279 if (TC.getArch() == llvm::Triple::arm || TC.getArch() == llvm::Triple::armeb) in getArchNameForCompilerRTLib()
289 const llvm::Triple &TT = getTriple(); in getCompilerRT()
296 const char *Suffix = Shared ? (Triple.isOSWindows() ? ".dll" : ".so") in getCompilerRT()
300 StringRef OSLibName = Triple.isOSFreeBSD() ? "freebsd" : getOS(); in getCompilerRT()
382 llvm::Triple HostTriple(LLVM_HOST_TRIPLE); in isCrossCompiling()
386 case llvm::Triple::arm: in isCrossCompiling()
387 case llvm::Triple::armeb: in isCrossCompiling()
388 case llvm::Triple::thumb: in isCrossCompiling()
389 case llvm::Triple::thumbeb: in isCrossCompiling()
390 return getArch() != llvm::Triple::arm && getArch() != llvm::Triple::thumb && in isCrossCompiling()
391 getArch() != llvm::Triple::armeb && getArch() != llvm::Triple::thumbeb; in isCrossCompiling()
405 return Triple.getArch() == llvm::Triple::arm || in isThreadModelSupported()
406 Triple.getArch() == llvm::Triple::armeb || in isThreadModelSupported()
407 Triple.getArch() == llvm::Triple::thumb || in isThreadModelSupported()
408 Triple.getArch() == llvm::Triple::thumbeb || in isThreadModelSupported()
409 Triple.getArch() == llvm::Triple::wasm32 || in isThreadModelSupported()
410 Triple.getArch() == llvm::Triple::wasm64; in isThreadModelSupported()
423 case llvm::Triple::x86_64: { in ComputeLLVMTriple()
424 llvm::Triple Triple = getTriple(); in ComputeLLVMTriple() local
425 if (!Triple.isOSBinFormatMachO()) in ComputeLLVMTriple()
433 Triple.setArchName(MArch); in ComputeLLVMTriple()
435 return Triple.getTriple(); in ComputeLLVMTriple()
437 case llvm::Triple::aarch64: { in ComputeLLVMTriple()
438 llvm::Triple Triple = getTriple(); in ComputeLLVMTriple() local
439 if (!Triple.isOSBinFormatMachO()) in ComputeLLVMTriple()
445 Triple.setArchName("arm64"); in ComputeLLVMTriple()
446 return Triple.getTriple(); in ComputeLLVMTriple()
448 case llvm::Triple::arm: in ComputeLLVMTriple()
449 case llvm::Triple::armeb: in ComputeLLVMTriple()
450 case llvm::Triple::thumb: in ComputeLLVMTriple()
451 case llvm::Triple::thumbeb: { in ComputeLLVMTriple()
453 llvm::Triple Triple = getTriple(); in ComputeLLVMTriple() local
454 bool IsBigEndian = getTriple().getArch() == llvm::Triple::armeb || in ComputeLLVMTriple()
455 getTriple().getArch() == llvm::Triple::thumbeb; in ComputeLLVMTriple()
473 Triple.isOSBinFormatMachO() in ComputeLLVMTriple()
474 ? tools::arm::getARMCPUForMArch(MArch, Triple).str() in ComputeLLVMTriple()
475 : tools::arm::getARMTargetCPU(MCPU, MArch, Triple); in ComputeLLVMTriple()
477 tools::arm::getLLVMArchSuffixForARM(CPU, MArch, Triple); in ComputeLLVMTriple()
498 Triple.setArchName(ArchName + Suffix.str()); in ComputeLLVMTriple()
500 return Triple.getTriple(); in ComputeLLVMTriple()
691 if (getTriple().getArch() == llvm::Triple::x86 || in getSupportedSanitizers()
692 getTriple().getArch() == llvm::Triple::x86_64) in getSupportedSanitizers()