Home
last modified time | relevance | path

Searched refs:CPUAttr (Results 1 – 18 of 18) sorted by relevance

/external/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetMachine.cpp77 Attribute CPUAttr = F.getFnAttribute("target-cpu"); in getSubtargetImpl() local
80 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
81 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVTargetMachine.cpp77 Attribute CPUAttr = F.getFnAttribute("target-cpu"); in getSubtargetImpl() local
80 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
81 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcTargetMachine.cpp110 Attribute CPUAttr = F.getFnAttribute("target-cpu"); in getSubtargetImpl() local
113 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
114 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
/external/llvm/lib/Target/Sparc/
DSparcTargetMachine.cpp81 Attribute CPUAttr = F.getFnAttribute("target-cpu"); in getSubtargetImpl() local
84 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
85 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
/external/llvm/lib/Target/Mips/
DMipsTargetMachine.cpp137 Attribute CPUAttr = F.getFnAttribute("target-cpu"); in getSubtargetImpl() local
140 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
141 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
/external/llvm/lib/Target/X86/
DX86TargetMachine.cpp182 Attribute CPUAttr = F.getFnAttribute("target-cpu"); in getSubtargetImpl() local
185 StringRef CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
186 ? CPUAttr.getValueAsString() in getSubtargetImpl()
/external/llvm/lib/Target/Hexagon/
DHexagonTargetMachine.cpp160 Attribute CPUAttr = in getSubtargetImpl() local
165 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
166 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsTargetMachine.cpp160 Attribute CPUAttr = F.getFnAttribute("target-cpu"); in getSubtargetImpl() local
163 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
164 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
/external/llvm/lib/Target/PowerPC/
DPPCTargetMachine.cpp251 Attribute CPUAttr = F.getFnAttribute("target-cpu"); in getSubtargetImpl() local
254 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
255 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetMachine.cpp150 Attribute CPUAttr = F.getFnAttribute("target-cpu"); in getSubtargetImpl() local
153 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
154 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
/external/llvm/lib/Target/AArch64/
DAArch64TargetMachine.cpp211 Attribute CPUAttr = F.getFnAttribute("target-cpu"); in getSubtargetImpl() local
214 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
215 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetMachine.cpp312 Attribute CPUAttr = F.getFnAttribute("target-cpu"); in getSubtargetImpl() local
315 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
316 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetMachine.cpp242 Attribute CPUAttr = F.getFnAttribute("target-cpu"); in getSubtargetImpl() local
245 StringRef CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
246 ? CPUAttr.getValueAsString() in getSubtargetImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonTargetMachine.cpp229 Attribute CPUAttr = in getSubtargetImpl() local
234 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
235 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
/external/llvm/lib/Target/ARM/
DARMTargetMachine.cpp225 Attribute CPUAttr = F.getFnAttribute("target-cpu"); in getSubtargetImpl() local
228 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
229 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMTargetMachine.cpp253 Attribute CPUAttr = F.getFnAttribute("target-cpu"); in getSubtargetImpl() local
256 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
257 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64TargetMachine.cpp322 Attribute CPUAttr = F.getFnAttribute("target-cpu"); in getSubtargetImpl() local
325 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
326 ? CPUAttr.getValueAsString().str() in getSubtargetImpl()
/external/clang/lib/Basic/
DTargets.cpp4579 StringRef CPUAttr; member in __anonbe2a10ec0111::ARMTargetInfo
4750 CPUAttr = getCPUAttr(); in setArchInfo()
4778 return CPUAttr.count('T') || ArchVersion >= 6; in supportsThumb()
4782 return CPUAttr.equals("6T2") || in supportsThumb2()
4783 (ArchVersion >= 7 && !CPUAttr.equals("8M_BASE")); in supportsThumb2()
5093 if (!CPUAttr.empty()) in getTargetDefines()
5094 Builder.defineMacro("__ARM_ARCH_" + CPUAttr + "__"); in getTargetDefines()
5201 if (ArchVersion >= 6 && (CPUProfile != "M" || CPUAttr == "7EM")) in getTargetDefines()
5243 if (ArchVersion >= 6 && CPUAttr != "6M" && CPUAttr != "8M_BASE") { in getTargetDefines()