Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
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; }
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPatternMatch.h210 struct bind_ty { struct
212 bind_ty(Class *&V) : VR(V) {} in bind_ty() argument
225 inline bind_ty<Value> m_Value(Value *&V) { return V; } in m_Value() argument
228 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()
/external/llvm/include/llvm/IR/
DPatternMatch.h282 template <typename Class> struct bind_ty { struct
284 bind_ty(Class *&V) : VR(V) {} in bind_ty() argument
296 inline bind_ty<Value> m_Value(Value *&V) { return V; } in m_Value() argument
299 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()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DPatternMatch.h457 template <typename Class> struct bind_ty { struct
460 bind_ty(Class *&V) : VR(V) {} in bind_ty() argument
472 inline bind_ty<Value> m_Value(Value *&V) { return V; } in m_Value() argument
473 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()