Searched refs:bind_ty (Results 1 – 3 of 3) sorted by relevance
341 template <typename Class> struct bind_ty {344 bind_ty(Class &V) : VR(V) {}351 inline bind_ty<Register> m_Reg(Register &R) { return R; }352 inline bind_ty<MachineInstr *> m_MInstr(MachineInstr *&MI) { return MI; }353 inline bind_ty<LLT> m_Type(LLT Ty) { return Ty; }354 inline bind_ty<CmpInst::Predicate> m_Pred(CmpInst::Predicate &P) { return P; }358 inline bind_ty<const ConstantFP *> m_GFCst(const ConstantFP *&C) { return C; }
697 template <typename Class> struct bind_ty { struct700 bind_ty(Class *&V) : VR(V) {} in bind_ty() argument712 inline bind_ty<Value> m_Value(Value *&V) { return V; } in m_Value() argument713 inline bind_ty<const Value> m_Value(const Value *&V) { return V; } in m_Value()718 inline bind_ty<UnaryOperator> m_UnOp(UnaryOperator *&I) { return I; } in m_UnOp()725 inline bind_ty<const WithOverflowInst>731 inline bind_ty<Constant> m_Constant(Constant *&C) { return C; } in m_Constant()737 inline bind_ty<ConstantFP> m_ConstantFP(ConstantFP *&C) { return C; } in m_ConstantFP()756 inline match_combine_and<bind_ty<Constant>,1730 inline brc_match<Cond_t, bind_ty<BasicBlock>, bind_ty<BasicBlock>>[all …]
281 MaxMin_match<ICmpInst, bind_ty<Value>, bind_ty<Value>, PredT>( in matchAndReassociateMinOrMax()