mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
add m_BitCast for matching a bitcast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112222 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b0fa9932cc
commit
dee1da0dc3
@ -453,6 +453,13 @@ struct CastClass_match {
|
||||
}
|
||||
};
|
||||
|
||||
/// m_BitCast
|
||||
template<typename OpTy>
|
||||
inline CastClass_match<OpTy, Instruction::BitCast>
|
||||
m_BitCast(const OpTy &Op) {
|
||||
return CastClass_match<OpTy, Instruction::BitCast>(Op);
|
||||
}
|
||||
|
||||
/// m_PtrToInt
|
||||
template<typename OpTy>
|
||||
inline CastClass_match<OpTy, Instruction::PtrToInt>
|
||||
|
Loading…
Reference in New Issue
Block a user