[PATCH] D45360: [MC][TableGen] Add optional libpfm counter names for ProcResUnits.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 6 02:54:06 PDT 2018


courbet created this revision.
courbet added reviewers: gchatelet, RKSimon, andreadb, craig.topper.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D45360

Files:
  include/llvm/MC/MCSchedule.h
  include/llvm/Target/TargetSchedule.td
  lib/Target/X86/X86SchedBroadwell.td
  lib/Target/X86/X86SchedHaswell.td
  lib/Target/X86/X86SchedSandyBridge.td
  lib/Target/X86/X86SchedSkylakeClient.td
  lib/Target/X86/X86SchedSkylakeServer.td
  tools/llvm-exegesis/lib/Latency.cpp
  tools/llvm-exegesis/lib/Uops.cpp
  utils/TableGen/SubtargetEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45360.141302.patch
Type: text/x-patch
Size: 14603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180406/4ae8d734/attachment.bin>


More information about the llvm-commits mailing list