/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | TargetParser.cpp | 74 ArchNames<ARM::ArchKind> ARCHNames[] = { 77 sizeof(SUB_ARCH) - 1, ARCH_FPU, ARCH_BASE_EXT, ARM::ArchKind::ID, ARCH_ATTR}, 81 ArchNames<AArch64::ArchKind> AArch64ARCHNames[] = { 84 sizeof(SUB_ARCH) - 1, ARCH_FPU, ARCH_BASE_EXT, AArch64::ArchKind::ID, ARCH_ATTR}, 137 CpuNames<ARM::ArchKind> CPUNames[] = { 139 { NAME, sizeof(NAME) - 1, ARM::ArchKind::ID, IS_DEFAULT, DEFAULT_EXT }, 143 CpuNames<AArch64::ArchKind> AArch64CPUNames[] = { 145 { NAME, sizeof(NAME) - 1, AArch64::ArchKind::ID, IS_DEFAULT, DEFAULT_EXT }, 179 unsigned llvm::ARM::getDefaultFPU(StringRef CPU, ArchKind AK) { in getDefaultFPU() 190 unsigned llvm::ARM::getDefaultExtensions(StringRef CPU, ArchKind AK) { in getDefaultExtensions() [all …]
|
D | Triple.cpp | 553 case ARM::ArchKind::ARMV4: in parseSubArch() 555 case ARM::ArchKind::ARMV4T: in parseSubArch() 557 case ARM::ArchKind::ARMV5T: in parseSubArch() 559 case ARM::ArchKind::ARMV5TE: in parseSubArch() 560 case ARM::ArchKind::IWMMXT: in parseSubArch() 561 case ARM::ArchKind::IWMMXT2: in parseSubArch() 562 case ARM::ArchKind::XSCALE: in parseSubArch() 563 case ARM::ArchKind::ARMV5TEJ: in parseSubArch() 565 case ARM::ArchKind::ARMV6: in parseSubArch() 567 case ARM::ArchKind::ARMV6K: in parseSubArch() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | TargetParserTest.cpp | 36 ARM::ArchKind AK = ARM::parseCPUArch(CPUName); in testARMCPU() 297 EXPECT_NE(ARM::parseCPUArch(CPU), ARM::ArchKind::INVALID); in TEST() 304 EXPECT_EQ(ARM::parseArch(InvalidArch), ARM::ArchKind::INVALID); in TEST() 309 ARM::ArchKind AK = ARM::parseArch(Arch); in testARMArch() 310 return (AK!= ARM::ArchKind::INVALID) & in testARMArch() 412 bool testARMExtension(StringRef CPUName,ARM::ArchKind ArchKind, StringRef ArchExt) { in testARMExtension() argument 413 return ARM::getDefaultExtensions(CPUName, ArchKind) & in testARMExtension() 418 EXPECT_FALSE(testARMExtension("arm2", ARM::ArchKind::INVALID, "thumb")); in TEST() 419 EXPECT_FALSE(testARMExtension("arm3", ARM::ArchKind::INVALID, "thumb")); in TEST() 420 EXPECT_FALSE(testARMExtension("arm6", ARM::ArchKind::INVALID, "thumb")); in TEST() [all …]
|
/external/llvm/lib/Support/ |
D | TargetParser.cpp | 75 ArchNames<ARM::ArchKind> ARCHNames[] = { 82 ArchNames<AArch64::ArchKind> AArch64ARCHNames[] = { 85 sizeof(SUB_ARCH) - 1, ARCH_FPU, ARCH_BASE_EXT, AArch64::ArchKind::ID, ARCH_ATTR}, 138 CpuNames<ARM::ArchKind> CPUNames[] = { 144 CpuNames<AArch64::ArchKind> AArch64CPUNames[] = { 146 { NAME, sizeof(NAME) - 1, AArch64::ArchKind::ID, IS_DEFAULT, DEFAULT_EXT }, 180 unsigned llvm::ARM::getDefaultFPU(StringRef CPU, unsigned ArchKind) { in getDefaultFPU() argument 182 return ARCHNames[ArchKind].DefaultFPU; in getDefaultFPU() 191 unsigned llvm::ARM::getDefaultExtensions(StringRef CPU, unsigned ArchKind) { in getDefaultExtensions() argument 193 return ARCHNames[ArchKind].ArchBaseExtensions; in getDefaultExtensions() [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | TargetParser.cpp | 75 ArchNames<ARM::ArchKind> ARCHNames[] = { 82 ArchNames<AArch64::ArchKind> AArch64ARCHNames[] = { 85 sizeof(SUB_ARCH) - 1, ARCH_FPU, ARCH_BASE_EXT, AArch64::ArchKind::ID, ARCH_ATTR}, 138 CpuNames<ARM::ArchKind> CPUNames[] = { 144 CpuNames<AArch64::ArchKind> AArch64CPUNames[] = { 146 { NAME, sizeof(NAME) - 1, AArch64::ArchKind::ID, IS_DEFAULT, DEFAULT_EXT }, 180 unsigned llvm::ARM::getDefaultFPU(StringRef CPU, unsigned ArchKind) { in getDefaultFPU() argument 182 return ARCHNames[ArchKind].DefaultFPU; in getDefaultFPU() 191 unsigned llvm::ARM::getDefaultExtensions(StringRef CPU, unsigned ArchKind) { in getDefaultExtensions() argument 193 return ARCHNames[ArchKind].ArchBaseExtensions; in getDefaultExtensions() [all …]
|
/external/llvm/unittests/Support/ |
D | TargetParserTest.cpp | 44 ArchNames<AArch64::ArchKind> kAArch64ARCHNames[] = { 47 {NAME, ARM::ARCH_FPU, ARCH_BASE_EXT, AArch64::ArchKind::ID, ARCH_ATTR}, 51 ArchNames<ARM::ArchKind> kARMARCHNames[] = { 65 CpuNames<AArch64::ArchKind> kAArch64CPUNames[] = { 67 {NAME, AArch64::ArchKind::ID, ARM::DEFAULT_FPU, DEFAULT_EXT}, 71 CpuNames<ARM::ArchKind> kARMCPUNames[] = { 97 for (ARM::ArchKind AK = static_cast<ARM::ArchKind>(0); in TEST() 98 AK <= ARM::ArchKind::AK_LAST; in TEST() 99 AK = static_cast<ARM::ArchKind>(static_cast<unsigned>(AK) + 1)) in TEST() 105 for (ARM::ArchKind AK = static_cast<ARM::ArchKind>(0); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | TargetParser.h | 66 enum class ArchKind { enum 123 StringRef getArchName(ArchKind AK); 124 unsigned getArchAttr(ArchKind AK); 125 StringRef getCPUAttr(ArchKind AK); 126 StringRef getSubArch(ArchKind AK); 132 unsigned getDefaultFPU(StringRef CPU, ArchKind AK); 133 unsigned getDefaultExtensions(StringRef CPU, ArchKind AK); 139 ArchKind parseArch(StringRef Arch); 141 ArchKind parseCPUArch(StringRef CPU); 156 enum class ArchKind { enum [all …]
|
/external/llvm/include/llvm/Support/ |
D | TargetParser.h | 65 enum ArchKind { enum 119 StringRef getArchName(unsigned ArchKind); 120 unsigned getArchAttr(unsigned ArchKind); 121 StringRef getCPUAttr(unsigned ArchKind); 122 StringRef getSubArch(unsigned ArchKind); 128 unsigned getDefaultFPU(StringRef CPU, unsigned ArchKind); 129 unsigned getDefaultExtensions(StringRef CPU, unsigned ArchKind); 149 enum class ArchKind { enum 180 bool getArchFeatures(unsigned ArchKind, std::vector<const char *> &Features); 182 StringRef getArchName(unsigned ArchKind); [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | TargetParser.h | 65 enum ArchKind { enum 119 StringRef getArchName(unsigned ArchKind); 120 unsigned getArchAttr(unsigned ArchKind); 121 StringRef getCPUAttr(unsigned ArchKind); 122 StringRef getSubArch(unsigned ArchKind); 128 unsigned getDefaultFPU(StringRef CPU, unsigned ArchKind); 129 unsigned getDefaultExtensions(StringRef CPU, unsigned ArchKind); 149 enum class ArchKind { enum 181 bool getArchFeatures(unsigned ArchKind, std::vector<StringRef> &Features); 183 StringRef getArchName(unsigned ArchKind); [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMELFStreamer.cpp | 96 void emitArch(ARM::ArchKind Arch) override; 98 void emitObjectArch(ARM::ArchKind Arch) override; 222 void ARMTargetAsmStreamer::emitArch(ARM::ArchKind Arch) { in emitArch() 230 void ARMTargetAsmStreamer::emitObjectArch(ARM::ArchKind Arch) { in emitObjectArch() 307 ARM::ArchKind Arch = ARM::ArchKind::INVALID; 308 ARM::ArchKind EmittedArch = ARM::ArchKind::INVALID; 408 void emitArch(ARM::ArchKind Arch) override; 409 void emitObjectArch(ARM::ArchKind Arch) override; 784 void ARMTargetELFStreamer::emitArch(ARM::ArchKind Value) { in emitArch() 788 void ARMTargetELFStreamer::emitObjectArch(ARM::ArchKind Value) { in emitObjectArch() [all …]
|
D | ARMAsmBackend.cpp | 1148 ARM::ArchKind AK = ARM::parseArch(Arch); in getMachOSubTypeFromArch() 1152 case ARM::ArchKind::ARMV4T: in getMachOSubTypeFromArch() 1154 case ARM::ArchKind::ARMV5T: in getMachOSubTypeFromArch() 1155 case ARM::ArchKind::ARMV5TE: in getMachOSubTypeFromArch() 1156 case ARM::ArchKind::ARMV5TEJ: in getMachOSubTypeFromArch() 1158 case ARM::ArchKind::ARMV6: in getMachOSubTypeFromArch() 1159 case ARM::ArchKind::ARMV6K: in getMachOSubTypeFromArch() 1161 case ARM::ArchKind::ARMV7A: in getMachOSubTypeFromArch() 1163 case ARM::ArchKind::ARMV7S: in getMachOSubTypeFromArch() 1165 case ARM::ArchKind::ARMV7K: in getMachOSubTypeFromArch() [all …]
|
D | ARMMCTargetDesc.cpp | 139 ARM::ArchKind ArchID = ARM::parseArch(TT.getArchName()); in ParseARMTriple() 140 if (ArchID != ARM::ArchKind::INVALID && (CPU.empty() || CPU == "generic")) in ParseARMTriple()
|
D | ARMTargetStreamer.cpp | 111 void ARMTargetStreamer::emitArch(ARM::ArchKind Arch) {} in emitArch() 113 void ARMTargetStreamer::emitObjectArch(ARM::ArchKind Arch) {} in emitObjectArch()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMSubtarget.cpp | 163 ARM::ArchKind AK = ARM::parseArch(ArchName); in initSubtargetFeatures() 164 if (AK == ARM::ArchKind::ARMV7S) in initSubtargetFeatures() 167 else if (AK == ARM::ArchKind::ARMV7K) in initSubtargetFeatures()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/AsmParser/ |
D | AArch64AsmParser.cpp | 4909 static void ExpandCryptoAEK(AArch64::ArchKind ArchKind, in ExpandCryptoAEK() argument 4919 switch (ArchKind) { in ExpandCryptoAEK() 4923 case AArch64::ArchKind::ARMV8_1A: in ExpandCryptoAEK() 4924 case AArch64::ArchKind::ARMV8_2A: in ExpandCryptoAEK() 4925 case AArch64::ArchKind::ARMV8_3A: in ExpandCryptoAEK() 4929 case AArch64::ArchKind::ARMV8_4A: in ExpandCryptoAEK() 4937 switch (ArchKind) { in ExpandCryptoAEK() 4941 case AArch64::ArchKind::ARMV8_1A: in ExpandCryptoAEK() 4942 case AArch64::ArchKind::ARMV8_2A: in ExpandCryptoAEK() 4943 case AArch64::ArchKind::ARMV8_3A: in ExpandCryptoAEK() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/ |
D | MCStreamer.h | 143 virtual void emitArch(ARM::ArchKind Arch); 145 virtual void emitObjectArch(ARM::ArchKind Arch);
|
/external/clang/lib/Basic/ |
D | Targets.cpp | 4588 unsigned ArchKind = llvm::ARM::AK_ARMV4T; member in __anon2066a7b00111::ARMTargetInfo 4736 ArchKind = AK; in setArchInfo() 4737 setArchInfo(ArchKind); in setArchInfo() 4744 ArchKind = Kind; in setArchInfo() 4745 SubArch = llvm::ARM::getSubArch(ArchKind); in setArchInfo() 4789 switch(ArchKind) { in getCPUAttr() 4791 return llvm::ARM::getCPUAttr(ArchKind); in getCPUAttr() 5016 else if (ArchKind == llvm::ARM::AK_ARMV6K) in handleTargetFeatures() 5066 if (ArchKind == llvm::ARM::AK_INVALID) in setCPU() 5269 if (ArchKind == llvm::ARM::AK_ARMV8_1A) in getTargetDefines()
|
/external/clang/lib/Driver/ |
D | ToolChains.cpp | 124 unsigned ArchKind = llvm::ARM::parseCPUArch(CPU); in ArmMachOArchNameCPU() local 125 if (ArchKind == llvm::ARM::AK_INVALID) in ArmMachOArchNameCPU() 127 StringRef Arch = llvm::ARM::getArchName(ArchKind); in ArmMachOArchNameCPU()
|
D | Tools.cpp | 7188 unsigned ArchKind; in getLLVMArchSuffixForARM() local 7191 ArchKind = llvm::ARM::parseArch(ARMArch); in getLLVMArchSuffixForARM() 7192 if (ArchKind == llvm::ARM::AK_INVALID) in getLLVMArchSuffixForARM() 7195 ArchKind = llvm::ARM::parseCPUArch(Triple.getARMCPUForArch(ARMArch)); in getLLVMArchSuffixForARM() 7199 ArchKind = (Arch == "armv7k" || Arch == "thumbv7k") in getLLVMArchSuffixForARM() 7203 if (ArchKind == llvm::ARM::AK_INVALID) in getLLVMArchSuffixForARM() 7205 return llvm::ARM::getSubArch(ArchKind); in getLLVMArchSuffixForARM()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/AsmParser/ |
D | ARMAsmParser.cpp | 9609 ARM::ArchKind ID = ARM::parseArch(Arch); in parseDirectiveArch() 9611 if (ID == ARM::ArchKind::INVALID) in parseDirectiveArch() 10271 ARM::ArchKind ID = ARM::parseArch(Arch); in parseDirectiveObjectArch() 10273 if (ID == ARM::ArchKind::INVALID) in parseDirectiveObjectArch()
|
/external/llvm/lib/Target/AArch64/AsmParser/ |
D | AArch64AsmParser.cpp | 4215 if (ID == static_cast<unsigned>(AArch64::ArchKind::AK_INVALID)) { in parseDirectiveArch()
|