diff options
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/IR/PatternMatch.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/include/llvm/IR/PatternMatch.h b/llvm/include/llvm/IR/PatternMatch.h index c9597c19aa0..4963997a773 100644 --- a/llvm/include/llvm/IR/PatternMatch.h +++ b/llvm/include/llvm/IR/PatternMatch.h @@ -68,10 +68,6 @@ struct class_match { /// m_Value() - Match an arbitrary value and ignore it. inline class_match<Value> m_Value() { return class_match<Value>(); } -/// m_Instruction() - Match an arbitrary instruction and ignore it. -inline class_match<Instruction> m_Instruction() { - return class_match<Instruction>(); -} /// m_BinOp() - Match an arbitrary binary operation and ignore it. inline class_match<BinaryOperator> m_BinOp() { return class_match<BinaryOperator>(); @@ -311,9 +307,6 @@ struct bind_ty { /// m_Value - Match a value, capturing it if we match. inline bind_ty<Value> m_Value(Value *&V) { return V; } -/// m_Instruction - Match a instruction, capturing it if we match. -inline bind_ty<Instruction> m_Instruction(Instruction *&I) { return I; } - /// m_BinOp - Match a instruction, capturing it if we match. inline bind_ty<BinaryOperator> m_BinOp(BinaryOperator *&I) { return I; } |

