Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPatternMatch.h271 struct BinaryOp_match { struct
275 BinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in BinaryOp_match() argument
291 inline BinaryOp_match<LHS, RHS, Instruction::Add> argument
293 return BinaryOp_match<LHS, RHS, Instruction::Add>(L, R); in m_Add()
297 inline BinaryOp_match<LHS, RHS, Instruction::FAdd>
299 return BinaryOp_match<LHS, RHS, Instruction::FAdd>(L, R); in m_FAdd()
303 inline BinaryOp_match<LHS, RHS, Instruction::Sub>
305 return BinaryOp_match<LHS, RHS, Instruction::Sub>(L, R); in m_Sub()
309 inline BinaryOp_match<LHS, RHS, Instruction::FSub>
311 return BinaryOp_match<LHS, RHS, Instruction::FSub>(L, R); in m_FSub()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DMIPatternMatch.h175 struct BinaryOp_match {
179 BinaryOp_match(const LHS_P &LHS, const RHS_P &RHS) : L(LHS), R(RHS) {}
195 inline BinaryOp_match<LHS, RHS, TargetOpcode::G_ADD, true>
197 return BinaryOp_match<LHS, RHS, TargetOpcode::G_ADD, true>(L, R);
201 inline BinaryOp_match<LHS, RHS, TargetOpcode::G_SUB> m_GSub(const LHS &L,
203 return BinaryOp_match<LHS, RHS, TargetOpcode::G_SUB>(L, R);
207 inline BinaryOp_match<LHS, RHS, TargetOpcode::G_MUL, true>
209 return BinaryOp_match<LHS, RHS, TargetOpcode::G_MUL, true>(L, R);
213 inline BinaryOp_match<LHS, RHS, TargetOpcode::G_FADD, true>
215 return BinaryOp_match<LHS, RHS, TargetOpcode::G_FADD, true>(L, R);
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DPatternMatch.h614 struct BinaryOp_match { struct
620 BinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in BinaryOp_match() argument
639 inline BinaryOp_match<LHS, RHS, Instruction::Add> m_Add(const LHS &L, in m_Add() argument
641 return BinaryOp_match<LHS, RHS, Instruction::Add>(L, R); in m_Add()
645 inline BinaryOp_match<LHS, RHS, Instruction::FAdd> m_FAdd(const LHS &L, in m_FAdd()
647 return BinaryOp_match<LHS, RHS, Instruction::FAdd>(L, R); in m_FAdd()
651 inline BinaryOp_match<LHS, RHS, Instruction::Sub> m_Sub(const LHS &L, in m_Sub()
653 return BinaryOp_match<LHS, RHS, Instruction::Sub>(L, R); in m_Sub()
657 inline BinaryOp_match<LHS, RHS, Instruction::FSub> m_FSub(const LHS &L, in m_FSub()
659 return BinaryOp_match<LHS, RHS, Instruction::FSub>(L, R); in m_FSub()
[all …]
/external/llvm/include/llvm/IR/
DPatternMatch.h415 struct BinaryOp_match { struct
419 BinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {} in BinaryOp_match() function
434 inline BinaryOp_match<LHS, RHS, Instruction::Add> m_Add(const LHS &L, in m_Add() argument
436 return BinaryOp_match<LHS, RHS, Instruction::Add>(L, R); in m_Add()
440 inline BinaryOp_match<LHS, RHS, Instruction::FAdd> m_FAdd(const LHS &L, in m_FAdd()
442 return BinaryOp_match<LHS, RHS, Instruction::FAdd>(L, R); in m_FAdd()
446 inline BinaryOp_match<LHS, RHS, Instruction::Sub> m_Sub(const LHS &L, in m_Sub()
448 return BinaryOp_match<LHS, RHS, Instruction::Sub>(L, R); in m_Sub()
452 inline BinaryOp_match<LHS, RHS, Instruction::FSub> m_FSub(const LHS &L, in m_FSub()
454 return BinaryOp_match<LHS, RHS, Instruction::FSub>(L, R); in m_FSub()
[all …]