Home
last modified time | relevance | path

Searched refs:bind_ty (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/GlobalISel/
H A DMIPatternMatch.h155 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; }
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DPatternMatch.h460 template <typename Class> struct bind_ty { struct
463 bind_ty(Class *&V) : VR(V) {} in bind_ty() argument
475 inline bind_ty<Value> m_Value(Value *&V) { return V; } in m_Value() argument
476 inline bind_ty<const Value> m_Value(const Value *&V) { return V; } in m_Value()
479 inline bind_ty<Instruction> m_Instruction(Instruction *&I) { return I; } in m_Instruction()
481 inline bind_ty<BinaryOperator> m_BinOp(BinaryOperator *&I) { return I; } in m_BinOp()
484 inline bind_ty<ConstantInt> m_ConstantInt(ConstantInt *&CI) { return CI; } in m_ConstantInt()
487 inline bind_ty<Constant> m_Constant(Constant *&C) { return C; } in m_Constant()
490 inline bind_ty<ConstantFP> m_ConstantFP(ConstantFP *&C) { return C; } in m_ConstantFP()