Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DLlvmState.cpp25 LLVMState::LLVMState(const std::string &Triple, const std::string &CpuName, in LLVMState() argument
33 Triple, CpuName, Features, Options, Reloc::Model::Static))); in LLVMState()
40 PfmCounters = &TheExegesisTarget->getPfmCounters(CpuName); in LLVMState()
50 LLVMState::LLVMState(const std::string &CpuName) in LLVMState() argument
52 CpuName.empty() ? sys::getHostCPUName().str() : CpuName, "") {} in LLVMState()
H A DTarget.cpp126 const PfmCountersInfo &ExegesisTarget::getPfmCounters(StringRef CpuName) const { in getPfmCounters()
130 return strcmp(LHS.CpuName, RHS.CpuName) < 0; in getPfmCounters()
135 auto Found = llvm::lower_bound(CpuPfmCounters, CpuName); in getPfmCounters()
136 if (Found == CpuPfmCounters.end() || StringRef(Found->CpuName) != CpuName) { in getPfmCounters()
138 if (!CpuPfmCounters.empty() && CpuPfmCounters.begin()->CpuName[0] == '\0') { in getPfmCounters()
H A DTarget.h60 const char *CpuName; member
62 bool operator<(StringRef S) const { return StringRef(CpuName) < S; }
173 const PfmCountersInfo &getPfmCounters(StringRef CpuName) const;
H A DLlvmState.h39 LLVMState(const std::string &CpuName);
42 const std::string &CpuName,
H A DAnalysis.cpp170 const std::string CpuName = in Analysis() local
171 ForceCpuName.empty() ? FirstPoint.CpuName : ForceCpuName; in Analysis()
177 Target.createMCSubtargetInfo(FirstPoint.LLVMTriple, CpuName, "")); in Analysis()
550 writeEscaped<kEscapeHtml>(OS, FirstPoint.CpuName); in run()
H A DBenchmarkResult.h64 std::string CpuName; member
H A DBenchmarkRunner.cpp141 InstrBenchmark.CpuName = std::string(State.getTargetMachine().getTargetCPU()); in runConfiguration()
H A DBenchmarkResult.cpp317 Io.mapRequired("cpu_name", Obj.CpuName); in mapping()
/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/Common/
H A DAssemblerUtils.h32 const std::string &CpuName) in MachineFunctionGeneratorBaseTest() argument
33 : TT(TT), CpuName(CpuName), in MachineFunctionGeneratorBaseTest()
68 TargetMachine *TM = TheTarget->createTargetMachine(TT, CpuName, "", Options, in createTargetMachine()
70 EXPECT_TRUE(TM) << TT << " " << CpuName; in createTargetMachine()
87 const std::string CpuName; variable
/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/Mips/
H A DBenchmarkResultTest.cpp69 ToDisk.CpuName = "cpu_name"; in TEST_F()
92 EXPECT_EQ(FromDisk.CpuName, ToDisk.CpuName); in TEST_F()
109 EXPECT_EQ(FromDisk.CpuName, ToDisk.CpuName); in TEST_F()
/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/X86/
H A DBenchmarkResultTest.cpp72 ToDisk.CpuName = "cpu_name"; in TEST()
97 EXPECT_EQ(FromDisk.CpuName, ToDisk.CpuName); in TEST()
114 EXPECT_EQ(FromDisk.CpuName, ToDisk.CpuName); in TEST()
/llvm-project-15.0.7/libc/benchmarks/
H A Dlibc-benchmark-analysis.py332 CpuName = study["Runtime"]["Host"]["CpuName"]
36 return F'{CpuName} {CpuFrequency}{Mode}\n{CpuCaches}'
H A DLibcBenchmark.cpp28 H.CpuName = llvm::sys::getHostCPUName().str(); in get()
H A DJSONTest.cpp60 Field(&HostState::CpuName, H.CpuName), in equals()
H A DJSON.cpp212 O.map("CpuName", Out.CpuName); in fromJson()
293 JOS.attribute("CpuName", HS.CpuName); in serialize()
H A DLibcBenchmark.h116 std::string CpuName; // returns a string compatible with the -march option. member
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/
H A Dllvm-exegesis.cpp180 static cl::opt<std::string> CpuName( variable
306 const LLVMState State(CpuName); in benchmarkMain()
439 TheTarget->createMCSubtargetInfo(Points[0].LLVMTriple, CpuName, "")); in analysisMain()
450 AnalysisInconsistencyEpsilon, AnalysisDisplayUnstableOpcodes, CpuName); in analysisMain()
/llvm-project-15.0.7/llvm/include/llvm/Target/
H A DTargetPfmCounters.td45 string CpuName = cpu_name;