Home
last modified time | relevance | path

Searched refs:ArchKind (Results 1 – 5 of 5) sorted by relevance

/external/llvm/unittests/Support/
DTargetParserTest.cpp31 for (ARM::ArchKind AK = static_cast<ARM::ArchKind>(0); in TEST()
32 AK <= ARM::ArchKind::AK_LAST; in TEST()
33 AK = static_cast<ARM::ArchKind>(static_cast<unsigned>(AK) + 1)) in TEST()
39 for (ARM::ArchKind AK = static_cast<ARM::ArchKind>(0); in TEST()
40 AK <= ARM::ArchKind::AK_LAST; in TEST()
41 AK = static_cast<ARM::ArchKind>(static_cast<unsigned>(AK) + 1)) in TEST()
48 for (ARM::ArchKind AK = static_cast<ARM::ArchKind>(0); in TEST()
49 AK <= ARM::ArchKind::AK_LAST; in TEST()
50 AK = static_cast<ARM::ArchKind>(static_cast<unsigned>(AK) + 1)) in TEST()
66 for (ARM::ArchKind AK = static_cast<ARM::ArchKind>(0); in TEST()
[all …]
/external/llvm/include/llvm/Support/
DTargetParser.h65 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);
173 bool getArchFeatures(unsigned ArchKind, std::vector<const char *> &Features);
175 StringRef getArchName(unsigned ArchKind);
176 unsigned getArchAttr(unsigned ArchKind);
[all …]
/external/llvm/lib/Support/
DTargetParser.cpp64 ARM::ArchKind ID;
128 ARM::ArchKind ArchID;
173 unsigned llvm::ARM::getDefaultFPU(StringRef CPU, unsigned ArchKind) { in getDefaultFPU() argument
175 return ARCHNames[ArchKind].DefaultFPU; in getDefaultFPU()
184 unsigned llvm::ARM::getDefaultExtensions(StringRef CPU, unsigned ArchKind) { in getDefaultExtensions() argument
186 return ARCHNames[ArchKind].ArchBaseExtensions; in getDefaultExtensions()
315 StringRef llvm::ARM::getArchName(unsigned ArchKind) { in getArchName() argument
316 if (ArchKind >= ARM::AK_LAST) in getArchName()
318 return ARCHNames[ArchKind].getName(); in getArchName()
321 StringRef llvm::ARM::getCPUAttr(unsigned ArchKind) { in getCPUAttr() argument
[all …]
/external/clang/lib/Driver/
DToolChains.cpp124 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()
DTools.cpp7188 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()