aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-04-24 17:18:27 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-04-24 17:18:27 +0000
commitd1ab86686876eb84692eb258b06c62beb79ad601 (patch)
tree11292b40d645974022a45e7121302dbcf11d2808 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent1018c897f69342dfc0e3386280441b03d1ccef41 (diff)
downloadllvm-d1ab86686876eb84692eb258b06c62beb79ad601.zip
llvm-d1ab86686876eb84692eb258b06c62beb79ad601.tar.gz
llvm-d1ab86686876eb84692eb258b06c62beb79ad601.tar.bz2
[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. llvm-svn: 207127
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions