Home
last modified time | relevance | path

Searched refs:BinaryOp_match (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
H A DMIPatternMatch.h238 struct BinaryOp_match {
242 BinaryOp_match(const LHS_P &LHS, const RHS_P &RHS) : L(LHS), R(RHS) {}
296 inline BinaryOp_match<LHS, RHS, TargetOpcode::G_ADD, true>
298 return BinaryOp_match<LHS, RHS, TargetOpcode::G_ADD, true>(L, R);
302 inline BinaryOp_match<LHS, RHS, TargetOpcode::G_PTR_ADD, true>
304 return BinaryOp_match<LHS, RHS, TargetOpcode::G_PTR_ADD, true>(L, R);
308 inline BinaryOp_match<LHS, RHS, TargetOpcode::G_SUB> m_GSub(const LHS &L,
310 return BinaryOp_match<LHS, RHS, TargetOpcode::G_SUB>(L, R);
314 inline BinaryOp_match<LHS, RHS, TargetOpcode::G_MUL, true>
316 return BinaryOp_match<LHS, RHS, TargetOpcode::G_MUL, true>(L, R);
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DPatternMatch.h983 struct BinaryOp_match { struct
989 BinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in BinaryOp_match() argument
1008 inline BinaryOp_match<LHS, RHS, Instruction::Add> m_Add(const LHS &L, in m_Add() argument
1010 return BinaryOp_match<LHS, RHS, Instruction::Add>(L, R); in m_Add()
1014 inline BinaryOp_match<LHS, RHS, Instruction::FAdd> m_FAdd(const LHS &L, in m_FAdd()
1016 return BinaryOp_match<LHS, RHS, Instruction::FAdd>(L, R); in m_FAdd()
1020 inline BinaryOp_match<LHS, RHS, Instruction::Sub> m_Sub(const LHS &L, in m_Sub()
1022 return BinaryOp_match<LHS, RHS, Instruction::Sub>(L, R); in m_Sub()
1026 inline BinaryOp_match<LHS, RHS, Instruction::FSub> m_FSub(const LHS &L, in m_FSub()
1028 return BinaryOp_match<LHS, RHS, Instruction::FSub>(L, R); in m_FSub()
[all …]