Searched refs:bind_ty (Results 1 – 2 of 2) sorted by relevance
153 template <typename Class> struct bind_ty {156 bind_ty(Class &V) : VR(V) {}163 inline bind_ty<Register> m_Reg(Register &R) { return R; }164 inline bind_ty<MachineInstr *> m_MInstr(MachineInstr *&MI) { return MI; }165 inline bind_ty<LLT> m_Type(LLT &Ty) { return Ty; }168 inline bind_ty<const ConstantFP *> m_GFCst(const ConstantFP *&C) { return C; }
562 template <typename Class> struct bind_ty { struct565 bind_ty(Class *&V) : VR(V) {} in bind_ty() argument577 inline bind_ty<Value> m_Value(Value *&V) { return V; } in m_Value() argument578 inline bind_ty<const Value> m_Value(const Value *&V) { return V; } in m_Value()581 inline bind_ty<Instruction> m_Instruction(Instruction *&I) { return I; } in m_Instruction()583 inline bind_ty<BinaryOperator> m_BinOp(BinaryOperator *&I) { return I; } in m_BinOp()585 inline bind_ty<WithOverflowInst> m_WithOverflowInst(WithOverflowInst *&I) { return I; } in m_WithOverflowInst()588 inline bind_ty<ConstantInt> m_ConstantInt(ConstantInt *&CI) { return CI; } in m_ConstantInt()591 inline bind_ty<Constant> m_Constant(Constant *&C) { return C; } in m_Constant()594 inline bind_ty<ConstantFP> m_ConstantFP(ConstantFP *&C) { return C; } in m_ConstantFP()[all …]