Searched refs:bind_ty (Results 1 – 4 of 4) sorted by relevance
155 template <typename Class> struct bind_ty {158 bind_ty(Class &V) : VR(V) {}165 inline bind_ty<unsigned> m_Reg(unsigned &R) { return R; }166 inline bind_ty<MachineInstr *> m_MInstr(MachineInstr *&MI) { return MI; }167 inline bind_ty<LLT> m_Type(LLT &Ty) { return Ty; }170 inline bind_ty<const ConstantFP *> m_GFCst(const ConstantFP *&C) { return C; }
210 struct bind_ty { struct212 bind_ty(Class *&V) : VR(V) {} in bind_ty() argument225 inline bind_ty<Value> m_Value(Value *&V) { return V; } in m_Value() argument228 inline bind_ty<ConstantInt> m_ConstantInt(ConstantInt *&CI) { return CI; } in m_ConstantInt()231 inline bind_ty<Constant> m_Constant(Constant *&C) { return C; } in m_Constant()
282 template <typename Class> struct bind_ty { struct284 bind_ty(Class *&V) : VR(V) {} in bind_ty() function296 inline bind_ty<Value> m_Value(Value *&V) { return V; } in m_Value() argument299 inline bind_ty<Instruction> m_Instruction(Instruction *&I) { return I; } in m_Instruction()302 inline bind_ty<BinaryOperator> m_BinOp(BinaryOperator *&I) { return I; } in m_BinOp()305 inline bind_ty<ConstantInt> m_ConstantInt(ConstantInt *&CI) { return CI; } in m_ConstantInt()308 inline bind_ty<Constant> m_Constant(Constant *&C) { return C; } in m_Constant()311 inline bind_ty<ConstantFP> m_ConstantFP(ConstantFP *&C) { return C; } in m_ConstantFP()
457 template <typename Class> struct bind_ty { struct460 bind_ty(Class *&V) : VR(V) {} in bind_ty() function472 inline bind_ty<Value> m_Value(Value *&V) { return V; } in m_Value() argument473 inline bind_ty<const Value> m_Value(const Value *&V) { return V; } in m_Value()476 inline bind_ty<Instruction> m_Instruction(Instruction *&I) { return I; } in m_Instruction()478 inline bind_ty<BinaryOperator> m_BinOp(BinaryOperator *&I) { return I; } in m_BinOp()481 inline bind_ty<ConstantInt> m_ConstantInt(ConstantInt *&CI) { return CI; } in m_ConstantInt()484 inline bind_ty<Constant> m_Constant(Constant *&C) { return C; } in m_Constant()487 inline bind_ty<ConstantFP> m_ConstantFP(ConstantFP *&C) { return C; } in m_ConstantFP()