Get the args field from a instruction-call.
(instruction-call->args x) → args
This is an ordinary field accessor created by fty::defprod.
Function:
(defun instruction-call->args$inline (x) (declare (xargs :guard (instructionp x))) (declare (xargs :guard (equal (instruction-kind x) :call))) (let ((__function__ 'instruction-call->args)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (instruction-kind x) :call) x))) (operand-list-fix (std::da-nth 1 (cdr x)))) :exec (std::da-nth 1 (cdr x)))))
Theorem:
(defthm operand-listp-of-instruction-call->args (b* ((args (instruction-call->args$inline x))) (operand-listp args)) :rule-classes :rewrite)
Theorem:
(defthm instruction-call->args$inline-of-instruction-fix-x (equal (instruction-call->args$inline (instruction-fix x)) (instruction-call->args$inline x)))
Theorem:
(defthm instruction-call->args$inline-instruction-equiv-congruence-on-x (implies (instruction-equiv x x-equiv) (equal (instruction-call->args$inline x) (instruction-call->args$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm instruction-call->args-when-wrong-kind (implies (not (equal (instruction-kind x) :call)) (equal (instruction-call->args x) (operand-list-fix nil))))