Home | History | Annotate | Download | only in IR

Lines Matching refs:BinaryOp_match

445 struct BinaryOp_match {
449 BinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {}
464 inline BinaryOp_match<LHS, RHS, Instruction::Add> m_Add(const LHS &L,
466 return BinaryOp_match<LHS, RHS, Instruction::Add>(L, R);
470 inline BinaryOp_match<LHS, RHS, Instruction::FAdd> m_FAdd(const LHS &L,
472 return BinaryOp_match<LHS, RHS, Instruction::FAdd>(L, R);
476 inline BinaryOp_match<LHS, RHS, Instruction::Sub> m_Sub(const LHS &L,
478 return BinaryOp_match<LHS, RHS, Instruction::Sub>(L, R);
482 inline BinaryOp_match<LHS, RHS, Instruction::FSub> m_FSub(const LHS &L,
484 return BinaryOp_match<LHS, RHS, Instruction::FSub>(L, R);
488 inline BinaryOp_match<LHS, RHS, Instruction::Mul> m_Mul(const LHS &L,
490 return BinaryOp_match<LHS, RHS, Instruction::Mul>(L, R);
494 inline BinaryOp_match<LHS, RHS, Instruction::FMul> m_FMul(const LHS &L,
496 return BinaryOp_match<LHS, RHS, Instruction::FMul>(L, R);
500 inline BinaryOp_match<LHS, RHS, Instruction::UDiv> m_UDiv(const LHS &L,
502 return BinaryOp_match<LHS, RHS, Instruction::UDiv>(L, R);
506 inline BinaryOp_match<LHS, RHS, Instruction::SDiv> m_SDiv(const LHS &L,
508 return BinaryOp_match<LHS, RHS, Instruction::SDiv>(L, R);
512 inline BinaryOp_match<LHS, RHS, Instruction::FDiv> m_FDiv(const LHS &L,
514 return BinaryOp_match<LHS, RHS, Instruction::FDiv>(L, R);
518 inline BinaryOp_match<LHS, RHS, Instruction::URem> m_URem(const LHS &L,
520 return BinaryOp_match<LHS, RHS, Instruction::URem>(L, R);
524 inline BinaryOp_match<LHS, RHS, Instruction::SRem> m_SRem(const LHS &L,
526 return BinaryOp_match<LHS, RHS, Instruction::SRem>(L, R);
530 inline BinaryOp_match<LHS, RHS, Instruction::FRem> m_FRem(const LHS &L,
532 return BinaryOp_match<LHS, RHS, Instruction::FRem>(L, R);
536 inline BinaryOp_match<LHS, RHS, Instruction::And> m_And(const LHS &L,
538 return BinaryOp_match<LHS, RHS, Instruction::And>(L, R);
542 inline BinaryOp_match<LHS, RHS, Instruction::Or> m_Or(const LHS &L,
544 return BinaryOp_match<LHS, RHS, Instruction::Or>(L, R);
548 inline BinaryOp_match<LHS, RHS, Instruction::Xor> m_Xor(const LHS &L,
550 return BinaryOp_match<LHS, RHS, Instruction::Xor>(L, R);
554 inline BinaryOp_match<LHS, RHS, Instruction::Shl> m_Shl(const LHS &L,
556 return BinaryOp_match<LHS, RHS, Instruction::Shl>(L, R);
560 inline BinaryOp_match<LHS, RHS, Instruction::LShr> m_LShr(const LHS &L,
562 return BinaryOp_match<LHS, RHS, Instruction::LShr>(L, R);
566 inline BinaryOp_match<LHS, RHS, Instruction::AShr> m_AShr(const LHS &L,
568 return BinaryOp_match<LHS, RHS, Instruction::AShr>(L, R);
1397 inline match_combine_or<BinaryOp_match<LHS, RHS, Instruction::Add>,
1398 BinaryOp_match<RHS, LHS, Instruction::Add>>
1405 inline match_combine_or<BinaryOp_match<LHS, RHS, Instruction::Mul>,
1406 BinaryOp_match<RHS, LHS, Instruction::Mul>>
1413 inline match_combine_or<BinaryOp_match<LHS, RHS, Instruction::And>,
1414 BinaryOp_match<RHS, LHS, Instruction::And>>
1421 inline match_combine_or<BinaryOp_match<LHS, RHS, Instruction::Or>,
1422 BinaryOp_match<RHS, LHS, Instruction::Or>>
1429 inline match_combine_or<BinaryOp_match<LHS, RHS, Instruction::Xor>,
1430 BinaryOp_match<RHS, LHS, Instruction::Xor>>