Lines Matching refs:op

1269   return [base, left, right](const Instruction::Operand &op) -> bool {  in MatchBinaryOp()  argument
1270 return (base(op) && op.m_children.size() == 2 && in MatchBinaryOp()
1271 ((left(op.m_children[0]) && right(op.m_children[1])) || in MatchBinaryOp()
1272 (left(op.m_children[1]) && right(op.m_children[0])))); in MatchBinaryOp()
1280 return [base, child](const Instruction::Operand &op) -> bool { in MatchUnaryOp() argument
1281 return (base(op) && op.m_children.size() == 1 && child(op.m_children[0])); in MatchUnaryOp()
1287 return [&info](const Instruction::Operand &op) { in MatchRegOp() argument
1288 return (op.m_type == Instruction::Operand::Type::Register && in MatchRegOp()
1289 (op.m_register == ConstString(info.name) || in MatchRegOp()
1290 op.m_register == ConstString(info.alt_name))); in MatchRegOp()
1296 return [&reg](const Instruction::Operand &op) { in FetchRegOp() argument
1297 if (op.m_type != Instruction::Operand::Type::Register) { in FetchRegOp()
1300 reg = op.m_register; in FetchRegOp()
1307 return [imm](const Instruction::Operand &op) { in MatchImmOp() argument
1308 return (op.m_type == Instruction::Operand::Type::Immediate && in MatchImmOp()
1309 ((op.m_negative && op.m_immediate == (uint64_t)-imm) || in MatchImmOp()
1310 (!op.m_negative && op.m_immediate == (uint64_t)imm))); in MatchImmOp()
1316 return [&imm](const Instruction::Operand &op) { in FetchImmOp() argument
1317 if (op.m_type != Instruction::Operand::Type::Immediate) { in FetchImmOp()
1320 if (op.m_negative) { in FetchImmOp()
1321 imm = -((int64_t)op.m_immediate); in FetchImmOp()
1323 imm = ((int64_t)op.m_immediate); in FetchImmOp()
1331 return [type](const Instruction::Operand &op) { return op.m_type == type; }; in MatchOpType() argument