aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorMichael Ilseman <milseman@apple.com>2012-12-13 03:13:36 +0000
committerMichael Ilseman <milseman@apple.com>2012-12-13 03:13:36 +0000
commit536cc32ba051fbadeb0f6929b0270427330e4152 (patch)
treee3cfe19955fb92f1ca1f9084ec394c280eda678c /llvm/tools/llvm-objdump/llvm-objdump.cpp
parentcf6d6317cc59d8d6cac9b600a265d06d5a513885 (diff)
downloadllvm-536cc32ba051fbadeb0f6929b0270427330e4152.zip
llvm-536cc32ba051fbadeb0f6929b0270427330e4152.tar.gz
llvm-536cc32ba051fbadeb0f6929b0270427330e4152.tar.bz2
Pattern matching code for intrinsics.
Provides m_Argument that allows matching against a CallSite's specified argument. Provides m_Intrinsic pattern that can be templatized over the intrinsic id and bind/match arguments similarly to other pattern matchers. Implementations provided for 0 to 4 arguments, though it's very simple to extend for more. Also provides example template specialization for bswap (m_BSwap) and example of code cleanup for its use. llvm-svn: 170091
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions