Searched refs:bind_ty (Results 1 – 3 of 3) sorted by relevance
216 template <typename Class> struct bind_ty {219 bind_ty(Class &V) : VR(V) {}226 inline bind_ty<Register> m_Reg(Register &R) { return R; }227 inline bind_ty<MachineInstr *> m_MInstr(MachineInstr *&MI) { return MI; }228 inline bind_ty<LLT> m_Type(LLT Ty) { return Ty; }229 inline bind_ty<CmpInst::Predicate> m_Pred(CmpInst::Predicate &P) { return P; }233 inline bind_ty<const ConstantFP *> m_GFCst(const ConstantFP *&C) { return C; }
729 template <typename Class> struct bind_ty { struct732 bind_ty(Class *&V) : VR(V) {} in bind_ty() function744 inline bind_ty<Value> m_Value(Value *&V) { return V; } in m_Value() argument745 inline bind_ty<const Value> m_Value(const Value *&V) { return V; } in m_Value()748 inline bind_ty<Instruction> m_Instruction(Instruction *&I) { return I; } in m_Instruction()750 inline bind_ty<UnaryOperator> m_UnOp(UnaryOperator *&I) { return I; } in m_UnOp()752 inline bind_ty<BinaryOperator> m_BinOp(BinaryOperator *&I) { return I; } in m_BinOp()754 inline bind_ty<WithOverflowInst> m_WithOverflowInst(WithOverflowInst *&I) { return I; } in m_WithOverflowInst()755 inline bind_ty<const WithOverflowInst>761 inline bind_ty<Constant> m_Constant(Constant *&C) { return C; } in m_Constant()[all …]
281 MaxMin_match<ICmpInst, bind_ty<Value>, bind_ty<Value>, PredT>( in matchAndReassociateMinOrMax()