| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/ |
| H A D | LlvmState.cpp | 25 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 D | Target.cpp | 126 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 D | Target.h | 60 const char *CpuName; member 62 bool operator<(StringRef S) const { return StringRef(CpuName) < S; } 173 const PfmCountersInfo &getPfmCounters(StringRef CpuName) const;
|
| H A D | LlvmState.h | 39 LLVMState(const std::string &CpuName); 42 const std::string &CpuName,
|
| H A D | Analysis.cpp | 170 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 D | BenchmarkResult.h | 64 std::string CpuName; member
|
| H A D | BenchmarkRunner.cpp | 141 InstrBenchmark.CpuName = std::string(State.getTargetMachine().getTargetCPU()); in runConfiguration()
|
| H A D | BenchmarkResult.cpp | 317 Io.mapRequired("cpu_name", Obj.CpuName); in mapping()
|
| /llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/Common/ |
| H A D | AssemblerUtils.h | 32 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 D | BenchmarkResultTest.cpp | 69 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 D | BenchmarkResultTest.cpp | 72 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 D | libc-benchmark-analysis.py3 | 32 CpuName = study["Runtime"]["Host"]["CpuName"] 36 return F'{CpuName} {CpuFrequency}{Mode}\n{CpuCaches}'
|
| H A D | LibcBenchmark.cpp | 28 H.CpuName = llvm::sys::getHostCPUName().str(); in get()
|
| H A D | JSONTest.cpp | 60 Field(&HostState::CpuName, H.CpuName), in equals()
|
| H A D | JSON.cpp | 212 O.map("CpuName", Out.CpuName); in fromJson() 293 JOS.attribute("CpuName", HS.CpuName); in serialize()
|
| H A D | LibcBenchmark.h | 116 std::string CpuName; // returns a string compatible with the -march option. member
|
| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/ |
| H A D | llvm-exegesis.cpp | 180 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 D | TargetPfmCounters.td | 45 string CpuName = cpu_name;
|