llvm::PatternMatch::BinaryOp_match::match

match overloads

Synopses

Declared in <llvm/IR/PatternMatch.h>

Match V as a BinaryOperator with the template Opcode.

template<typename OpTy>
bool
match(OpTy* V) const;
» more...

Match V if its opcode is Opc and operands match L and R.

template<typename OpTy>
bool
match(
    unsigned int Opc,
    OpTy* V) const;
» more...

Return Value

True if the match succeeds.

Parameters

NameDescription
VValue to match.
OpcInstruction opcode to require.