Home
last modified time | relevance | path

Searched refs:CPU (Results 1 – 25 of 725) sorted by relevance

12345678910>>...29

/openbsd-src/gnu/llvm/compiler-rt/lib/xray/tests/unit/
H A Dfdr_controller_test.cpp84 uint16_t CPU = 1; in TEST_F() local
85 ASSERT_TRUE(C->functionEnter(FId, TSC++, CPU)); in TEST_F()
86 ASSERT_TRUE(C->functionExit(FId, TSC++, CPU)); in TEST_F()
87 ASSERT_TRUE(C->functionEnterArg(FId, TSC++, CPU, 1)); in TEST_F()
88 ASSERT_TRUE(C->functionTailExit(FId, TSC++, CPU)); in TEST_F()
143 uint16_t CPU = 0; in TEST_F() local
144 ASSERT_TRUE(C->functionEnter(1, TSC++, CPU)); in TEST_F()
145 ASSERT_TRUE(C->functionEnter(2, TSC++, CPU)); in TEST_F()
146 ASSERT_TRUE(C->functionExit(2, TSC++, CPU)); in TEST_F()
147 ASSERT_TRUE(C->functionExit(1, TSC += 1000, CPU)); in TEST_F()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/
H A DBPFSubtarget.cpp28 BPFSubtarget &BPFSubtarget::initializeSubtargetDependencies(StringRef CPU, in initializeSubtargetDependencies() argument
31 initSubtargetFeatures(CPU, FS); in initializeSubtargetDependencies()
32 ParseSubtargetFeatures(CPU, /*TuneCPU*/ CPU, FS); in initializeSubtargetDependencies()
43 void BPFSubtarget::initSubtargetFeatures(StringRef CPU, StringRef FS) { in initSubtargetFeatures() argument
44 if (CPU == "probe") in initSubtargetFeatures()
45 CPU = sys::detail::getHostCPUNameForBPF(); in initSubtargetFeatures()
46 if (CPU == "generic" || CPU == "v1") in initSubtargetFeatures()
48 if (CPU == "v2") { in initSubtargetFeatures()
52 if (CPU == "v3") { in initSubtargetFeatures()
60 BPFSubtarget::BPFSubtarget(const Triple &TT, const std::string &CPU, in BPFSubtarget() argument
[all …]
/openbsd-src/gnu/llvm/llvm/lib/TargetParser/
H A DHost.cpp676 StringRef CPU; in getIntelProcessorTypeAndSubtype() local
680 CPU = "i386"; in getIntelProcessorTypeAndSubtype()
683 CPU = "i486"; in getIntelProcessorTypeAndSubtype()
687 CPU = "pentium-mmx"; in getIntelProcessorTypeAndSubtype()
690 CPU = "pentium"; in getIntelProcessorTypeAndSubtype()
701 CPU = "core2"; in getIntelProcessorTypeAndSubtype()
710 CPU = "penryn"; in getIntelProcessorTypeAndSubtype()
719 CPU = "nehalem"; in getIntelProcessorTypeAndSubtype()
727 CPU = "westmere"; in getIntelProcessorTypeAndSubtype()
734 CPU = "sandybridge"; in getIntelProcessorTypeAndSubtype()
[all …]
H A DARMTargetParser.cpp264 unsigned ARM::getDefaultFPU(StringRef CPU, ARM::ArchKind AK) { in getDefaultFPU() argument
265 if (CPU == "generic") in getDefaultFPU()
268 return StringSwitch<unsigned>(CPU) in getDefaultFPU()
275 uint64_t ARM::getDefaultExtensions(StringRef CPU, ARM::ArchKind AK) { in getDefaultExtensions() argument
276 if (CPU == "generic") in getDefaultExtensions()
279 return StringSwitch<uint64_t>(CPU) in getDefaultExtensions()
394 bool ARM::appendArchExtFeatures(StringRef CPU, ARM::ArchKind AK, in appendArchExtFeatures() argument
416 if (CPU == "") in appendArchExtFeatures()
417 CPU = "generic"; in appendArchExtFeatures()
426 FPUKind = findDoublePrecisionFPU(getDefaultFPU(CPU, AK)); in appendArchExtFeatures()
[all …]
/openbsd-src/gnu/llvm/clang/tools/clang-format-vs/
H A DClangFormat.sln10 Debug|Any CPU = Debug|Any CPU
11 Release|Any CPU = Release|Any CPU
14 {7FD1783E-2D31-4D05-BF23-6EBE1B42B608}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 {7FD1783E-2D31-4D05-BF23-6EBE1B42B608}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 {7FD1783E-2D31-4D05-BF23-6EBE1B42B608}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 {7FD1783E-2D31-4D05-BF23-6EBE1B42B608}.Release|Any CPU.Build.0 = Release|Any CPU
/openbsd-src/gnu/llvm/llvm/lib/Target/AVR/
H A DAVRSubtarget.cpp30 AVRSubtarget::AVRSubtarget(const Triple &TT, const std::string &CPU, in AVRSubtarget() argument
32 : AVRGenSubtargetInfo(TT, CPU, /*TuneCPU*/ CPU, FS), in AVRSubtarget()
33 TLInfo(TM, initializeSubtargetDependencies(CPU, FS, TM)) { in AVRSubtarget()
35 ParseSubtargetFeatures(CPU, /*TuneCPU*/ CPU, FS); in AVRSubtarget()
39 AVRSubtarget::initializeSubtargetDependencies(StringRef CPU, StringRef FS, in initializeSubtargetDependencies() argument
42 ParseSubtargetFeatures(CPU, /*TuneCPU*/ CPU, FS); in initializeSubtargetDependencies()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblySubtarget.cpp28 WebAssemblySubtarget::initializeSubtargetDependencies(StringRef CPU, in initializeSubtargetDependencies() argument
33 if (CPU.empty()) in initializeSubtargetDependencies()
34 CPU = "generic"; in initializeSubtargetDependencies()
36 ParseSubtargetFeatures(CPU, /*TuneCPU*/ CPU, FS); in initializeSubtargetDependencies()
41 const std::string &CPU, in WebAssemblySubtarget() argument
44 : WebAssemblyGenSubtargetInfo(TT, CPU, /*TuneCPU*/ CPU, FS), in WebAssemblySubtarget()
45 TargetTriple(TT), InstrInfo(initializeSubtargetDependencies(CPU, FS)), in WebAssemblySubtarget()
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCSubtargetInfo.cpp112 for (auto &CPU : CPUTable) in Help() local
113 errs() << format(" %-*s - Select the %s processor.\n", MaxCPULen, CPU.Key, in Help()
114 CPU.Key); in Help()
140 for (auto &CPU : CPUTable) in cpuHelp() local
141 errs() << "\t" << CPU.Key << "\n"; in cpuHelp()
151 static FeatureBitset getFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS, in getFeatures() argument
165 if (CPU == "help") in getFeatures()
169 else if (!CPU.empty()) { in getFeatures()
170 const SubtargetSubTypeKV *CPUEntry = Find(CPU, ProcDesc); in getFeatures()
177 errs() << "'" << CPU << "' is not a recognized processor for this target" in getFeatures()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Basic/Targets/
H A DHexagon.cpp32 if (CPU == "hexagonv5") { in getTargetDefines()
39 } else if (CPU == "hexagonv55") { in getTargetDefines()
44 } else if (CPU == "hexagonv60") { in getTargetDefines()
50 } else if (CPU == "hexagonv62") { in getTargetDefines()
54 } else if (CPU == "hexagonv65") { in getTargetDefines()
58 } else if (CPU == "hexagonv66") { in getTargetDefines()
62 } else if (CPU == "hexagonv67") { in getTargetDefines()
65 } else if (CPU == "hexagonv67t") { in getTargetDefines()
68 } else if (CPU == "hexagonv68") { in getTargetDefines()
71 } else if (CPU == "hexagonv69") { in getTargetDefines()
[all …]
H A DMips.cpp32 return llvm::StringSwitch<bool>(CPU) in processorSupportsGPR64()
189 Builder.defineMacro("_MIPS_ARCH", "\"" + CPU + "\""); in getTargetDefines()
190 if (CPU == "octeon+") in getTargetDefines()
193 Builder.defineMacro("_MIPS_ARCH_" + StringRef(CPU).upper()); in getTargetDefines()
195 if (StringRef(CPU).startswith("octeon")) in getTargetDefines()
198 if (CPU != "mips1") { in getTargetDefines()
238 Diags.Report(diag::err_target_unsupported_cpu_for_micromips) << CPU; in validateTarget()
244 Diags.Report(diag::err_target_unsupported_abi) << ABI << CPU; in validateTarget()
250 Diags.Report(diag::err_target_unsupported_abi) << ABI << CPU; in validateTarget()
281 Diags.Report(diag::err_opt_not_valid_with_opt) << "-mfpxx" << CPU; in validateTarget()
[all …]
H A DMips.h43 std::string CPU; variable
77 CPU = ABI == "o32" ? "mips32r2" : "mips64r2"; in MipsTargetInfo()
84 return CPU == "mips32r6" || CPU == "mips64r6"; in isIEEE754_2008Default()
88 return CPU == "mips32r6" || ABI == "n32" || ABI == "n64" || ABI == "64"; in isFP64Default()
169 CPU = Name; in setCPU()
173 const std::string &getCPU() const { return CPU; } in getCPU()
176 StringRef CPU, in initFeatureMap() argument
178 if (CPU.empty()) in initFeatureMap()
179 CPU = getCPU(); in initFeatureMap()
180 if (CPU == "octeon") in initFeatureMap()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/builtins/
H A Dcpu_model.c313 const char *CPU = 0; in getIntelProcessorTypeAndSubtype() local
325 CPU = "core2"; in getIntelProcessorTypeAndSubtype()
334 CPU = "penryn"; in getIntelProcessorTypeAndSubtype()
343 CPU = "nehalem"; in getIntelProcessorTypeAndSubtype()
351 CPU = "westmere"; in getIntelProcessorTypeAndSubtype()
358 CPU = "sandybridge"; in getIntelProcessorTypeAndSubtype()
364 CPU = "ivybridge"; in getIntelProcessorTypeAndSubtype()
374 CPU = "haswell"; in getIntelProcessorTypeAndSubtype()
384 CPU = "broadwell"; in getIntelProcessorTypeAndSubtype()
396 CPU = "skylake"; in getIntelProcessorTypeAndSubtype()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/LoongArch/
H A DLoongArchSubtarget.cpp27 const Triple &TT, StringRef CPU, StringRef TuneCPU, StringRef FS, in initializeSubtargetDependencies() argument
30 if (CPU.empty() || CPU == "generic") in initializeSubtargetDependencies()
31 CPU = Is64Bit ? "generic-la64" : "generic-la32"; in initializeSubtargetDependencies()
34 TuneCPU = CPU; in initializeSubtargetDependencies()
36 ParseSubtargetFeatures(CPU, TuneCPU, FS); in initializeSubtargetDependencies()
56 LoongArchSubtarget::LoongArchSubtarget(const Triple &TT, StringRef CPU, in LoongArchSubtarget() argument
60 : LoongArchGenSubtargetInfo(TT, CPU, TuneCPU, FS), in LoongArchSubtarget()
62 initializeSubtargetDependencies(TT, CPU, TuneCPU, FS, ABIName)), in LoongArchSubtarget()
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCTargetDesc.cpp49 StringRef MIPS_MC::selectMipsCPU(const Triple &TT, StringRef CPU) { in selectMipsCPU() argument
50 if (CPU.empty() || CPU == "generic") { in selectMipsCPU()
53 CPU = "mips32r6"; in selectMipsCPU()
55 CPU = "mips64r6"; in selectMipsCPU()
58 CPU = "mips32"; in selectMipsCPU()
60 CPU = "mips64"; in selectMipsCPU()
63 return CPU; in selectMipsCPU()
79 StringRef CPU, StringRef FS) { in createMipsMCSubtargetInfo() argument
80 CPU = MIPS_MC::selectMipsCPU(TT, CPU); in createMipsMCSubtargetInfo()
81 return createMipsMCSubtargetInfoImpl(TT, CPU, /*TuneCPU*/ CPU, FS); in createMipsMCSubtargetInfo()
/openbsd-src/gnu/llvm/compiler-rt/lib/xray/
H A Dxray_fdr_controller.h147 uint16_t CPU) XRAY_NEVER_INSTRUMENT { in recordPreamble() argument
148 if (UNLIKELY(LatestCPU != CPU || LatestTSC == 0)) { in recordPreamble()
152 LatestCPU = CPU; in recordPreamble()
157 W.writeMetadata<MetadataRecord::RecordKinds::NewCPUId>(CPU, TSC); in recordPreamble()
161 DCHECK_EQ(LatestCPU, CPU); in recordPreamble()
182 uint16_t CPU) XRAY_NEVER_INSTRUMENT { in rewindRecords() argument
245 uint16_t CPU) XRAY_NEVER_INSTRUMENT { in functionEnter() argument
250 auto PreambleStatus = recordPreamble(TSC, CPU); in functionEnter()
269 uint16_t CPU) XRAY_NEVER_INSTRUMENT { in functionTailExit() argument
276 auto PreambleStatus = recordPreamble(TSC, CPU); in functionTailExit()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZSubtarget.cpp31 StringRef CPU, StringRef TuneCPU, StringRef FS) { in initializeSubtargetDependencies() argument
32 if (CPU.empty()) in initializeSubtargetDependencies()
33 CPU = "generic"; in initializeSubtargetDependencies()
35 TuneCPU = CPU; in initializeSubtargetDependencies()
37 ParseSubtargetFeatures(CPU, TuneCPU, FS); in initializeSubtargetDependencies()
67 SystemZSubtarget::SystemZSubtarget(const Triple &TT, const std::string &CPU, in SystemZSubtarget() argument
71 : SystemZGenSubtargetInfo(TT, CPU, TuneCPU, FS), TargetTriple(TT), in SystemZSubtarget()
73 InstrInfo(initializeSubtargetDependencies(CPU, TuneCPU, FS)), in SystemZSubtarget()
/openbsd-src/gnu/llvm/llvm/lib/Target/VE/
H A DVESubtarget.cpp28 VESubtarget &VESubtarget::initializeSubtargetDependencies(StringRef CPU, in initializeSubtargetDependencies() argument
34 std::string CPUName = std::string(CPU); in initializeSubtargetDependencies()
39 ParseSubtargetFeatures(CPUName, /*TuneCPU=*/CPU, FS); in initializeSubtargetDependencies()
44 VESubtarget::VESubtarget(const Triple &TT, const std::string &CPU, in VESubtarget() argument
46 : VEGenSubtargetInfo(TT, CPU, /*TuneCPU=*/CPU, FS), TargetTriple(TT), in VESubtarget()
47 InstrInfo(initializeSubtargetDependencies(CPU, FS)), TLInfo(TM, *this), in VESubtarget()
/openbsd-src/gnu/llvm/llvm/lib/Target/M68k/
H A DM68kSubtarget.cpp42 static StringRef selectM68kCPU(Triple TT, StringRef CPU) { in selectM68kCPU() argument
43 if (CPU.empty() || CPU == "generic") { in selectM68kCPU()
44 CPU = "M68000"; in selectM68kCPU()
46 return CPU; in selectM68kCPU()
51 M68kSubtarget::M68kSubtarget(const Triple &TT, StringRef CPU, StringRef FS, in M68kSubtarget() argument
53 : M68kGenSubtargetInfo(TT, CPU, /*TuneCPU*/ CPU, FS), TM(TM), TSInfo(), in M68kSubtarget()
54 InstrInfo(initializeSubtargetDependencies(CPU, TT, FS, TM)), in M68kSubtarget()
90 StringRef CPU, Triple TT, StringRef FS, const M68kTargetMachine &TM) { in initializeSubtargetDependencies() argument
91 std::string CPUName = selectM68kCPU(TT, CPU).str(); in initializeSubtargetDependencies()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXSubtarget.cpp33 NVPTXSubtarget &NVPTXSubtarget::initializeSubtargetDependencies(StringRef CPU, in initializeSubtargetDependencies() argument
36 TargetName = std::string(CPU.empty() ? "sm_30" : CPU); in initializeSubtargetDependencies()
48 NVPTXSubtarget::NVPTXSubtarget(const Triple &TT, const std::string &CPU, in NVPTXSubtarget() argument
51 : NVPTXGenSubtargetInfo(TT, CPU, /*TuneCPU*/ CPU, FS), PTXVersion(0), in NVPTXSubtarget()
53 TLInfo(TM, initializeSubtargetDependencies(CPU, FS)) {} in NVPTXSubtarget()
/openbsd-src/gnu/usr.bin/binutils/gdb/vx-share/
H A DvxWorks.h117 #if CPU==MC68000 || CPU==MC68010 || CPU==MC68020 || CPU==MC68030
121 #if CPU==SPARC
125 #if CPU==I960KB
129 #if CPU==I960CA
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsTargetMachine.cpp74 static std::string computeDataLayout(const Triple &TT, StringRef CPU, in computeDataLayout() argument
78 MipsABIInfo ABI = MipsABIInfo::computeTargetABI(TT, CPU, Options.MCOptions); in computeDataLayout()
123 StringRef CPU, StringRef FS, in MipsTargetMachine() argument
129 : LLVMTargetMachine(T, computeDataLayout(TT, CPU, Options, isLittle), TT, in MipsTargetMachine()
130 CPU, FS, Options, getEffectiveRelocModel(JIT, RM), in MipsTargetMachine()
133 ABI(MipsABIInfo::computeTargetABI(TT, CPU, Options.MCOptions)), in MipsTargetMachine()
135 DefaultSubtarget(TT, CPU, FS, isLittle, *this, std::nullopt), in MipsTargetMachine()
136 NoMips16Subtarget(TT, CPU, FS.empty() ? "-mips16" : FS.str() + ",-mips16", in MipsTargetMachine()
138 Mips16Subtarget(TT, CPU, FS.empty() ? "+mips16" : FS.str() + ",+mips16", in MipsTargetMachine()
152 StringRef CPU, StringRef FS, in MipsebTargetMachine() argument
[all …]
/openbsd-src/gnu/llvm/clang/lib/Driver/ToolChains/Arch/
H A DRISCV.cpp71 StringRef CPU = A->getValue(); in getRISCVTargetFeatures() local
72 if (CPU == "native") in getRISCVTargetFeatures()
73 CPU = llvm::sys::getHostCPUName(); in getRISCVTargetFeatures()
74 if (!getRISCFeaturesFromMcpu(Triple, CPU, Features)) in getRISCVTargetFeatures()
76 << A->getSpelling() << CPU; in getRISCVTargetFeatures()
274 StringRef CPU = A->getValue(); in getRISCVArch() local
275 if (CPU == "native") in getRISCVArch()
276 CPU = llvm::sys::getHostCPUName(); in getRISCVArch()
277 StringRef MArch = llvm::RISCV::getMArchFromMcpu(CPU); in getRISCVArch()
319 std::string CPU; in getRISCVTargetCPU() local
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVSubtarget.cpp54 RISCVSubtarget::initializeSubtargetDependencies(const Triple &TT, StringRef CPU, in initializeSubtargetDependencies() argument
59 if (CPU.empty() || CPU == "generic") in initializeSubtargetDependencies()
60 CPU = Is64Bit ? "generic-rv64" : "generic-rv32"; in initializeSubtargetDependencies()
63 TuneCPU = CPU; in initializeSubtargetDependencies()
65 ParseSubtargetFeatures(CPU, TuneCPU, FS); in initializeSubtargetDependencies()
76 RISCVSubtarget::RISCVSubtarget(const Triple &TT, StringRef CPU, in RISCVSubtarget() argument
81 : RISCVGenSubtargetInfo(TT, CPU, TuneCPU, FS), in RISCVSubtarget()
84 initializeSubtargetDependencies(TT, CPU, TuneCPU, FS, ABIName)), in RISCVSubtarget()
/openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/
H A DMSP430Subtarget.cpp42 MSP430Subtarget::initializeSubtargetDependencies(StringRef CPU, StringRef FS) { in initializeSubtargetDependencies() argument
46 StringRef CPUName = CPU; in initializeSubtargetDependencies()
58 MSP430Subtarget::MSP430Subtarget(const Triple &TT, const std::string &CPU, in MSP430Subtarget() argument
60 : MSP430GenSubtargetInfo(TT, CPU, /*TuneCPU*/ CPU, FS), in MSP430Subtarget()
61 InstrInfo(initializeSubtargetDependencies(CPU, FS)), TLInfo(TM, *this) {} in MSP430Subtarget()
/openbsd-src/gnu/llvm/llvm/lib/Target/Sparc/
H A DSparcTargetMachine.cpp100 StringRef CPU, StringRef FS, in SparcTargetMachine() argument
106 : LLVMTargetMachine(T, computeDataLayout(TT, is64bit), TT, CPU, FS, Options, in SparcTargetMachine()
112 Subtarget(TT, std::string(CPU), std::string(FS), *this, is64bit), in SparcTargetMachine()
124 std::string CPU = in getSubtargetImpl() local
137 auto &I = SubtargetMap[CPU + FS]; in getSubtargetImpl()
143 I = std::make_unique<SparcSubtarget>(TargetTriple, CPU, FS, *this, in getSubtargetImpl()
210 StringRef CPU, StringRef FS, in SparcV8TargetMachine() argument
215 : SparcTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, false) {} in SparcV8TargetMachine()
220 StringRef CPU, StringRef FS, in SparcV9TargetMachine() argument
225 : SparcTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, true) {} in SparcV9TargetMachine()
[all …]

12345678910>>...29