Lines Matching refs:Operand

1232 std::pair<const Instruction::Operand *, int64_t>
1233 GetBaseExplainingValue(const Instruction::Operand &operand, in GetBaseExplainingValue()
1236 case Instruction::Operand::Type::Dereference: in GetBaseExplainingValue()
1237 case Instruction::Operand::Type::Immediate: in GetBaseExplainingValue()
1238 case Instruction::Operand::Type::Invalid: in GetBaseExplainingValue()
1239 case Instruction::Operand::Type::Product: in GetBaseExplainingValue()
1242 case Instruction::Operand::Type::Sum: { in GetBaseExplainingValue()
1243 const Instruction::Operand *immediate_child = nullptr; in GetBaseExplainingValue()
1244 const Instruction::Operand *variable_child = nullptr; in GetBaseExplainingValue()
1245 if (operand.m_children[0].m_type == Instruction::Operand::Type::Immediate) { in GetBaseExplainingValue()
1249 Instruction::Operand::Type::Immediate) { in GetBaseExplainingValue()
1262 std::pair<const Instruction::Operand *, int64_t> base_and_offset = in GetBaseExplainingValue()
1275 case Instruction::Operand::Type::Register: { in GetBaseExplainingValue()
1295 std::pair<const Instruction::Operand *, int64_t>
1296 GetBaseExplainingDereference(const Instruction::Operand &operand, in GetBaseExplainingDereference()
1299 if (operand.m_type == Instruction::Operand::Type::Dereference) { in GetBaseExplainingDereference()
1331 llvm::SmallVector<Instruction::Operand, 3> operands; in GuessValueForAddress()
1343 for (const Instruction::Operand &operand : operands) { in GuessValueForAddress()
1344 std::pair<const Instruction::Operand *, int64_t> base_and_offset = in GuessValueForAddress()
1352 case Instruction::Operand::Type::Immediate: { in GuessValueForAddress()
1377 case Instruction::Operand::Type::Register: { in GuessValueForAddress()
1514 Instruction::Operand op = in DoGuessValueAt()
1515 offset ? Instruction::Operand::BuildDereference( in DoGuessValueAt()
1516 Instruction::Operand::BuildSum( in DoGuessValueAt()
1517 Instruction::Operand::BuildRegister(reg), in DoGuessValueAt()
1518 Instruction::Operand::BuildImmediate(offset))) in DoGuessValueAt()
1519 : Instruction::Operand::BuildDereference( in DoGuessValueAt()
1520 Instruction::Operand::BuildRegister(reg)); in DoGuessValueAt()
1561 if (!MatchUnaryOp(MatchOpType(Instruction::Operand::Type::Dereference), in DoGuessValueAt()
1564 MatchOpType(Instruction::Operand::Type::Dereference), in DoGuessValueAt()
1565 MatchBinaryOp(MatchOpType(Instruction::Operand::Type::Sum), in DoGuessValueAt()
1571 llvm::SmallVector<Instruction::Operand, 1> operands; in DoGuessValueAt()
1579 case Instruction::Operand::Type::Immediate: { in DoGuessValueAt()
1614 llvm::SmallVector<Instruction::Operand, 2> operands; in DoGuessValueAt()
1619 Instruction::Operand *origin_operand = nullptr; in DoGuessValueAt()
1620 auto clobbered_reg_matcher = [reg_info](const Instruction::Operand &op) { in DoGuessValueAt()
1643 MatchOpType(Instruction::Operand::Type::Dereference), in DoGuessValueAt()
1646 MatchOpType(Instruction::Operand::Type::Dereference), in DoGuessValueAt()
1647 MatchBinaryOp(MatchOpType(Instruction::Operand::Type::Sum), in DoGuessValueAt()