/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Triple.cpp | 19 StringRef Triple::getArchTypeName(ArchType Kind) { in getArchTypeName() 79 StringRef Triple::getArchTypePrefix(ArchType Kind) { in getArchTypePrefix() 153 StringRef Triple::getVendorTypeName(VendorType Kind) { in getVendorTypeName() 178 StringRef Triple::getOSTypeName(OSType Kind) { in getOSTypeName() 222 StringRef Triple::getEnvironmentTypeName(EnvironmentType Kind) { in getEnvironmentTypeName() 249 static Triple::ArchType parseBPFArch(StringRef ArchName) { in parseBPFArch() 252 return Triple::bpfel; in parseBPFArch() 254 return Triple::bpfeb; in parseBPFArch() 256 return Triple::bpfeb; in parseBPFArch() 258 return Triple::bpfel; in parseBPFArch() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | Triple.h | 43 class Triple { 259 Triple() in Triple() function 263 explicit Triple(const Twine &Str); 264 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr); 265 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, 268 bool operator==(const Triple &Other) const { 275 bool operator!=(const Triple &Other) const { 430 bool isOSVersionLT(const Triple &Other) const { in isOSVersionLT() 444 if (getOS() == Triple::MacOSX) 455 return getOS() == Triple::Darwin || getOS() == Triple::MacOSX; in isMacOSX() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | ELFObjectFile.cpp | 303 void ELFObjectFileBase::setARMSubArch(Triple &TheTriple) const { in setARMSubArch() 304 if (TheTriple.getSubArch() != Triple::NoSubArch) in setARMSubArch() 311 std::string Triple; in setARMSubArch() local 314 Triple = "thumb"; in setARMSubArch() 316 Triple = "arm"; in setARMSubArch() 321 Triple += "v4"; in setARMSubArch() 324 Triple += "v4t"; in setARMSubArch() 327 Triple += "v5t"; in setARMSubArch() 330 Triple += "v5te"; in setARMSubArch() 333 Triple += "v5tej"; in setARMSubArch() [all …]
|
D | RelocationResolver.cpp | 531 case Triple::x86_64: in getRelocationResolver() 533 case Triple::x86: in getRelocationResolver() 535 case Triple::arm: in getRelocationResolver() 536 case Triple::thumb: in getRelocationResolver() 538 case Triple::aarch64: in getRelocationResolver() 546 case Triple::x86_64: in getRelocationResolver() 548 case Triple::aarch64: in getRelocationResolver() 549 case Triple::aarch64_be: in getRelocationResolver() 551 case Triple::bpfel: in getRelocationResolver() 552 case Triple::bpfeb: in getRelocationResolver() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCAsmInfo.cpp | 39 X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(const Triple &T) { in X86MCAsmInfoDarwin() 40 bool is64Bit = T.getArch() == Triple::x86_64; in X86MCAsmInfoDarwin() 78 X86_64MCAsmInfoDarwin::X86_64MCAsmInfoDarwin(const Triple &Triple) in X86_64MCAsmInfoDarwin() argument 79 : X86MCAsmInfoDarwin(Triple) { in X86_64MCAsmInfoDarwin() 84 X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &T) { in X86ELFMCAsmInfo() 85 bool is64Bit = T.getArch() == Triple::x86_64; in X86ELFMCAsmInfo() 86 bool isX32 = T.getEnvironment() == Triple::GNUX32; in X86ELFMCAsmInfo() 124 X86MCAsmInfoMicrosoft::X86MCAsmInfoMicrosoft(const Triple &Triple) { in X86MCAsmInfoMicrosoft() argument 125 if (Triple.getArch() == Triple::x86_64) { in X86MCAsmInfoMicrosoft() 150 X86MCAsmInfoGNUCOFF::X86MCAsmInfoGNUCOFF(const Triple &Triple) { in X86MCAsmInfoGNUCOFF() argument [all …]
|
D | X86MCAsmInfo.h | 22 class Triple; variable 28 explicit X86MCAsmInfoDarwin(const Triple &Triple); 32 explicit X86_64MCAsmInfoDarwin(const Triple &Triple); 42 explicit X86ELFMCAsmInfo(const Triple &Triple); 49 explicit X86MCAsmInfoMicrosoft(const Triple &Triple); 56 explicit X86MCAsmInfoGNUCOFF(const Triple &Triple);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
D | MCObjectFileInfo.cpp | 25 static bool useCompactUnwind(const Triple &T) { in useCompactUnwind() 31 if (T.getArch() == Triple::aarch64 || T.getArch() == Triple::aarch64_32) in useCompactUnwind() 49 void MCObjectFileInfo::initMachOMCObjectFileInfo(const Triple &T) { in initMachOMCObjectFileInfo() 60 (T.getArch() == Triple::aarch64 || T.getArch() == Triple::aarch64_32)) in initMachOMCObjectFileInfo() 132 Triple::ArchType ArchTy = T.getArch(); in initMachOMCObjectFileInfo() 138 if (ArchTy == Triple::ppc || ArchTy == Triple::ppc64) { in initMachOMCObjectFileInfo() 196 else if (T.getArch() == Triple::aarch64 || T.getArch() == Triple::aarch64_32) in initMachOMCObjectFileInfo() 198 else if (T.getArch() == Triple::arm || T.getArch() == Triple::thumb) in initMachOMCObjectFileInfo() 300 void MCObjectFileInfo::initELFMCObjectFileInfo(const Triple &T, bool Large) { in initELFMCObjectFileInfo() 302 case Triple::mips: in initELFMCObjectFileInfo() [all …]
|
D | SubtargetFeature.cpp | 68 void SubtargetFeatures::getDefaultSubtargetFeatures(const Triple& Triple) { in getDefaultSubtargetFeatures() argument 72 if (Triple.getVendor() == Triple::Apple) { in getDefaultSubtargetFeatures() 73 if (Triple.getArch() == Triple::ppc) { in getDefaultSubtargetFeatures() 76 } else if (Triple.getArch() == Triple::ppc64) { in getDefaultSubtargetFeatures()
|
D | MCAsmBackend.cpp | 33 case Triple::ELF: in createObjectWriter() 36 case Triple::MachO: in createObjectWriter() 39 case Triple::COFF: in createObjectWriter() 42 case Triple::Wasm: in createObjectWriter() 45 case Triple::XCOFF: in createObjectWriter() 57 if (TW->getFormat() != Triple::ELF) in createDwoObjectWriter()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/ |
D | IndirectionUtils.cpp | 119 createLocalCompileCallbackManager(const Triple &T, ExecutionSession &ES, in createLocalCompileCallbackManager() 126 case Triple::aarch64: in createLocalCompileCallbackManager() 127 case Triple::aarch64_32: { in createLocalCompileCallbackManager() 132 case Triple::x86: { in createLocalCompileCallbackManager() 137 case Triple::mips: { in createLocalCompileCallbackManager() 141 case Triple::mipsel: { in createLocalCompileCallbackManager() 146 case Triple::mips64: in createLocalCompileCallbackManager() 147 case Triple::mips64el: { in createLocalCompileCallbackManager() 152 case Triple::x86_64: { in createLocalCompileCallbackManager() 153 if ( T.getOS() == Triple::OSType::Win32 ) { in createLocalCompileCallbackManager() [all …]
|
D | LazyReexports.cpp | 86 createLocalLazyCallThroughManager(const Triple &T, ExecutionSession &ES, in createLocalLazyCallThroughManager() 94 case Triple::aarch64: in createLocalLazyCallThroughManager() 95 case Triple::aarch64_32: in createLocalLazyCallThroughManager() 99 case Triple::x86: in createLocalLazyCallThroughManager() 102 case Triple::mips: in createLocalLazyCallThroughManager() 106 case Triple::mipsel: in createLocalLazyCallThroughManager() 110 case Triple::mips64: in createLocalLazyCallThroughManager() 111 case Triple::mips64el: in createLocalLazyCallThroughManager() 114 case Triple::x86_64: in createLocalLazyCallThroughManager() 115 if (T.getOS() == Triple::OSType::Win32) in createLocalLazyCallThroughManager()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | TargetRegistry.h | 109 MCRelocationInfo *createMCRelocationInfo(const Triple &TT, MCContext &Ctx); 111 MCSymbolizer *createMCSymbolizer(const Triple &TT, LLVMOpInfoCallback GetOpInfo, 128 using ArchMatchFnTy = bool (*)(Triple::ArchType Arch); 131 const Triple &TT, 135 using MCRegInfoCtorFnTy = MCRegisterInfo *(*)(const Triple &TT); 136 using MCSubtargetInfoCtorFnTy = MCSubtargetInfo *(*)(const Triple &TT, 140 *(*)(const Target &T, const Triple &TT, StringRef CPU, StringRef Features, 158 using MCInstPrinterCtorTy = MCInstPrinter *(*)(const Triple &T, 167 MCStreamer *(*)(const Triple &T, MCContext &Ctx, 182 MCStreamer *(*)(const Triple &T, MCContext &Ctx, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCTargetMachine.cpp | 126 static std::string getDataLayoutString(const Triple &T) { in getDataLayoutString() 127 bool is64Bit = T.getArch() == Triple::ppc64 || T.getArch() == Triple::ppc64le; in getDataLayoutString() 131 if (T.getArch() == Triple::ppc64le) in getDataLayoutString() 140 if (!is64Bit || T.getOS() == Triple::Lv2) in getDataLayoutString() 160 const Triple &TT) { in computeFSAdditions() 164 if (TT.getArch() == Triple::ppc64 || TT.getArch() == Triple::ppc64le) { in computeFSAdditions() 188 static std::unique_ptr<TargetLoweringObjectFile> createTLOF(const Triple &TT) { in createTLOF() 198 static PPCTargetMachine::PPCABI computeTargetABI(const Triple &TT, in computeTargetABI() 215 case Triple::ppc64le: in computeTargetABI() 217 case Triple::ppc64: in computeTargetABI() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCAsmInfo.cpp | 20 ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin(const Triple &TheTriple) { in ARMMCAsmInfoDarwin() 21 if ((TheTriple.getArch() == Triple::armeb) || in ARMMCAsmInfoDarwin() 22 (TheTriple.getArch() == Triple::thumbeb)) in ARMMCAsmInfoDarwin() 46 ARMELFMCAsmInfo::ARMELFMCAsmInfo(const Triple &TheTriple) { in ARMELFMCAsmInfo() 47 if ((TheTriple.getArch() == Triple::armeb) || in ARMELFMCAsmInfo() 48 (TheTriple.getArch() == Triple::thumbeb)) in ARMELFMCAsmInfo() 66 case Triple::NetBSD: in ARMELFMCAsmInfo()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/ |
D | Platform.cpp | 34 PlatformKind mapToPlatformKind(const Triple &Target) { in mapToPlatformKind() 38 case Triple::MacOSX: in mapToPlatformKind() 40 case Triple::IOS: in mapToPlatformKind() 43 if (Target.getEnvironment() == Triple::MacABI) in mapToPlatformKind() 46 case Triple::TvOS: in mapToPlatformKind() 49 case Triple::WatchOS: in mapToPlatformKind() 57 PlatformSet mapToPlatformSet(ArrayRef<Triple> Targets) { in mapToPlatformSet()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldELF.h | 64 if (Arch == Triple::aarch64 || Arch == Triple::aarch64_be) in getMaxStubSize() 66 if (Arch == Triple::arm || Arch == Triple::thumb) in getMaxStubSize() 72 else if (Arch == Triple::ppc64 || Arch == Triple::ppc64le) in getMaxStubSize() 74 else if (Arch == Triple::x86_64) in getMaxStubSize() 76 else if (Arch == Triple::systemz) in getMaxStubSize() 83 if (Arch == Triple::systemz) in getStubAlignment() 169 create(Triple::ArchType Arch, RuntimeDyld::MemoryManager &MemMgr,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMTargetMachine.h | 42 ARMBaseTargetMachine(const Target &T, const Triple &TT, StringRef CPU, 65 return TargetTriple.getEnvironment() == Triple::GNUEABIHF || in isTargetHardFloat() 66 TargetTriple.getEnvironment() == Triple::MuslEABIHF || in isTargetHardFloat() 67 TargetTriple.getEnvironment() == Triple::EABIHF || in isTargetHardFloat() 69 TargetTriple.getSubArch() == Triple::ARMSubArch_v7em) || in isTargetHardFloat() 81 ARMLETargetMachine(const Target &T, const Triple &TT, StringRef CPU, 91 ARMBETargetMachine(const Target &T, const Triple &TT, StringRef CPU,
|
D | ARMSubtarget.h | 487 Triple TargetTriple; 504 ARMSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS, 698 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple() 721 return (TargetTriple.getEnvironment() == Triple::EABI || in isTargetAEABI() 722 TargetTriple.getEnvironment() == Triple::EABIHF) && in isTargetAEABI() 726 return (TargetTriple.getEnvironment() == Triple::GNUEABI || in isTargetGNUAEABI() 727 TargetTriple.getEnvironment() == Triple::GNUEABIHF) && in isTargetGNUAEABI() 731 return (TargetTriple.getEnvironment() == Triple::MuslEABI || in isTargetMuslAEABI() 732 TargetTriple.getEnvironment() == Triple::MuslEABIHF) && in isTargetMuslAEABI() 739 return (TargetTriple.getEnvironment() == Triple::EABI || in isTargetEHABICompatible() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
D | MCELFObjectWriter.h | 68 virtual Triple::ObjectFormatType getFormat() const { return Triple::ELF; } in getFormat() 70 return W->getFormat() == Triple::ELF; in classof() 73 static uint8_t getOSABI(Triple::OSType OSType) { in getOSABI() 75 case Triple::CloudABI: in getOSABI() 77 case Triple::HermitCore: in getOSABI() 79 case Triple::PS4: in getOSABI() 80 case Triple::FreeBSD: in getOSABI()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86TargetMachine.cpp | 88 static std::unique_ptr<TargetLoweringObjectFile> createTLOF(const Triple &TT) { in createTLOF() 90 if (TT.getArch() == Triple::x86_64) in createTLOF() 110 static std::string computeDataLayout(const Triple &TT) { in computeDataLayout() 117 (TT.getEnvironment() == Triple::GNUX32 || TT.isOSNaCl())) || in computeDataLayout() 158 static Reloc::Model getEffectiveRelocModel(const Triple &TT, in getEffectiveRelocModel() 161 bool is64Bit = TT.getArch() == Triple::x86_64; in getEffectiveRelocModel() 214 X86TargetMachine::X86TargetMachine(const Target &T, const Triple &TT, in X86TargetMachine() 223 getEffectiveX86CodeModel(CM, JIT, TT.getArch() == Triple::x86_64), in X86TargetMachine() 418 const Triple &TT = TM->getTargetTriple(); in addIRPasses() 420 if (TT.getArch() == Triple::x86_64) { in addIRPasses() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/ |
D | TargetSelect.cpp | 27 Triple TT; in selectTarget() 39 TargetMachine *EngineBuilder::selectTarget(const Triple &TargetTriple, in selectTarget() 43 Triple TheTriple(TargetTriple); in selectTarget() 64 Triple::ArchType Type = Triple::getArchTypeForLLVMName(MArch); in selectTarget() 65 if (Type != Triple::UnknownArch) in selectTarget()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/TargetInfo/ |
D | AArch64TargetInfo.cpp | 39 [](Triple::ArchType) { return false; }, true); in LLVMInitializeAArch64TargetInfo() 42 [](Triple::ArchType) { return false; }, true); in LLVMInitializeAArch64TargetInfo() 44 RegisterTarget<Triple::aarch64, /*HasJIT=*/true> Z( in LLVMInitializeAArch64TargetInfo() 46 RegisterTarget<Triple::aarch64_be, /*HasJIT=*/true> W( in LLVMInitializeAArch64TargetInfo() 48 RegisterTarget<Triple::aarch64_32, /*HasJIT=*/true> X( in LLVMInitializeAArch64TargetInfo()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | TargetLibraryInfo.cpp | 38 static bool hasSinCosPiStret(const Triple &T) { in hasSinCosPiStret() 44 if (T.getArch() == Triple::x86) in hasSinCosPiStret() 56 static bool hasBcmp(const Triple &TT) { in hasBcmp() 69 static void initialize(TargetLibraryInfoImpl &TLI, const Triple &T, in initialize() 94 if (T.isPPC64() || T.getArch() == Triple::sparcv9 || in initialize() 95 T.getArch() == Triple::systemz) { in initialize() 108 if (T.getArch() == Triple::r600 || in initialize() 109 T.getArch() == Triple::amdgcn) in initialize() 114 if (T.getArch() == Triple::r600 || in initialize() 115 T.getArch() == Triple::amdgcn) { in initialize() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
D | AMDGPUMCTargetDesc.cpp | 59 static MCRegisterInfo *createAMDGPUMCRegisterInfo(const Triple &TT) { in createAMDGPUMCRegisterInfo() 61 if (TT.getArch() == Triple::r600) in createAMDGPUMCRegisterInfo() 69 createAMDGPUMCSubtargetInfo(const Triple &TT, StringRef CPU, StringRef FS) { in createAMDGPUMCSubtargetInfo() 70 if (TT.getArch() == Triple::r600) in createAMDGPUMCSubtargetInfo() 75 static MCInstPrinter *createAMDGPUMCInstPrinter(const Triple &T, in createAMDGPUMCInstPrinter() 80 if (T.getArch() == Triple::r600) in createAMDGPUMCInstPrinter() 99 static MCStreamer *createMCStreamer(const Triple &T, MCContext &Context, in createMCStreamer()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | XRayInstrumentation.cpp | 210 case Triple::ArchType::arm: in runOnMachineFunction() 211 case Triple::ArchType::thumb: in runOnMachineFunction() 212 case Triple::ArchType::aarch64: in runOnMachineFunction() 213 case Triple::ArchType::mips: in runOnMachineFunction() 214 case Triple::ArchType::mipsel: in runOnMachineFunction() 215 case Triple::ArchType::mips64: in runOnMachineFunction() 216 case Triple::ArchType::mips64el: { in runOnMachineFunction() 224 case Triple::ArchType::ppc64le: { in runOnMachineFunction()
|