(operand: &Operand<'tcx>)
| 493 | } |
| 494 | |
| 495 | fn process_operand(operand: &Operand<'tcx>) -> Option<AccessPattern<'tcx>> { |
| 496 | match operand { |
| 497 | Operand::Move(place) | Operand::Copy(place) => { |
| 498 | Some(AccessPattern::Direct(place.as_ref())) |
| 499 | } |
| 500 | Operand::Constant(box ConstOperand { |
| 501 | span: _, |
| 502 | user_ty: _, |
| 503 | const_, |
| 504 | }) => Some(AccessPattern::Constant(*const_)), |
| 505 | Operand::RuntimeChecks(_) => None, |
| 506 | } |
| 507 | } |
| 508 | |
| 509 | fn process_rvalue(rvalue: &Rvalue<'tcx>) -> Vec<Option<AccessPattern<'tcx>>> { |
nothing calls this directly
no outgoing calls
no test coverage detected