Searched refs:bind_ty (Results 1 – 4 of 4) sorted by relevance
359 template <typename Class> struct bind_ty {362 bind_ty(Class &V) : VR(V) {}369 inline bind_ty<Register> m_Reg(Register &R) { return R; }370 inline bind_ty<MachineInstr *> m_MInstr(MachineInstr *&MI) { return MI; }371 inline bind_ty<LLT> m_Type(LLT Ty) { return Ty; }372 inline bind_ty<CmpInst::Predicate> m_Pred(CmpInst::Predicate &P) { return P; }387 inline bind_ty<const ConstantFP *> m_GFCst(const ConstantFP *&C) { return C; }
39 template <typename Class> struct bind_ty { struct42 bind_ty(Class *&V) : VR(V) {} in bind_ty() argument107 inline bind_ty<VPValue> m_VPValue(VPValue *&V) { return V; } in m_VPValue()
797 template <typename Class> struct bind_ty { struct800 bind_ty(Class *&V) : VR(V) {} in bind_ty() argument812 inline bind_ty<Value> m_Value(Value *&V) { return V; } in m_Value() argument813 inline bind_ty<const Value> m_Value(const Value *&V) { return V; } in m_Value()816 inline bind_ty<Instruction> m_Instruction(Instruction *&I) { return I; } in m_Instruction()818 inline bind_ty<UnaryOperator> m_UnOp(UnaryOperator *&I) { return I; } in m_UnOp()820 inline bind_ty<BinaryOperator> m_BinOp(BinaryOperator *&I) { return I; } in m_BinOp()822 inline bind_ty<WithOverflowInst> m_WithOverflowInst(WithOverflowInst *&I) { in m_WithOverflowInst()825 inline bind_ty<const WithOverflowInst>831 inline bind_ty<UndefValue> m_UndefValue(UndefValue *&U) { return U; } in m_UndefValue()[all …]
281 MaxMin_match<ICmpInst, bind_ty<Value>, bind_ty<Value>, PredT>( in matchAndReassociateMinOrMax()