LLVM API Documentation

llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, ConcreteTy > Struct Template Reference

#include <PatternMatch.h>

Collaboration diagram for llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, ConcreteTy >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BinaryOp_match (const LHS_t &LHS, const RHS_t &RHS)
template<typename OpTy>
bool match (OpTy *V)

Public Attributes

LHS_t L
RHS_t R

Detailed Description

template<typename LHS_t, typename RHS_t, unsigned Opcode, typename ConcreteTy = BinaryOperator>
struct llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, ConcreteTy >

Definition at line 76 of file PatternMatch.h.


Constructor & Destructor Documentation

template<typename LHS_t, typename RHS_t, unsigned Opcode, typename ConcreteTy = BinaryOperator>
llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, ConcreteTy >::BinaryOp_match ( const LHS_t &  LHS,
const RHS_t &  RHS 
) [inline]

Definition at line 80 of file PatternMatch.h.


Member Function Documentation

template<typename LHS_t, typename RHS_t, unsigned Opcode, typename ConcreteTy = BinaryOperator>
template<typename OpTy>
bool llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, ConcreteTy >::match ( OpTy *  V  )  [inline]

Definition at line 83 of file PatternMatch.h.

References llvm::Value::InstructionVal, llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, ConcreteTy >::L, and llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, ConcreteTy >::R.


Member Data Documentation

template<typename LHS_t, typename RHS_t, unsigned Opcode, typename ConcreteTy = BinaryOperator>
LHS_t llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, ConcreteTy >::L

Definition at line 77 of file PatternMatch.h.

Referenced by llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, ConcreteTy >::match().

template<typename LHS_t, typename RHS_t, unsigned Opcode, typename ConcreteTy = BinaryOperator>
RHS_t llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, ConcreteTy >::R

Definition at line 78 of file PatternMatch.h.

Referenced by llvm::PatternMatch::BinaryOp_match< LHS_t, RHS_t, Opcode, ConcreteTy >::match().


The documentation for this struct was generated from the following file: