summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-exegesis
Commit message (Collapse)AuthorAgeFilesLines
...
* [llvm-exegesis] Fix a warning in r332221Clement Courbet2018-05-141-16/+9
| | | | | | | | | comparison of integers of different signs: 'const unsigned long' and 'const int' [-Werror,-Wsign-compare] unittests/tools/llvm-exegesis/BenchmarkResultTest.cpp:60:5: note: in instantiation of function template specialization 'testing::internal::EqHelper<false>::Compare<unsigned long, int>' requested here ASSERT_EQ(FromDiskVector.size(), 1); llvm-svn: 332230
* [llvm-exegesis] Add an analysis mode.Clement Courbet2018-05-146-40/+190
| | | | | | | The analysis mode gives the user a clustered view of the measurement results and highlights any inconsistencies with the checked-in data. llvm-svn: 332229
* [llvm-exegesis] Allow lists of BenchmarkResults to be parsed as ↵Clement Courbet2018-05-142-3/+20
| | | | | | std::vector<BenchmarkResult>. llvm-svn: 332221
* Re-land r331622 "[llvm-exegesis] Add a library to cluster benchmark results."Clement Courbet2018-05-073-0/+274
| | | | | | Add missing move. llvm-svn: 331624
* Revert r331622 "[llvm-exegesis] Add a library to cluster benchmark results."Clement Courbet2018-05-073-274/+0
| | | | | | Breaks build over llvm::Error copy construction. llvm-svn: 331623
* [llvm-exegesis] Add a library to cluster benchmark results.Clement Courbet2018-05-073-0/+274
| | | | | | | | | | Reviewers: gchatelet Subscribers: mgorny, tschuett, llvm-commits Differential Revision: https://reviews.llvm.org/D46432 llvm-svn: 331622
* [llvm-exegesis] Early out if the scheduler models have no extra info.Simon Pilgrim2018-04-181-1/+4
| | | | | | We were calling getExtraProcessorInfo() without checking hasExtraProcessorInfo(), resulting in an assertion. llvm-svn: 330263
* [llvm-exegesis] Use LLVMTargetMachine pointer everywhere. NFCI.Simon Pilgrim2018-04-181-1/+1
| | | | | | Avoid calling the unique_ptr multiple times. llvm-svn: 330260
* [llvm-exegesis] Put a newline at the end of each error report.Simon Pilgrim2018-04-181-2/+2
| | | | | | Makes multiple error messages much easier to read. llvm-svn: 330258
* [llvm-exegesis] Pull out LLVMTargetMachine to simplify debugging. NFCI.Simon Pilgrim2018-04-181-1/+2
| | | | | | Has been useful while trying to get around all the error reporting issues mentioned on PR37049. llvm-svn: 330255
* [llvm-exegesis] Fix use after free.Clement Courbet2018-04-131-1/+1
| | | | | | | | | | Reviewers: gchatelet Subscribers: tschuett, llvm-commits Differential Revision: https://reviews.llvm.org/D45625 llvm-svn: 330026
* [llvm-exegesis] Add a flag to disable libpfm even if present.Clement Courbet2018-04-111-2/+1
| | | | | | | | | | | | Summary: Fixes PR37053. Reviewers: uabelho, gchatelet Subscribers: mgorny, tschuett, llvm-commits Differential Revision: https://reviews.llvm.org/D45436 llvm-svn: 329781
* [MC][TableGen] Add optional libpfm counter names for ProcResUnits.Clement Courbet2018-04-102-47/+15
| | | | | | | | | | | | | | | | Summary: Subtargets can define the libpfm counter names that can be used to measure cycles and uops issued on ProcResUnits. This allows making llvm-exegesis available on more targets. Fixes PR36984. Reviewers: gchatelet, RKSimon, andreadb, craig.topper Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D45360 llvm-svn: 329675
* [llvm-exegesis] Fix unused return value warning and add a useful error ↵Simon Pilgrim2018-04-071-1/+3
| | | | | | message for event counter reads. llvm-svn: 329496
* [llvm-exegesis] Suppress a warning.Clement Courbet2018-04-051-1/+2
| | | | llvm-svn: 329257
* [llvm-exegesis] Add missing link libraries.Clement Courbet2018-04-041-0/+3
| | | | llvm-svn: 329185
* [llvm-exegesis] Do not initialize FileDescriptor when libpfm is notClement Courbet2018-04-041-1/+1
| | | | | | available. llvm-svn: 329177
* [llvm-exegesis] Fix compilation on lld-x86_64-darwin13Clement Courbet2018-04-041-1/+1
| | | | | | | YAMLTraits does not know how to serialize `size_t` portably. Use `int` instead. llvm-svn: 329176
* [llvm-exegesis][NFC] Fix compilation warning.Clement Courbet2018-04-041-1/+4
| | | | llvm-svn: 329175
* [llvm-exegesis][NFC] Fix a few warnings.Clement Courbet2018-04-042-1/+4
| | | | llvm-svn: 329174
* [llvm-exegesis] Fix compilation on some clang versions.Clement Courbet2018-04-041-1/+1
| | | | | | default initialization of an object of const type 'const llvm::DebugLoc' requires a user-provided default constructor. llvm-svn: 329171
* Re-land r329156 "Add llvm-exegesis tool."Clement Courbet2018-04-0425-0/+2304
| | | | | | Fixed to depend on and initialize the native target instead of X86. llvm-svn: 329169
* Revert r329156 "Add llvm-exegesis tool."Clement Courbet2018-04-0425-2307/+0
| | | | | | Breaks a bunch of bots. llvm-svn: 329157
* Add llvm-exegesis tool.Clement Courbet2018-04-0425-0/+2307
Summary: [llvm-exegesis][RFC] Automatic Measurement of Instruction Latency/Uops This is the code corresponding to the RFC "llvm-exegesis Automatic Measurement of Instruction Latency/Uops". The RFC is available on the LLVM mailing lists as well as the following document for easier reading: https://docs.google.com/document/d/1QidaJMJUyQdRrFKD66vE1_N55whe0coQ3h1GpFzz27M/edit?usp=sharing Subscribers: mgorny, gchatelet, orwant, llvm-commits Differential Revision: https://reviews.llvm.org/D44519 llvm-svn: 329156
OpenPOWER on IntegriCloud