diff options
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2014-04-24 17:18:27 +0000 |
---|---|---|
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2014-04-24 17:18:27 +0000 |
commit | 35f9e1aa4990a20245cb7c39eb01f9feffc97853 (patch) | |
tree | 12f8866fbe3cf355e19b2bce470cf22a4c9a33ea /lib/CodeGen/LiveDebugVariables.cpp | |
parent | 2dbbd173946632d950715001330070d656858642 (diff) | |
download | llvm-35f9e1aa4990a20245cb7c39eb01f9feffc97853.tar.gz llvm-35f9e1aa4990a20245cb7c39eb01f9feffc97853.tar.bz2 llvm-35f9e1aa4990a20245cb7c39eb01f9feffc97853.tar.xz |
[X86] Add support for Read Time Stamp Counter x86 builtin intrinsics.
This patch:
- Adds two new X86 builtin intrinsics ('int_x86_rdtsc' and
'int_x86_rdtscp') as GCCBuiltin intrinsics;
- Teaches the backend how to lower the two new builtins;
- Introduces a common function to lower READCYCLECOUNTER dag nodes
and the two new rdtsc/rdtscp intrinsics;
- Improves (and extends) the existing x86 test 'rdtsc.ll'; now test 'rdtsc.ll'
correctly verifies that both READCYCLECOUNTER and the two new intrinsics
work fine for both 64bit and 32bit Subtargets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207127 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions